Skip to main content
Glama
pratham-jain33

io.github.pratham-jain33/hackernews-mcp

hackernews-mcp

mcp-name: io.github.pratham-jain33/hackernews-mcp

Give any AI assistant a Hacker News button. Three tools, no API key:

  • top_stories(limit) — what's on HN's front page right now

  • search_stories(query, limit) — search all of HN history

  • get_story(story_id, max_comments) — a story in full, with top comments

Install

uvx hackernews-mcp

No API key. Hacker News' public APIs are free and open.

Related MCP server: HackerNews MCP Server

Use with Claude Desktop

Add to your MCP config:

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

Then ask: "What's on Hacker News today?" or "What did HN say about MCP servers?"

How it works

Your assistant calls one of the three tools. This server fetches from Hacker News' free public APIs (the official Firebase API for stories and comments, the Algolia API for search), formats the result as plain text, and hands it back. Nothing is stored, nothing needs a key.

Development

python -m venv .venv && source .venv/bin/activate
pip install -e .
python test_local.py

Unofficial community project. Not affiliated with Y Combinator or Hacker News.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Enables browsing Hacker News, searching discussions, analyzing users, and tracking tech trends with zero setup required—no API keys or authentication needed.
    5
    27 npm
    6
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to read and search Hacker News for top stories, comments, user profiles, and job listings using the Firebase and Algolia APIs. It facilitates natural language research into community discussions and technological trends across the HN platform.
    8
    -
  • A
    license
    A
    quality
    C
    maintenance
    Provides AI agents with access to Hacker News data including top stories, story details, comment threads, and full-text search for content research and trend monitoring.
    5
    MIT