Hacker News MCP Server

Researchstdiov0.1.0
Repository

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.

Connect

Add this configuration to .claude/mcp.json

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

Tools (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"
    }
  }
}

Resources

This server does not expose any resources.

Prompts

This server does not expose any prompts.

Server Information

Author
Erick Wendel (@ErickWendel)
Repository
https://github.com/erickwendel/hackernews-mcp
License
MIT
Version
0.1.0
Stars
220
Last Updated
July 9, 2026