mcp-hacker-news

mcp-hacker-news

3.5

If you are the rightful owner of mcp-hacker-news and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Hacker News server is a bridge between the Hacker News API and AI tools supporting the Model Context Protocol, enabling interaction with live Hacker News data.

The MCP Hacker News server is a TypeScript-based implementation of the Model Context Protocol (MCP) that connects AI-powered tools with the Hacker News API. This server facilitates seamless access to live data from Hacker News, including posts, comments, and user information, through standardized MCP endpoints. By integrating with tools like Claude and Cursor, it allows users to fetch and interact with Hacker News content in real-time, enhancing AI and automation workflows. The server is designed to be easily configurable and extendable, making it a valuable resource for developers and AI enthusiasts looking to leverage Hacker News data in their applications. With support for various endpoints and customizable queries, the MCP Hacker News server provides a robust solution for accessing and utilizing Hacker News data efficiently.

Features

  • Integrates with the official Hacker News API to fetch posts, comments, and user information.
  • Exposes standard Model Context Protocol endpoints for seamless integration with AI tools.
  • Fetches the latest Hacker News data for AI and automation workflows.
  • Supports customizable queries for advanced data retrieval.
  • Built with TypeScript for robust and maintainable code.

Tools

  1. getTopStories

    Fetch top stories (customizable limit)

  2. getBestStories

    Fetch best stories (customizable limit)

  3. getNewStories

    Fetch newest stories (customizable limit)

  4. getAskHNStories

    Fetch 'Ask HN' posts

  5. getShowHNStories

    Fetch 'Show HN' posts

  6. getJobStories

    Fetch job postings

  7. getItem

    Retrieve a specific item (story, comment, etc.)

  8. getUser

    Retrieve a user profile by username

  9. getComments

    Fetch comments for a specific item

  10. getMaxItemId

    Get the current maximum item ID

  11. getUpdates

    Fetch recently updated items and profiles