Hacker News MCP Server
Click on "Install 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 MCP Servershow me 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 Server
A read-only MCP (Model Context Protocol) server for Hacker News. Enables Claude Desktop, Claude Code, and other MCP clients to browse stories, read comments, search posts, and view user profiles. No authentication required.
Features
Story Listings: Browse top, new, best, ask, show, and job stories
Comments: View full comment threads with nesting
Search: Full-text search via Algolia
User Profiles: View user info and submission history
Related MCP server: Hacker News MCP Server
Installation
Prerequisites
Node.js >= 18.0.0
From Source
Clone this repository
Install dependencies:
npm installBuild the project:
npm run build
Configuration
Environment Variables
Variable | Required | Default | Description |
| No | — | Optional HN username for context |
| No |
| Firebase API endpoint |
| No |
| Algolia search endpoint |
No credentials needed. All data is publicly accessible.
Usage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"hackernews": {
"command": "node",
"args": ["/path/to/hackernews-mcp/build/index.js"]
}
}
}Usage with Claude Code
claude mcp add hackernews -- node /path/to/hackernews-mcp/build/index.jsAvailable Tools
Tool | Description |
| List stories by type (top, new, best, ask, show, job) |
| Get a specific item (story, comment, job) |
| Get full comment thread with nesting |
| Full-text search via Algolia |
| View a user's profile |
| List a user's posts |
Development
npm run dev— Watch mode with TypeScript compilationnpm run build— Build the projectnpm start— Start the built server
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/joeswann/hackernews-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server