Skip to main content

Hacker News MCP Server

smithery badge

A Model Context Protocol (MCP) server that provides tools for fetching information from Hacker News.

mcp-hn MCP server

Tools

  • get_stories Fetching (top, new, ask_hn, show_hn) stories
  • get_story_info Fetching comments associated with a story
  • search_stories Searching for stories by query
  • get_user_info Fetching user info

Example Usage

Use prompts like the following:

User: Get the top stories of today
  Output: Uses `get_stories` tool and returns a story about AI
User: What does the details of the story today that talks about the future of AI
  Output: Uses `get_story_info` tool based on the results of the previous tool
User: What has the user `pg` been up to?
  Output: Uses `get_user_info` tool and returns a summary of the user's activity
User: What does hackernews say about careers in AI?
  Output: Uses `search_stories` tool and returns a summary of the comments

A more detailed example with the puppeteer MCP server:

User: What are the top stories of today?
  Output: Uses `get_stories` tool and returns a story about AI
User: Can you use the puppeteer tool to read the article about <AI> and also use the hackernews tool to view the comments and give me a summary of what the main comments are about the article?
  Output: Uses puppeteer tool to read the article about AI and then uses the `get_story_info` hn tool to get the comments and returns a summary of the comments

Quickstart

Installing via Smithery

To install Hacker News MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install mcp-hn --client claude

Claude Desktop:

Update the following:

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json

On Windows: %APPDATA%/Claude/claude_desktop_config.json

With the following for production:

{
  "mcpServers": {
    "mcp-hn": {
      "command": "uvx",
      "args": ["mcp-hn"]
    }
  }
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_mcp_hn-0.1.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_mcp_hn-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mcp_hn-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_mcp_hn-0.1.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for iflow_mcp_mcp_hn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a3757891ffc0f083bfb2a58561faa95eda5308e74c5f75f34eeb8170285f1158
MD5 1438141733209d6f829f555a1ce21273
BLAKE2b-256 0d6bc2d65267fdc58d7fb110cfc0c0368b4a4cb5b6c1070103dda10c19f23a18

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_hn-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_hn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87257887b81434cf7ef172969175a0a0fe0a9b869dad8de8db38cd785d83f25f
MD5 d801d4f64b74bae4194bb467874204a1
BLAKE2b-256 6fbc1bc35bfc6ba0179f411e290f0afdba8b794706b31e9ea0134e7964392f2e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page