mcpField
M
MCP Server for Hacker News

MCP Server for Hacker News

Local
github.com/morinokamiSocial Media0Updated 80w ago

About MCP Server for Hacker News

An MCP server that provides access to Hacker News story and user data. Its resources return IDs for top, best, and new stories, and objects for individual stories and users.

Key features

  1. 01Retrieve top-story IDs
  2. 02Retrieve best-story IDs
  3. 03Retrieve new-story IDs
  4. 04Look up stories by ID
  5. 05Look up users by ID

Use cases

  1. 01Listing top, best, or new Hacker News stories
  2. 02Fetching a Hacker News story by ID
  3. 03Retrieving a Hacker News user by ID

MCP support

The server exposes Hacker News story and user resources to MCP clients, including story lists and lookups by ID.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"hackernews": {
"command": "npx",
"args": [
"-y",
"mcp-server-hackernews"
]
}
}
}
Run commandnpx -y mcp-server-hackernews

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-server-hackernews

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Server for Hacker News

A Model Context Protocol (MCP) server for fetching Hacker News data.

Resources

  • top-stories
    • Top stories
    • Returns: an array of story IDs
  • best-stoies
    • Best stories
    • Returns: an array of story IDs
  • new-stories
    • New stories
    • Returns: an array of story IDs
  • story
    • A story
    • Input:
      • id: the ID of the story
    • Returns: a story object
  • user
    • A user
    • Input:
      • id: the ID of the user
    • Returns: a user object

Usage with Claude Desktop

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.