devrelopers / hackernews-mcp
PublicA Rust MCP server exposing Hacker News to AI assistants over stdio. Read the front page and Ask/Show/job stories, walk full comment trees with depth control, fetch user profiles, and run full-text search. Backed by the official Firebase and Algolia APIs β no keys, no auth.
This is a helpful tool that lets AI assistants like Claude Desktop and Claude Code access Hacker News content. It provides four simple ways to explore HN: browse ranked story feeds (top, new, best, ask, show, job), read individual stories with their full comment threads, search all of HN by keyword, and look up user profiles. The tool connects to two public Hacker News databases that anyone can accessβno special accounts or keys needed. Everything is read-only, so nothing can be posted or changed. The tool is designed to be polite to the HN servers by limiting how many requests it makes at once, and it carefully caps comment trees so your AI assistant's context window doesn't get overwhelmed. It's MIT licensed and open source.
How It Works
You discover that your AI assistant can help you browse stories, search discussions, and look up users on Hacker News without opening a browser.
You add this little helper to your AI assistant's configuration so it knows how to talk to Hacker News.
Your AI assistant now has four superpowers: browse the front page, read full discussions with replies, search by keyword, and look up any user's profile.
Scan top stories, newest posts, best discussions, or specialized sections like Ask HN or Show HN.
Find stories and comments about anything you're curious about, sorted by relevance or date.
Dive into a specific thread and read through the nested conversation, with replies neatly organized.
Check out a user's profile, see their karma, when they joined, and how much they've contributed.
Whether it's staying informed, researching a topic, or following a conversation, your AI assistant delivers the HN content you wanted in a clean, easy-to-read format.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.