Labsco
MCP SERVER

Hacker News MCP Server

by devabdultech

Search Hacker News, pull a story together with its comment tree, and read a user's profile and submissions.

News, Feeds & Trend MonitoringVerified
Summary
The whole of Hacker News, comment trees included, without scraping it.

getStoryWithComments and getCommentTree are the reason to install this rather than fetch pages: the discussion arrives structured instead of as HTML someone has to unpick. Search runs against Algolia's index, so it reaches back through the archive rather than only what is on the front page today.

What it is

A server over the Hacker News API and Algolia's HN search, exposing stories, comments, users and search as nine tools.

What you get
  • search across stories and comments, filterable by type and paged
  • getStories by type — top, new, best, ask, show or job
  • getStory for one story, and getStoryWithComments for the story with its thread attached
  • getComment for a single comment, getComments for a story's comments, and getCommentTree for the full hierarchy
  • getUser for a profile — karma, creation date, about text — and getUserSubmissions for what they have posted
Requirements

Nothing — no account, no key. Runs under Node.

Setup effort

One command — npx -y @devabdultech/hn-mcp-server