hacker-news-mcp

hacker-news-mcp

3.3

If you are the rightful owner of hacker-news-mcp 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 Hacker News MCP Server is designed to integrate real-time Hacker News data into LLMs, agents, or app workflows, providing a programmable, conversational knowledge base.

The Hacker News MCP Server is a versatile tool that allows developers to seamlessly integrate real-time Hacker News data into their applications, AI agents, or chatbots. It offers a plug-and-play solution for accessing live stories, comments, and discussions from Hacker News, making it an invaluable resource for developers looking to enhance their applications with up-to-date news and community insights. The server supports multiple transport modes, including STDIO/MCP and SSE/MCP, and provides REST/OpenAPI endpoints for direct HTTP access. With built-in prompt templates for summaries, trending topics, and user analysis, the server is designed to be natural language friendly, allowing users to reference stories by title, keywords, or natural language queries. It is production-ready, featuring robust error handling, health checks, and cloud deployment support, making it suitable for both local and cloud-based applications.

Features

  • Plug-and-play integration with LLMs, agents, or chatbots.
  • Multiple transport modes: STDIO/MCP and SSE/MCP.
  • REST/OpenAPI endpoints for direct HTTP access.
  • Natural language-friendly queries for easy story retrieval.
  • Production-ready with robust error handling and health checks.

Tools

  1. get_item

    Get a Hacker News item by ID

  2. get_user

    Get a Hacker News user by ID

  3. get_max_item_id

    Get the current largest item ID

  4. get_top_stories

    Get top stories

  5. get_best_stories

    Get best stories

  6. get_new_stories

    Get newest stories

  7. get_ask_stories

    Get Ask HN stories

  8. get_show_stories

    Get Show HN stories

  9. get_job_stories

    Get job stories

  10. get_story_content

    Get the actual content from a story's URL

  11. get_story_content_by_title

    Get content by story title

  12. get_story_with_comments

    Get a story with its comments

  13. find_stories_by_title

    Find stories by title or keywords

  14. get_story_by_title

    Find and retrieve a story by its title or keywords with comments

  15. get_updates

    Get latest item and profile changes

  16. search_by_date

    Search for stories from approximately N days ago