Hacker News MCP Server

Hacker News MCP Server

hn-mcp•bydevabdultech

An MCP server that adds Hacker News integration to LLM clients, offering access to stories, comments, user profiles, and search functionality.

License: MIT License•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches Hacker News stories and comments using Algolia's HN Search API.
  • •Fetches multiple stories by type such as top, new, best, ask, show, and job.
  • •Retrieves a story along with its comment thread, or the full hierarchical comment tree.
  • •Looks up user profiles with karma, creation date, and about text, plus user submissions.

BEST FOR

  • •LLM clients that need real-time access to Hacker News data through the Model Context Protocol.
  • •Exploring Hacker News discussions by retrieving stories with their nested comments.
  • •Researching Hacker News users and their submitted stories and comments.

ABOUT HN-MCP

Hacker News MCP Server is cataloged as an MCP server attributed to devabdultech. An MCP server that adds Hacker News integration to LLM clients, offering access to stories, comments, user profiles, and search functionality. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Hacker News MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What data sources does this MCP server use?

It uses the official Hacker News API and Algolia Search API to provide access to Hacker News data.

Can the search tool filter results by story or comment?

Yes, the search tool accepts an optional type parameter to filter by 'story' or 'comment'.

Upstream README

View this exact version on GitHub

README.md · 8efc20a45283 · Fetched 2026-11-13 09:56:40 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Hacker News MCP Server

smithery badge 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.

Hacker News Server MCP server

Features

  • Search stories and comments using Algolia's HN Search API
  • Get stories by type (top, new, best, ask, show, job)
  • Get individual stories with comments
  • Get comment trees and user discussions
  • Get user profiles and submissions
  • Real-time access to Hacker News data

Set Up

Running on Claude Desktop

Add this to your claude_desktop_config.json:

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

Installing via Smithery

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

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

Tools

  1. search

    • Search for stories and comments on Hacker News using Algolia's search API
    • Inputs: * query (string): Search query * type (optional string): Filter by type ('story' or 'comment') * page (optional number): Page number for pagination * hitsPerPage (optional number): Results per page (max 100)
    • Returns: Search results with stories and comments
  2. getStories

    • Get multiple stories by type (top, new, best, ask, show, job)
    • Inputs: * type (string): Type of stories to fetch ('top', 'new', 'best', 'ask', 'show', 'job') * limit (optional number): Number of stories to fetch (max 100)
    • Returns: Array of story objects
  3. getStoryWithComments

    • Get a story along with its comment thread
    • Inputs: * id (number): Story ID
    • Returns: Story details with nested comments
  4. getCommentTree

    • Get the full comment tree for a story
    • Inputs: * storyId (number): ID of the story
    • Returns: Hierarchical comment tree structure
  5. getUser

    • Get a user's profile information
    • Inputs: * id (string): Username
    • Returns: User profile details including karma, created date, and about text
  6. getUserSubmissions

    • Get a user's submissions (stories and comments)
    • Inputs: * id (string): Username
    • Returns: Array of user's submitted stories and comments

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

License

This MCP server is licensed under the MIT License. See the LICENSE file for details.

About

This MCP server is built and maintained by devabdultech. It uses the official Hacker News API and Algolia Search API to provide comprehensive access to Hacker News data through the Model Context Protocol.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Hacker News MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/hn-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research