MCP Server for Hacker News

by morinokami

204 downloads
Not rated
GitHub

About

An MCP server that retrieves Hacker News data including top stories, best stories, new stories, individual stories, and user information. Designed for use with MCP-compatible clients like Claude Desktop.

Details

Author
morinokami
Downloads
204
Categories
Other

- Fetches top, best, and new story IDs
- Retrieves individual story details by ID
- Retrieves user information by ID
- Simple setup with Claude Desktop via npx
- Return types: arrays of IDs or JSON objects

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server for Hacker News
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Configure it in your Claude Desktop mcpServers configuration with the command npx and arguments ["-y", "mcp-server-hackernews"]. Then access its resources (e.g., top-stories, story) through the client.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

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"]
    }
  }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.