Hacker News MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hacker News MCPshow me the top stories on Hacker News"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hacker News MCP
An MCP server that exposes Hacker News data as tools for AI agents. Built on Cloudflare Workers with the Agents SDK.
Data comes from the Hacker News Firebase API.
Tools
Tool | Description |
| Get any item by ID (story, comment, job, poll, or poll option) |
| Top stories (optional |
| Newest stories |
| Best stories |
| Ask HN stories |
| Show HN stories |
| Job postings |
| User profile by username |
| Top-level comments for a story ( |
Related MCP server: hn-mcp
Setup
npm installDevelopment
npm run devStarts a local Worker with Wrangler. Point your MCP client at the local endpoint once it's running.
Deploy
npm run deployDeploys to Cloudflare Workers. After deploy, connect your MCP client to the Worker URL.
Project structure
src/
main.ts # MCP server entrypoint
tools/ # Individual tool handlers
utils/registerTools.ts
wrangler.jsonc # Cloudflare Workers configContributing
Fork the repository and create a branch from
main.Install dependencies with
npm install.Make your changes and verify them locally with
npm run dev.Open a pull request describing what you changed and why.
Bug reports and feature ideas are welcome via GitHub Issues.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hacker News MCP — search and retrieve stories from Hacker News
Dive into the latest and greatest from the tech world with our Hacker News MCP server.
Real-time Amazon, WIPO & PACER data for AI agents — 19 tools via the MCP protocol.
Scrape, crawl and search the web for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for Hacker News that enables AI agents to search stories, read comments, and track tech trends via the public Hacker News API and Algolia HN Search.10104MIT
- AlicenseAqualityCmaintenanceMCP server enabling AI agents to interact with Hacker News, including fetching full comment trees with depth control, searching stories and comments, and retrieving user profiles.65MIT
- AlicenseAqualityCmaintenanceProvides AI agents with access to Hacker News data including top stories, story details, comment threads, and full-text search for content research and trend monitoring.5MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with Hacker News data including front-page lists, full-text search via Algolia, and recent Show HN launches.-