Hacker News MCP Server

Integrations

  • Uses Algolia's HN Search API to search for stories and comments on Hacker News

ハッカーニュースMCPサーバー

公式Hacker News MCPサーバー - Cursor、Claude、その他LLMクライアントに強力なHacker News統合機能を追加します。モデルコンテキストプロトコル(MCP)を介して、記事、コメント、ユーザープロフィール、検索機能にアクセスできます。

特徴

  • Algolia の HN 検索 API を使用してストーリーとコメントを検索します
  • ストーリーをタイプ別に取得する(トップ、新着、ベスト、質問、ショー、求人)
  • コメント付きの個別のストーリーを入手する
  • コメントツリーとユーザーディスカッションを取得する
  • ユーザーのプロフィールと投稿を取得する
  • Hacker Newsデータへのリアルタイムアクセス

設定

Claude Desktopで実行中

これをclaude_desktop_config.jsonに追加します:

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

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Hacker News MCP Server を自動的にインストールするには:

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

ツール

  1. search
    • Algolia の検索 API を使用して Hacker News の記事やコメントを検索する
    • 入力: * query (文字列): 検索クエリ * type (オプションの文字列): タイプによるフィルタリング ('story' または 'comment') * page (オプションの数値): ページ区切りのページ番号 * hitsPerPage (オプションの数値): ページあたりの結果数 (最大 100)
    • 返されるもの: ストーリーとコメントを含む検索結果
  2. getStories
    • 複数のストーリーをタイプ別に取得します(トップ、新着、ベスト、質問、ショー、求人)
    • 入力: * type (文字列): 取得するストーリーの種類 ('top', 'new', 'best', 'ask', 'show', 'job') * limit (オプションの数値): 取得するストーリーの数 (最大 100)
    • 戻り値: ストーリーオブジェクトの配列
  3. getStoryWithComments
    • ストーリーとコメントスレッドを取得する
    • 入力: * id (数値): ストーリーID
    • 戻り値: ネストされたコメントを含むストーリーの詳細
  4. getCommentTree
    • ストーリーの完全なコメントツリーを取得する
    • 入力: * storyId (数値): ストーリーのID
    • 戻り値: 階層的なコメントツリー構造
  5. getUser
    • ユーザーのプロフィール情報を取得する
    • 入力: * id (文字列): ユーザー名
    • 返されるもの: カルマ、作成日、自己紹介テキストを含むユーザープロフィールの詳細
  6. getUserSubmissions
    • ユーザーの投稿(ストーリーやコメント)を取得する
    • 入力: * id (文字列): ユーザー名
    • 戻り値: ユーザーが投稿したストーリーとコメントの配列

貢献

  1. リポジトリをフォークする
  2. 機能ブランチを作成する
  3. 変更をコミットする
  4. ブランチにプッシュする
  5. 新しいプルリクエストを作成する

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。詳細はLICENSEファイルをご覧ください。

について

このMCPサーバーはdevabdultechによって構築および保守されています。公式Hacker News APIとAlgolia Search APIを使用し、モデルコンテキストプロトコル(MCP)を通じてHacker Newsデータへの包括的なアクセスを提供します。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

LLM クライアントに強力な Hacker News 統合を追加し、ユーザーがモデル コンテキスト プロトコルを通じてストーリー、コメント、ユーザー プロファイル、検索機能にアクセスできるようにします。

  1. Features
    1. Set Up
      1. Running on Claude Desktop
      2. Installing via Smithery
    2. Tools
      1. Contributing
    3. License
      1. About

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol (MCP) server that provides tools for searching and fetching information from Hacker News.
          Last updated -
          4
          6
          Python
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
          Last updated -
          Python
          MIT License
          • Linux
          • Apple
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables LLMs like Claude to interact with the Alpaca trading API, allowing for trading stocks, checking positions, fetching market data, and managing accounts through natural language.
          Last updated -
          Python
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables LLMs like Claude to interact with the Nostr social network, allowing for fetching user profiles, text notes, and zap payment information.
          Last updated -
          5
          24
          TypeScript
          MIT License
          • Apple

        View all related MCP servers

        ID: 73uji99mwg