Hacker News MCP Server
@devabdultech
关于 Hacker News MCP Server
Hacker News MCP Server
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"hn-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@devabdultech/hn-mcp",
"--client",
"claude"
]
}
}
}工具
12`query` (string): Search query
Search results with stories and comments
`type` (string): Type of stories to fetch ('top', 'new', 'best', 'ask', 'show', 'job')
Array of story objects
`id` (number): Story ID
Story details with nested comments
`storyId` (number): ID of the story
Hierarchical comment tree structure
`id` (string): Username
User profile details including karma, created date, and about text
`id` (string): Username
Array of user's submitted stories and comments
概览
What is Hacker News MCP Server?
Hacker News MCP Server adds Hacker News integration to Cursor, Claude, and other LLM clients, enabling access to stories, comments, user profiles, and search functionality through the Model Context Protocol.
How to use Hacker News MCP Server?
Add the server to your claude_desktop_config.json using npx -y @devabdultech/hn-mcp-server as the command, or install automatically via Smithery with npx -y @smithery/cli install @devabdultech/hn-mcp --client claude. Once configured, call the provided tools (e.g., search, getStories) from your LLM client.
Key features of Hacker News MCP Server
- Search stories and comments using Algolia's HN Search API
- Get stories by type (top, new, best, ask, show, job)
- Get individual stories with nested comment threads
- Retrieve full comment trees for any story
- Look up user profiles and their submissions
- Real-time access to Hacker News data
Use cases of Hacker News MCP Server
- Search for stories or comments by keyword and filter by type
- Fetch the latest top, new, or best stories with a configurable limit
- Read a story together with its complete discussion thread
- Explore a user’s profile, karma, and submission history
- Build an AI assistant that can answer questions based on Hacker News content
FAQ from Hacker News MCP Server
What dependencies are required?
The server runs via npx, which requires Node.js and npm. No separate installation or authentication is needed.
Where does the data come from?
Data is fetched from the official Hacker News API and Algolia’s HN Search API. No local storage is used.
What are the known limits?
Search results can be paginated with a maximum of 100 hits per page. The getStories tool accepts a limit of up to 100 stories.
Is an API key or authentication required?
No. The server works with publicly available Hacker News data and requires no keys or tokens.
What transport does the server use?
The server communicates via standard input/output (stdio) as defined by the Model Context Protocol. No network transport is configured.
其他 分类下的更多 MCP 服务器
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Nginx UI
0xJackyYet another WebUI for Nginx
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Awesome Mlops
visengerA curated list of references for MLOps
评论