hn-mcp

hn-mcp

3.4

If you are the rightful owner of hn-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Official Hacker News MCP Server - Adds powerful Hacker News integration to Cursor, Claude, and any other LLM clients.

The Hacker News MCP Server provides seamless integration with Hacker News, allowing users to access stories, comments, user profiles, and search functionality through the Model Context Protocol. This server is designed to enhance the capabilities of LLM clients like Cursor and Claude by providing real-time access to Hacker News data. It leverages the official Hacker News API and Algolia Search API to deliver comprehensive data access, making it an essential tool for developers and users interested in Hacker News content. The server supports various functionalities, including searching for stories and comments, retrieving stories by type, accessing individual stories with comments, and obtaining user profiles and submissions.

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
  • Real-time access to Hacker News data

Tools

  1. search

    Search Hacker News stories and comments using Algolia's Search API

  2. getStories

    Get multiple stories by type

  3. getStoryWithComments

    Get a story and its comment thread

  4. getCommentTree

    Get the full comment tree for the story

  5. getUser

    Obtain user information

  6. getUserSubmissions

    Get user submissions (stories and comments)