Hacker News MCP Server

Researchstdiov0.1.0
代码仓库

MCP server for Hacker News. Lets AI agents fetch top, new, best, Ask HN, and Show HN stories, read comment threads, and look up items and users via the official Firebase API. Useful for tracking tech trends, summarizing discussions, and research into what the developer community is talking about.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "hackernews": {
      "command": "npx",
      "args": [
        "-y",
        "hackernews-mcp"
      ]
    }
  }
}

工具 (2)

get_stories

Fetch stories by type (top, new, best, ask, show, job).

{
  "type": "object",
  "required": [
    "type"
  ],
  "properties": {
    "type": {
      "type": "string",
      "description": "Story feed type (top, new, best, ask, show, job)"
    },
    "limit": {
      "type": "integer",
      "description": "Number of stories to return"
    }
  }
}

get_item

Retrieve a single item (story, comment, poll) and its metadata by ID.

{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "integer",
      "description": "Hacker News item ID"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Erick Wendel (@ErickWendel)
代码仓库
https://github.com/erickwendel/hackernews-mcp
许可证
MIT
版本
0.1.0
星标
220
最后更新
2026年7月9日