Automate workflows and connect AI agents to Perplexity. Metorial is built for developers. Handling OAuth, compliance, observability, and more.
When working with Hacker News content, you'll often need to retrieve specific items—whether that's a particular story, comment, or user profile. Each piece of content on Hacker News has a unique numeric identifier (ID), and the Perplexity MCP server provides straightforward methods to query these items directly.
Every item on Hacker News—stories, comments, polls, and jobs—receives a unique identifier when created. These IDs are sequential integers that you'll encounter in URLs, API responses, and community discussions. For example, a story URL like https://news.ycombinator.com/item?id=12345678
indicates that item's ID is 12345678
.
To retrieve a specific item by its ID, simply ask your AI assistant to fetch that item from Hacker News. You might phrase your request as:
The server will return comprehensive information about the item, including its type (story, comment, poll, etc.), title or text content, author, timestamp, score, and any associated metadata like URLs or parent items.
When querying a story, you'll receive the title, URL (if external), submission time, score, author username, and the number of comments. For comments, you'll get the comment text, author, timestamp, and references to parent items and replies. User profiles include karma scores, account creation dates, biographical information, and submission history.
Querying by ID is particularly useful when following up on specific content. If you've saved interesting discussion IDs, you can check back later to see how scores or comment counts have evolved. When someone references a particular Hacker News item in conversation or another platform, you can quickly retrieve full details without manually navigating the website.
You can also traverse comment threads by starting with a story ID, examining its comments, and then querying specific comment IDs to explore nested discussions. This enables deep-dive analysis of conversations around technical topics.
Keep track of interesting item IDs for future reference. Since IDs are permanent and items rarely disappear, they serve as reliable bookmarks to valuable content. When analyzing multiple related items, query them individually to gather complete data rather than relying on summary lists that might omit important details.
The Perplexity integration lets you search the web and access real-time information directly through AI-powered queries, enabling your assistant to retrieve current facts, news, and research without leaving the conversation.
Let's take your AI-powered applications to the next level, together.
Metorial provides developers with instant access to 600+ MCP servers for building AI agents that can interact with real-world tools and services. Built on MCP, Metorial simplifies agent tool integration by offering pre-configured connections to popular platforms like Google Drive, Slack, GitHub, Notion, and hundreds of other APIs. Our platform supports all major AI agent frameworks—including LangChain, AutoGen, CrewAI, and LangGraph—enabling developers to add tool calling capabilities to their agents in just a few lines of code. By eliminating the need for custom integration code, Metorial helps AI developers move from prototype to production faster while maintaining security and reliability. Whether you're building autonomous research agents, customer service bots, or workflow automation tools, Metorial's MCP server library provides the integrations you need to connect your agents to the real world.