hn_latestLABSCO SUMMARY
You can ask for comments on "the third story" without copying an ID.
hn_comments accepts story_index as well as story_id, so the list you just pulled stays addressable by position — which is what makes browsing conversational instead of clerical. Everything else is straight Hacker News: latest, top and best, up to 50 at a time, plus per-story detail.
What it is
A Hacker News client for MCP: five tools over the official Hacker News API, formatted so the stories and comments read cleanly in a conversation.
What you get
- The newest, top-ranked and best-rated stories — hn_latest, hn_top, hn_best
- Between 1 and 50 stories per call, defaulting to 10
- Full detail for one story by its ID — hn_story
- Comments for a story — hn_comments, by story_id or by position in the last list you pulled
- Hacker News content reformatted for readability rather than pasted raw
Requirements
Node.js 16 or higher and an internet connection. Clone the repository, run npm install and npm run build, then point your client at build/index.js with an absolute path.
Setup effort
Build from source — git clone https://github.com/imprvhub/mcp-claude-hackernews
USE CASES
Skimming what is on the front page
Pull the top or best stories at whatever count you want and read the summary.
Reading the discussion, not just the headline
Ask for comments on a story you just listed, by its position in that list.
Following up on a story someone sent you
Give it the story ID and get the details back.
Catching up on the newest submissions
Ask for the most recent stories rather than the ranked ones.
5 tools
Listed in project docs. Your client may show a different list.
hn_tophn_besthn_storyhn_commentsBEFORE YOU INSTALL
What to know first
Tools you get
5 tools named in the project's documentation.
Requires
- node on PATH
- Node.js 16 or later
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
This one is built from source rather than installed with a single command.
Server setup
git clone https://github.com/imprvhub/mcp-claude-hackernews
cd mcp-claude-hackernews
npm install
npm run buildMCP Clients
Claude Desktop
{
"mcpServers": {
"hackerNews": {
"command": "node",
"args": [
"<YOUR_PATH_TO_DIRECTORY>/mcp-claude-hackernews/build/index.js"
]
}
}
}