Instant DB

Connect AI Agents to
Instant DB

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

Back to Instant DB overview

How to Retrieve and Browse Top Stories from Hacker News

Understanding Top Stories

Top stories on Hacker News represent the most popular and highly-voted submissions currently on the platform's front page. These articles, discussions, and links have been elevated by community voting and represent what the tech community finds most interesting or valuable at any given moment. Accessing these stories through the MCP server gives you programmatic access to trending tech news without manual browsing.

Retrieving Top Stories

To fetch the current top stories from Hacker News, simply ask your AI assistant in natural language. You might say something like "Show me the top stories from Hacker News" or "What's trending on Hacker News right now?" The server will query the Hacker News API and return a structured list of the most popular submissions.

The results typically include essential information for each story:

  • Title: The headline or name of the submission
  • URL: The link to the external article or resource (if applicable)
  • Score: The number of upvotes the story has received
  • Author: The username of the person who submitted it
  • Time: When the story was posted
  • Number of comments: How much discussion the story has generated

Browsing and Filtering Results

Once you've retrieved the top stories, you can explore them further through follow-up requests. Ask your assistant to "tell me more about the third story" or "show me the comments on the top story about artificial intelligence." The server allows you to drill down into specific submissions that interest you.

You can also request stories in different ways. Instead of just top stories, try asking for "new stories from Hacker News" to see the latest submissions, or request "best stories" for content that has demonstrated lasting value over time.

Diving Deeper into Discussions

When a particular story catches your attention, you can access its comment thread to read community perspectives and expert insights. Simply ask to see the comments for a specific story, and the server will retrieve the entire discussion thread. This is particularly valuable when you want to understand how the technical community is reacting to news, or when you're looking for expert analysis on complex topics.

Practical Tips

For the best experience, be specific about what interests you. Rather than browsing all top stories, you might ask "Show me top Hacker News stories about machine learning" or "Find recent discussions about startups." While the server retrieves raw data, your AI assistant can filter and present information based on your specific needs.

Remember that Hacker News content updates continuously, so stories and rankings change throughout the day as new submissions arrive and voting patterns evolve.

Instant DB on Metorial

The Instant DB integration lets you query and manipulate your real-time database directly through natural language, enabling you to read, write, and update data across your app's namespace and schema without leaving your development workflow.

Connect anything. Anywhere.

Ready to build with Metorial?

Connect any AI agent to 600+ apps.

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