get_stories
Get stories from Hacker News
Hacker News front pages as structured data — top, new, Ask, Show and jobs, with points, author, timestamp and comment count on every story.
LABSCO SUMMARY
The value is in the shape of the output: points, comment count and rank come back as numbers, so "what got traction today that mentions databases" is a filter rather than a reading exercise. Ask HN and Show HN are covered by the same tool as the front page, which is where most of the interesting discussion actually is.
A small MCP server that parses the HTML of news.ycombinator.com and hands back stories as objects instead of prose. One tool covers all five listings, so an assistant can read the front page the way a script would.
top, new, ask, show or jobs, defaulting to top — fetched by get_storiestitle, url, points, author, time, commentCount and rank, so results can be filtered and sorted rather than readNo account and no key — it reads the public site. The npm package name is hn-server (0.1.0); the documented path is a clone plus npm install and npm run build, then pointing your client at the built index.js. Because it parses HTML rather than calling an API, a redesign of the Hacker News front page is what would break it.
One command — npx -y github:pskill9/hn-server
USE CASES
Pull the top stories with points and comment counts attached and have the model summarise what is worth opening, instead of scrolling.
Fetch the Show listing and filter the titles for the domain you care about, so launches surface without a daily visit.
Read the Ask listing and sort by comment count, which is the signal for a thread with actual answers in it.
Pull the jobs listing as structured stories and let the model group them by company or role rather than reading each post.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
get_storiesGet stories from Hacker News
BEFORE YOU INSTALL
1 tool when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the one tool definition that rides along on every turn
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"hn-server": {
"command": "npx",
"args": [
"-y",
"github:pskill9/hn-server"
]
}
}
}npx -y github:pskill9/hn-server