
Hacker News MCP Server
Hacker News MCP Server
·
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 claudesearch
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.
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add hackernews -- npx -y @devabdultech/hn-mcp-server{
"mcpServers": {
"hackernews": {
"args": [
"-y",
"@devabdultech/hn-mcp-server"
],
"command": "npx"
}
}
}code --add-mcp '{"name":"hackernews","args":["-y","@devabdultech/hn-mcp-server"],"command":"npx"}'[mcp_servers.hackernews]
command = "npx"
args = ["-y", "@devabdultech/hn-mcp-server"]Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/hacker-news-mcp-server to learn what the "Hacker News MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
npx -y @smithery/cli install @devabdultech/hn-mcp --client claude| Name | What it does |
|---|---|
search | Search for stories and comments on Hacker News |
getStory | Get a single story by ID |
getStoryWithComments | Get a story with its comments |
getStories | Get multiple stories by type (top, new, best, ask, show, job) |
getComment | Get a single comment by ID |
getComments | Get comments for a story |
getCommentTree | Get a comment tree for a story |
getUser | Get a user profile by ID |
getUserSubmissions | Get a user's submissions |
Read live from the server on September 29, 2026.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/hacker-news-mcp-server)Nothing comparable is listed yet.
No tagged releases on record.
Connect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "hacker-news-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.