hacker-news-mcp
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
get_item
Get a Hacker News item by ID
get_user
Get a Hacker News user by ID
get_max_item_id
Get the current largest item ID
get_top_stories
Get top stories
get_best_stories
Get best stories
get_new_stories
Get newest stories
get_ask_stories
Get Ask HN stories
get_show_stories
Get Show HN stories
get_job_stories
Get job stories
get_story_content
Get the actual content from a story's URL
get_story_content_by_title
Get content by story title
get_story_with_comments
Get a story with its comments
find_stories_by_title
Find stories by title or keywords
get_story_by_title
Find and retrieve a story by its title or keywords with comments
get_updates
Get latest item and profile changes
search_by_date
Search for stories from approximately N days ago