MCP.so
ログイン

Hacker News MCP Server

@devabdultech

Hacker News MCP Server について

Hacker News MCP Server

基本情報

カテゴリ

その他

ライセンス

MIT

ランタイム

node

トランスポート

stdio

公開者

devabdultech

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "hn-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@devabdultech/hn-mcp",
        "--client",
        "claude"
      ]
    }
  }
}

ツール

12

`query` (string): Search query

Search results with stories and comments

`type` (string): Type of stories to fetch ('top', 'new', 'best', 'ask', 'show', 'job')

Array of story objects

`id` (number): Story ID

Story details with nested comments

`storyId` (number): ID of the story

Hierarchical comment tree structure

`id` (string): Username

User profile details including karma, created date, and about text

`id` (string): Username

Array of user's submitted stories and comments

概要

What is Hacker News MCP Server?

Hacker News MCP Server adds Hacker News integration to Cursor, Claude, and other LLM clients, enabling access to stories, comments, user profiles, and search functionality through the Model Context Protocol.

How to use Hacker News MCP Server?

Add the server to your claude_desktop_config.json using npx -y @devabdultech/hn-mcp-server as the command, or install automatically via Smithery with npx -y @smithery/cli install @devabdultech/hn-mcp --client claude. Once configured, call the provided tools (e.g., search, getStories) from your LLM client.

Key features of Hacker News MCP Server

  • Search stories and comments using Algolia's HN Search API
  • Get stories by type (top, new, best, ask, show, job)
  • Get individual stories with nested comment threads
  • Retrieve full comment trees for any story
  • Look up user profiles and their submissions
  • Real-time access to Hacker News data

Use cases of Hacker News MCP Server

  • Search for stories or comments by keyword and filter by type
  • Fetch the latest top, new, or best stories with a configurable limit
  • Read a story together with its complete discussion thread
  • Explore a user’s profile, karma, and submission history
  • Build an AI assistant that can answer questions based on Hacker News content

FAQ from Hacker News MCP Server

What dependencies are required?

The server runs via npx, which requires Node.js and npm. No separate installation or authentication is needed.

Where does the data come from?

Data is fetched from the official Hacker News API and Algolia’s HN Search API. No local storage is used.

What are the known limits?

Search results can be paginated with a maximum of 100 hits per page. The getStories tool accepts a limit of up to 100 stories.

Is an API key or authentication required?

No. The server works with publicly available Hacker News data and requires no keys or tokens.

What transport does the server use?

The server communicates via standard input/output (stdio) as defined by the Model Context Protocol. No network transport is configured.

コメント

「その他」の他のコンテンツ