Fetches stories from Hacker News by category (top, new, ask_hn, show_hn)
Retrieves detailed information about a specific story, including its comments
Searches for Hacker News stories matching a specific query
Fetches information about a specific Hacker News user
The Hacker News MCP provides tools to interact with Hacker News content programmatically. It allows you to fetch top stories, search for specific topics, retrieve story details including comments, and get information about Hacker News users. This MCP enables AI assistants to stay current with tech discussions, retrieve specific information from the Hacker News community, and provide summaries of trending topics in technology and startups.
To use the Hacker News MCP with Claude Desktop, you'll need to update your Claude Desktop configuration file.
Edit the configuration file at: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Edit the configuration file at: %APPDATA%/Claude/claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"mcp-hn": {
"command": "uvx",
"args": ["mcp-hn"]
}
}
}
Once installed, you can use the Hacker News MCP to interact with Hacker News content in various ways:
You can request top stories, new stories, Ask HN posts, or Show HN posts. For example:
You can request detailed information about specific stories, including comments:
You can search for stories on specific topics:
You can retrieve information about specific Hacker News users:
You can also combine the Hacker News MCP with other MCPs for more complex tasks:
The MCP will retrieve the requested information from Hacker News and present it in a structured format, making it easy to analyze tech trends, community discussions, and user activities.