SSyncDev

MCP Server — paabloLC/mcp-hacker-news

Hacker News MCP Server

Local serverstdioTypeScript

What is the MCP Server?

Hacker News MCP Server

What the server does

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

  • 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

Credentials and setup notes

  • 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 ---

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
getTopStoriesFetch top stories (customizable limit)
getBestStoriesFetch best stories (customizable limit)
getNewStoriesFetch newest stories (customizable limit)
getAskHNStoriesFetch "Ask HN" posts
getShowHNStoriesFetch "Show HN" posts
getJobStoriesFetch job postings
getItemRetrieve a specific item (story, comment, etc.)
getUserRetrieve a user profile by username
getCommentsFetch comments for a specific item
getMaxItemIdGet the current maximum item ID
getUpdatesFetch recently updated items and profiles

How to install the MCP Server

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

Configuration as documented by the project. Restart the client after saving.

Configuration

  • 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 ---

Example prompts to try

  • “Use MCP to getTopStories.”
  • “Use MCP to getBestStories.”
  • “Use MCP to getNewStories.”

Frequently asked questions

Hacker News MCP Server Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.