Hacker News MCP Server

Hacker News MCP Server

An MCP server for accessing and analyzing Hacker News stories, comments, and users.

55
Stars
17
Forks
55
Watchers
3
Issues
Hacker News MCP Server implements the Model Context Protocol to provide tools for fetching and searching Hacker News stories, retrieving story comments, and accessing user information. It integrates seamlessly with AI assistants like Claude Desktop and supports use via Smithery. The server is designed for structured information retrieval, contextual exploration, and summarization of Hacker News content.

Key Features

Fetch top, new, ask_hn, and show_hn stories from Hacker News
Retrieve comments associated with specific stories
Search Hacker News stories by query
Get detailed user information
Standardized tool interface via Model Context Protocol
Integration with external tools such as Puppeteer
Easy installation and setup via Smithery CLI
Works with AI assistants like Claude Desktop
Contextual chaining of tools for complex queries
JSON-based configuration for deployment

Use Cases

Summarizing current trending stories on Hacker News
Retrieving in-depth comments for a given news story
Analyzing user activity and contributions on Hacker News
Conducting keyword-based searches of Hacker News content
Enabling AI assistants to answer questions about Hacker News
Automating news tracking and reporting workflows
Researching public opinion on technological topics
Aggregating developer discussions from Hacker News
Generating briefings on specific Hacker News users or topics
Enhancing model-based information curation using contextual MCP tools

README

Hacker News MCP Server

smithery badge

A Model Context Protocol (MCP) server that provides tools for fetching information from Hacker News.

Tools

  • get_stories Fetching (top, new, ask_hn, show_hn) stories
  • get_story_info Fetching comments associated with a story
  • search_stories Searching for stories by query
  • get_user_info Fetching user info

Example Usage

Use prompts like the following:

User: Get the top stories of today
  Output: Uses `get_stories` tool and returns a story about AI
User: What does the details of the story today that talks about the future of AI
  Output: Uses `get_story_info` tool based on the results of the previous tool
User: What has the user `pg` been up to?
  Output: Uses `get_user_info` tool and returns a summary of the user's activity
User: What does hackernews say about careers in AI?
  Output: Uses `search_stories` tool and returns a summary of the comments

A more detailed example with the puppeteer MCP server:

User: What are the top stories of today?
  Output: Uses `get_stories` tool and returns a story about AI
User: Can you use the puppeteer tool to read the article about <AI> and also use the hackernews tool to view the comments and give me a summary of what the main comments are about the article?
  Output: Uses puppeteer tool to read the article about AI and then uses the `get_story_info` hn tool to get the comments and returns a summary of the comments

Quickstart

Installing via Smithery

To install Hacker News MCP Server for Claude Desktop automatically via Smithery:

bash
npx -y @smithery/cli install mcp-hn --client claude

Claude Desktop:

Update the following:

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

With the following for production:

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

Star History

Star History Chart

Repository Owner

erithwik
erithwik

User

Repository Details

Language Python
Default Branch main
Size 30 KB
Contributors 3
License MIT License
MCP Verified Nov 12, 2025

Programming Languages

Python
91.96%
Dockerfile
8.04%

Tags

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • MCP Claude Hacker News

    MCP Claude Hacker News

    Seamless Hacker News integration for Claude Desktop via Model Context Protocol.

    MCP Claude Hacker News is an MCP server that enables Claude Desktop to access, browse, and interact with Hacker News content. It allows users to view the latest, top, and best-rated stories, retrieve detailed information, and read story comments in a clean, structured format. Designed for easy integration, it supports both manual launch and automated startup with Claude Desktop.

    • 9
    • MCP
    • imprvhub/mcp-claude-hackernews
  • Hacker News MCP Server

    Hacker News MCP Server

    Fetch and structure Hacker News stories via the Model Context Protocol.

    Provides an MCP server that enables fetching and parsing stories from Hacker News with structured output. Supports retrieval of different types of stories, configurable limits, and clean error handling. Designed for integration with Claude and other MCP-compatible interfaces, offering a standardized tool for AI-driven access to Hacker News data.

    • 35
    • MCP
    • pskill9/hn-server
  • Reddit Summarizer MCP Server

    Reddit Summarizer MCP Server

    Summarize Reddit content through a Model Context Protocol server.

    Reddit Summarizer MCP Server provides an MCP-compliant server interface for summarizing Reddit homepages, specific subreddits, and comments on individual posts. It enables users to extract concise reports from Reddit using customizable parameters such as sorting methods, comment inclusion, and post limits. The tool is designed to integrate with MCP clients like Claude Desktop and leverages the Reddit API for data retrieval. Support for environment variables and structured prompts ensures adaptability for a variety of summarization needs.

    • 11
    • MCP
    • sinanefeozler/reddit-summarizer-mcp
  • Maigret MCP Server

    Maigret MCP Server

    OSINT username and URL search server for the Model Context Protocol.

    Maigret MCP Server provides Model Context Protocol (MCP) integration for the Maigret OSINT tool, enabling AI and context-aware applications to search for usernames across hundreds of social networks and analyze URLs. Designed for seamless operation with MCP-compatible clients like Claude Desktop, it supports multiple output formats and advanced filtering options. The server can be installed via Docker or npm, offers Docker-based deployment for consistent performance, and facilitates responsible OSINT research.

    • 205
    • MCP
    • BurtTheCoder/mcp-maigret
  • GeekNews MCP Server

    GeekNews MCP Server

    Fetches and serves GeekNews articles and weekly news via Model Context Protocol.

    GeekNews MCP Server provides an MCP-compliant server to extract articles and weekly news from GeekNews, using Python and BeautifulSoup for web scraping. It supports scheduled automatic parsing and caching of data to minimize server load and ensure efficient retrieval. The server exposes tools to obtain articles by type and weekly news, offering structured metadata for each item. Integration is facilitated via Smithery and is compatible with the MCP ecosystem.

    • 16
    • MCP
    • the0807/GeekNews-MCP-Server
  • MCP Server for TheHive

    MCP Server for TheHive

    Connect AI-powered automation tools to TheHive incident response platform via MCP.

    MCP Server for TheHive enables AI models and automation clients to interact with TheHive incident response platform using the Model Context Protocol. It provides tools to retrieve and analyze security alerts, manage cases, and automate incident response operations. The server facilitates seamless integration by exposing these functionalities over the standardized MCP protocol through stdio communication. It offers both pre-compiled binaries and a source build option with flexible configuration for connecting to TheHive instances.

    • 11
    • MCP
    • gbrigandi/mcp-server-thehive
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results