HN MCP Server
by cyanheadsio.github.cyanheads/hn-mcp-serverv0.5.21
Browse Hacker News feeds, threads, and user profiles with full-text search.
context tax
queued
security
queued
cold start
queued
freshness
Active4d ago
Install HN MCP server
Install in Claude Code
claude mcp add hn -- npx -y @cyanheads/hn-mcp-serverInstall in Cursor
{
"mcpServers": {
"hn": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"hn": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"hn": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"hn": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| HN_CONCURRENCY_LIMIT | — | — | Max concurrent HTTP requests for batch item fetches (integer, 1–50). |
| MCP_LOG_LEVEL | — | — | Sets the minimum log level for output (e.g., 'debug', 'info', 'warning'). |
| MCP_TRANSPORT_TYPE | — | — | Selects the HTTP transport. |
| MCP_HTTP_HOST | — | — | The hostname for the HTTP server. |
| MCP_HTTP_PORT | — | — | The port to run the HTTP server on. |
| MCP_HTTP_ENDPOINT_PATH | — | — | The endpoint path for the MCP server. |
| MCP_AUTH_MODE | — | — | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
Remote endpoints
- streamable-http
https://hn.caseyjhand.com/mcp
Freshness
Active — last maintenance signal 4d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-05 · 4d ago · GitHub
Latest release
2026-10-05 · 4d ago · GitHub · v0.5.21
Package published
no data · npm/PyPI
Registry entry updated
2026-10-05 · 4d ago · official registry · v0.5.21
FAQ
›How do I install the HN MCP server in Claude Code?
Run: claude mcp add hn -- npx -y @cyanheads/hn-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does HN require an API key?
No required environment variables are declared in its published metadata.
›Can I use HN as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is HN in the official MCP registry?
Yes, as io.github.cyanheads/hn-mcp-server.
Alternatives to HN
Other social media MCP servers.