Hacker News

Hacker News MCP Server
  • javascript

17

GitHub Stars

javascript

Language

4 months ago

First Indexed

3 weeks ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

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

You can access Hacker News data through an MCP server, enabling your language model clients to search stories, read comments, view user profiles, and explore story detail and discussions with real-time style access through the Model Context Protocol.

How to use

You interact with the Hacker News MCP Server through your MCP client. Use the provided tools to search stories and comments, fetch lists of stories by type (top, new, best, ask, show, job), retrieve a story with its comments, load full comment trees, and pull user profiles and submissions. These endpoints are designed to be called by your LLM client to seamlessly integrate Hacker News data into conversations and workflows.

How to install

Prerequisites: make sure you have Node.js and npm installed on your machine. Node is required to run the MCP server via the local runtime.

Step 1: Create your MCP configuration for Claude Desktop. Use this JSON snippet as your starting point.

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

Step 2: Run the MCP server using your MCP client. In Claude Desktop, the server is launched by invoking the configured command, which runs the MCP server in-process for responses to your prompts.

Available tools

search

Search for stories and comments on Hacker News using Algolia's search API

getStories

Get multiple stories by type (top, new, best, ask, show, job)

getStoryWithComments

Get a story along with its comment thread

getCommentTree

Get the full comment tree for a story

getUser

Get a user's profile information

getUserSubmissions

Get a user's submissions (stories and comments)

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
Hacker News MCP Server - devabdultech/hn-mcp | VeilStrat