Hacker News MCP Server & API for AI Agents
Query Hacker News (8 public APIs) from Claude Code, Cursor, or any MCP/CLI agent for free with no API key required.
Read https://duang.ai/SKILL.md and use duang to run hackernews.stories.search.
Data APIs powered by Hacker News (1)
What you can ask your agent
“Find Hacker News stories about DuckDB.”
## Most discussed DuckDB stories | Story | Points | Comments | Posted | |---|---|---|---| | **The DuckDB Local UI** | 926 | 188 | Mar 2025 | | **DuckDB – An embeddable SQL database like SQLite, but supports Postgres features** | 801 | 160 | Sep 2020 | | **A Preview of DuckDB v2.0** | 720 | 132 | Aug 2026 | The newest is the v2.0 preview from August 2026. Want me to read its comments and summarize what people think?
search · recorded 2026-11-09T00:09:02.240Z“Summarize the discussion on Hacker News story 8863.”
## My YC app: Dropbox – Throw away your USB drive Posted by **dhouston**, 104 points. It links a screencast of the product. **What people said** - **dhouston** adds that a Mac port is coming - **vlad**: “Drew, this is awesome! All of the features you mentioned are exactly what people need.” - **zaidf** thinks it has great potential, but suggests a slower demo, because it lost them early on - **rwalker** seconds that and brings up what YC teaches about telling a story; **zach** adds that a screencast is a good test of whether you have a story to tell Overall the thread is warmly positive, with one concrete suggestion: slow the demo down.
thread · recorded 2026-11-09T00:09:03.582ZOperations (8)
| Operation | Data API | Price |
|---|---|---|
GET hacker-news.firebaseio.com/v0/{list}.jsonThe ids of the stories on one of Hacker News's lists, best first. | — | Free |
GET hacker-news.firebaseio.com/v0/item/{id}.jsonA story, comment, job, poll or poll option, by its id. | — | Free |
GET hacker-news.firebaseio.com/v0/user/{id}.jsonA Hacker News user: when they joined, their karma, their bio and what they submitted. | — | Free |
GET hacker-news.firebaseio.com/v0/maxitem.jsonThe id of the newest item on Hacker News. | — | Free |
GET hacker-news.firebaseio.com/v0/updates.jsonThe items and the profiles that changed most recently. | — | Free |
GET hn.algolia.com/api/v1/searchHacker News stories and comments matching words, best match first. | hackernews.stories.search | Free |
GET hn.algolia.com/api/v1/search_by_dateHacker News stories and comments matching words, newest first. | — | Free |
GET hn.algolia.com/api/v1/items/{id}A story or a comment with every reply under it, nested. | — | Free |
Frequently asked questions
Do I need my own Hacker News subscription or API key?
No. Hacker News operations on Duang are free and require no API key.
How do I add Hacker News to Claude Code or Cursor via MCP?
Add Duang's single remote MCP endpoint (https://api.duang.ai/mcp) or follow https://duang.ai/SKILL.md. Your agent discovers and invokes Hacker News operations on demand without loading hundreds of unused schemas into context.
Am I charged if a Hacker News API call fails?
No. Upstream supplier failures and Duang platform errors cost $0 on managed calls. Every successful call returns a receipt listing the exact supplier and USD amount charged.




