Skip to main content
All providers

Hacker News

DeveloperUS

hacker-news.firebaseio.com

The official Hacker News API: stories, comments, users and the live front-page rankings.

Runs on your machine under the source's own terms

The crw MCP on your computer calls Hacker News directly. Calls cost no credits and the data does not pass through fastCRW. Install it once for Claude Code, Cursor, Codex, Windsurf, Gemini CLI or OpenCode, with your fastCRW API key in place of the placeholder:

Capabilities (10)

hackernews/askstoriesFree, runs locally

Returns up to 200 item ids for current "Ask HN" discussion threads.

limitToFirst?
hackernews/beststoriesFree, runs locally

Returns up to 200 item ids for the highest-scoring recent stories, best first.

limitToFirst?
hackernews/itemFree, runs locally

Returns one Hacker News item — story, comment, job, poll or poll option — with its author, score, timestamp, text/url and the ids of its direct children in `kids`.

id
hackernews/jobstoriesFree, runs locally

Returns up to 200 item ids for the YC job postings currently on HN, newest first.

limitToFirst?
hackernews/maxitemFree, runs locally

Returns a single integer: the id most recently assigned on Hacker News.

No parameters
hackernews/newstoriesFree, runs locally

Returns up to 500 item ids for the most recently submitted stories, newest first.

limitToFirst?
hackernews/showstoriesFree, runs locally

Returns up to 200 item ids for current "Show HN" posts, where people present something they built.

limitToFirst?
hackernews/topstoriesFree, runs locally

Returns up to 500 item ids for the current HN front-page ranking, best-ranked first.

limitToFirst?
hackernews/updatesFree, runs locally

Returns `{items, profiles}` — the item ids and usernames that changed most recently, for example from edits, new comments or score changes.

No parameters
hackernews/userFree, runs locally

Returns a public HN user profile: karma, account creation time, the `about` bio and a `submitted` array of every item id they have posted.

id

Licence

Commercial Use : Unless otherwise expressly authorized herein or in the Site, you agree not to display, distribute, license, perform, publish, reproduce, duplicate, copy, create derivative works from, modify, sell, resell, exploit, transfer or upload for any commercial purposes, any portion of the Site, use of the Site, or access to the Site.

https://www.ycombinator.com/legal/

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attributionText.

Source: Hacker News (Y Combinator)