Browse Hacker News feeds, threads, and user profiles with full-text search.
registry version 0.5.22
npm
npx -y @cyanheads/hn-mcp-servernpm
npx -y @cyanheads/hn-mcp-server@0.5.22npm
npx -y @cyanheads/hn-mcp-servernpm
npx -y @cyanheads/hn-mcp-server@0.5.22Streamable HTTP
https://hn.caseyjhand.com/mcp
Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}{
"mcpServers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server@0.5.22"
]
}
}
}Remote (hosted) endpoint
https://hn.caseyjhand.com/mcp
Claude Desktop: Settings → Connectors → Add custom connector, paste this URL.
Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add hn-mcp-server -- npx -y @cyanheads/hn-mcp-server
claude mcp add hn-mcp-server -- npx -y @cyanheads/hn-mcp-server@0.5.22
terminal
claude mcp add --transport http hn-mcp-server https://hn.caseyjhand.com/mcp
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}{
"mcpServers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server@0.5.22"
]
}
}
}.cursor/mcp.json (hosted endpoint)
{
"mcpServers": {
"hn-mcp-server": {
"url": "https://hn.caseyjhand.com/mcp"
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}{
"servers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server@0.5.22"
]
}
}
}.vscode/mcp.json (hosted endpoint)
{
"servers": {
"hn-mcp-server": {
"type": "http",
"url": "https://hn.caseyjhand.com/mcp"
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server"
]
}
}
}{
"mcpServers": {
"hn-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/hn-mcp-server@0.5.22"
]
}
}
}mcp_config.json (hosted endpoint)
{
"mcpServers": {
"hn-mcp-server": {
"serverUrl": "https://hn.caseyjhand.com/mcp"
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
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'.Distributed as npm, Streamable HTTP, listed under Search. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/cyanheads/hn-mcp-server. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/hn-mcp-server/)
HTML
<a href="https://mcpnav.net/server/hn-mcp-server/"><img src="https://mcpnav.net/badge/hn-mcp-server.svg" alt="Listed on MCPNav" height="20"></a>