Apify

Connect AI Agents to
Apify

Automate workflows and connect AI agents to Apify. Metorial is built for developers. Handling OAuth, compliance, observability, and more.

Back to Apify overview

Retrieving Top Stories and Story Feeds

Understanding Story Feeds

The Hacker News MCP Server provides access to multiple story feeds that reflect different aspects of community activity. Each feed serves a specific purpose and helps you discover content based on different criteria.

Top Stories represent submissions that have risen to prominence through community voting. These are the stories currently featured on Hacker News' front page, having earned their position through a combination of upvotes, comment activity, and recency. When you retrieve top stories, you're seeing what the community collectively considers most noteworthy at this moment.

New Stories show the latest submissions as they arrive on the platform, regardless of their vote count or comment activity. This feed is ideal for catching breaking news or discovering content before it gains widespread attention. It's particularly useful for monitoring specific topics or staying ahead of trending discussions.

Best Stories highlight submissions that have demonstrated sustained value and engagement. This feed applies Hacker News' ranking algorithm to identify stories with the strongest combination of votes, discussion quality, and lasting interest.

How to Retrieve Stories

Accessing story feeds through the MCP server is straightforward. Simply ask your AI assistant for the type of stories you're interested in. For example, you might request "Show me the current top stories on Hacker News" or "What are the latest new submissions?"

The server returns structured data for each story, including:

  • Title and URL of the submission
  • Author username
  • Current score (number of upvotes)
  • Submission timestamp
  • Number of comments
  • Unique story identifier

This information gives you everything needed to understand the story's context and relevance without manually browsing the website.

Practical Applications

Use top stories to understand what's currently capturing the tech community's attention. This is valuable for staying informed about industry developments, identifying trending topics, or discovering high-quality content that's been vetted through community engagement.

Monitor new stories when you need real-time awareness of emerging topics or want to track submissions related to specific technologies, companies, or subjects before they become widely discussed.

Access best stories to find consistently valuable content that represents the highest quality discussions and submissions, making this feed excellent for research or content curation.

Working with Story Data

Once you've retrieved stories, you can drill deeper by accessing their comments, examining author profiles, or tracking how specific submissions perform over time. The story identifier returned with each item allows you to request detailed information about that specific submission whenever needed.

Apify on Metorial

The Apify integration lets you run web scraping and automation actors directly from Claude, enabling you to extract data from websites, automate browser tasks, and access datasets without leaving your conversation.

Connect anything. Anywhere.

Ready to build with Metorial?

Let's take your AI-powered applications to the next level, together.

About Metorial

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.

Star us on GitHub