1. Conduid
  2. Developer Tools
  3. Hacker News
MCP server · Developer Tools

Hacker News

This MCP server acts as a bridge between the official Hacker News API and AI-powered tools that support the Model Context Protocol, such as Claude and Cursor.

Unclaimed last commit a year ago devtools
46Fair

Scored 5 months ago · breakdown

About Hacker News

Hacker News is an MCP server published by paabloLC in the Developer Tools category: this MCP server acts as a bridge between the official Hacker News API and AI-powered tools that support the Model Context Protocol, such as Claude and Cursor.

The repository has 34 stars and 4 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/paabloLC/mcp-hacker-news

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Hacker News

Powered by Claude · Grounded in docs

I know everything about Hacker News. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

mcp-hacker-news

A Model Context Protocol (MCP) server for Hacker News built with TypeScript.

This MCP server acts as a bridge between the official Hacker News API and AI-powered tools that support the Model Context Protocol, such as Claude and Cursor.

It enables these tools to fetch and interact with live Hacker News data (posts, comments, users) via standardized MCP endpoints.

Using with Claude Desktop or Cursor

Add to your Claude desktop config (claude_desktop_config.json) or your Cursor config file (mcp.json) :

{
  "mcpServers": {
    "mcp-hacker-news": {
      "command": "npx",
      "args": ["-y", "mcp-hacker-news"]
    }
  }
}

Features

  • Integrates with the official Hacker News API to fetch posts, comments, and user information.
  • Exposes standard Model Context Protocol endpoints for seamless integration with Claude, Cursor, and other LLM-based tools.
  • Fetches the latest Hacker News data for AI and automation workflows.

Requirements

  • Node.js version 18 or higher is required.
  • npm or pnpm as a package manager.

⚠️ If you are unsure about your Node.js version, run node --version in your terminal. Make sure it shows v18.x.x or higher.
How to upgrade Node.js


Want to contribute? Just follow the steps below

Clone the repository and install dependencies:
git clone https://github.com/paablolc/mcp-hacker-news.git
cd mcp-hacker-news
pnpm install
pnpm build
  • To test the server with the MCP Inspector:
pnpm inspector
  • or, if running from the source:
npx @modelcontextprotocol/inspector node dist/index.js

mcp-inspector

Resources

This MCP server exposes the following fixed resources, each corresponding to a core Hacker News endpoint:

Resource URI Description Hacker News API Endpoint
hackernews://top Top stories /v0/topstories
hackernews://new Newest stories /v0/newstories
hackernews://best Best (algorithmic) stories /v0/beststories

These three collections match the main list endpoints officially provided by the Hacker News API.
Other types of stories (Ask HN, Show HN, Jobs, etc.) and item-specific lookups are available as tools (see below), allowing for flexible querying with custom parameters.

Tools

The following tools are available for advanced or parameterized queries. These allow you to fetch other Hacker News content beyond the fixed resources above:

Tool Name Description
getTopStories Fetch top stories (customizable limit)
getBestStories Fetch best stories (customizable limit)
getNewStories Fetch newest stories (customizable limit)
getAskHNStories Fetch "Ask HN" posts
getShowHNStories Fetch "Show HN" posts
getJobStories Fetch job postings
getItem Retrieve a specific item (story, comment, etc.)
getUser Retrieve a user profile by username
getComments Fetch comments for a specific item
getMaxItemId Get the current maximum item ID
getUpdates Fetch recently updated items and profiles

Check the code or inline documentation for supported arguments and usage examples for each tool.


Tip:
Make sure you have pnpm installed for development setup.
You can substitute npm or yarn if you prefer, but pnpm is recommended for consistency.

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About Hacker News

How do I install Hacker News?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Hacker News safe to use with an AI agent?

Its trust score is 46 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Hacker News still maintained?

The last commit was a year ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.