MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

H
Hackernewsmcp
作者 @stuctf

MCP server by stuctf

创建于 3/14/2026
更新于 about 21 hours ago
Repository documentation and setup instructions

hn-mcp

An MCP server that gives any MCP-compatible client (like Claude Code) the ability to browse, search, and read Hacker News using the official Firebase API and Algolia Search API, with no API keys or external dependencies required.

Tools

| Tool | Description | |------|-------------| | hn_front_page | Fetch stories from any HN feed (top, new, best, ask, show, job) | | hn_search | Search HN history with filters for date range, minimum points, and content type | | hn_comments | Fetch a story's comment tree with configurable depth and limit | | hn_user | Look up a user profile and optionally their recent submissions |

Build

go build -o hn-mcp

Configure

Add the server to your MCP client config. For Claude Code, add this to .mcp.json:

{
  "mcpServers": {
    "hackernews": {
      "command": "/path/to/hn-mcp",
      "args": []
    }
  }
}

Replace /path/to/hn-mcp with the actual path to the built binary.

快速设置
此服务器的安装指南

安装命令 (包未发布)

git clone https://github.com/stuctf/HackerNewsMCP
手动安装: 请查看 README 获取详细的设置说明和所需的其他依赖项。

Cursor 配置 (mcp.json)

{ "mcpServers": { "stuctf-hackernewsmcp": { "command": "git", "args": [ "clone", "https://github.com/stuctf/HackerNewsMCP" ] } } }