Official Hacker News MCP Server - Adds powerful Hacker News integration to Cursor, Claude, and any other LLM clients. Access stories, comments, user profiles, and search functionality through the Model Context Protocol.
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"hackernews": {
"command": "npx",
"args": ["-y", "@devabdultech/hn-mcp-server"]
}
}
}
To install Hacker News MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @devabdultech/hn-mcp --client claude
search
query
(string): Search query
* type
(optional string): Filter by type ('story' or 'comment')
* page
(optional number): Page number for pagination
* hitsPerPage
(optional number): Results per page (max 100)getStories
type
(string): Type of stories to fetch ('top', 'new', 'best', 'ask', 'show', 'job')
* limit
(optional number): Number of stories to fetch (max 100)getStoryWithComments
id
(number): Story IDgetCommentTree
storyId
(number): ID of the storygetUser
id
(string): UsernamegetUserSubmissions
id
(string): UsernameThis MCP server is licensed under the MIT License. See the LICENSE file for details.
This MCP server is built and maintained by devabdultech. It uses the official Hacker News API and Algolia Search API to provide comprehensive access to Hacker News data through the Model Context Protocol.
{
"mcpServers": {
"hackernews": {
"env": {},
"args": [
"-y",
"@devabdultech/hn-mcp-server"
],
"command": "npx"
}
}
}
Seamless access to top MCP servers powering the future of AI integration.