erithwik/mcp-hn
Free用于搜索 Hacker News、获取头条等的 MCP 服务器。
FreeFree tier
Inputs: text
About erithwik/mcp-hn
erithwik/mcp-hn is an open-source Model Context Protocol (MCP) server that provides a set of tools for fetching and interacting with Hacker News data. It enables AI assistants to retrieve top, new, Ask HN, and Show HN stories, fetch detailed story information along with associated comments, search for stories by query, and look up user profiles. The server integrates seamlessly with MCP clients like Claude Desktop, allowing users to query Hacker News using natural language prompts. Installation is available via Smithery or by manual configuration of the MCP client.
Key Features
get_stories: Fetch top, new, Ask HN, and Show HN stories from Hacker News
get_story_info: Retrieve detailed story information including associated comments
search_stories: Search for stories on Hacker News by query
get_user_info: Fetch user profile and activity summary from Hacker News
Natural language interface for querying Hacker News through MCP clients like Claude Desktop
Easy installation via Smithery or manual configuration of claude_desktop_config.json
Pros & Cons
Pros
- Provides direct access to Hacker News data through natural language via MCP
- Simple installation and integration with MCP clients like Claude Desktop
- Includes multiple useful tools: stories, story info, search, and user info
- Open-source and free to use
- Can be combined with other MCP servers for richer workflows
Cons
- Limited to reading Hacker News data (no posting, commenting, or voting)
- Requires an MCP-compatible client to use (e.g., Claude Desktop)
- Dependent on Hacker News API availability and rate limits
- No built-in filtering or sorting beyond what the tools provide
Best For
Fetching the top Hacker News stories of the dayExploring comments and discussions around a specific storySearching for stories on a particular topic (e.g., AI, careers)Checking a user's recent activity and contributions on Hacker NewsCombining with other MCP servers (e.g., puppeteer) to read articles and summarize discussions
FAQ
How do I install the Hacker News MCP Server?
You can install it automatically via Smithery using 'npx -y @smithery/cli install mcp-hn --client claude' or manually by adding the server configuration to your Claude Desktop config file (claude_desktop_config.json) with the command 'uvx mcp-hn'.
What tools does the server provide?
The server provides four tools: get_stories (fetch top, new, Ask HN, Show HN stories), get_story_info (fetch comments associated with a story), search_stories (search for stories by query), and get_user_info (fetch user info).
Can I use this server with other MCP clients besides Claude Desktop?
Yes, any MCP-compatible client can use this server. The configuration typically involves adding the server details to the client's MCP settings.