Hacker News 的 MCP 服务器
一个用于获取 Hacker News 数据的模型上下文协议 (MCP) 服务器。
快速入门
这是一个 MCP 服务器,支持以下资源:
top-stories
:返回热门故事 ID 列表。best-stories
:返回最佳故事 ID 列表。new-stories
:返回最新故事 ID 列表。story
:通过故事 ID 获取故事对象。user
:通过用户 ID 获取用户对象。
使用方法
运行以下命令启动服务器:
npx -y mcp-server-hackernews
在 Claude Desktop 中配置如下:
{
"mcpServers": {
"hackernews": {
"command": "npx",
"args": ["-y", "mcp-server-hackernews"]
}
}
}