hn-mcp MCP Server

Official Hacker News MCP Server - Adds powerful Hacker News integration to Cursor, Claude, and any other LLM clients. Access stories, comments, user profiles, and search functionality through the Model Context Protocol.

Local serverstdioMIT

What is the hn-mcp Server?

hn-mcp is an MCP project maintained in the devabdultech/hn-mcp repository. The maintainer describes its purpose as “ Official Hacker News MCP Server - Adds powerful Hacker News integration to Cursor, Claude, and any other LLM clients. Access stories, comments, user profiles…”. Read the project documentation for the complete scope.

Installation

The documented npm package is @devabdultech/hn-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Inputsid (string): Username
pageoptional number): Page number for pagination
hitsPerPageoptional number): Results per page (max 100)
ReturnsArray of user's submitted stories and comments
limitoptional number): Number of stories to fetch (max 100)

How to install the hn-mcp Server

{
  "mcpServers": {
    "hackernews": {
      "command": "npx",
      "args": [
        "-y",
        "@devabdultech/hn-mcp-server"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.