Skip to main content
Glama
xodn348

readhn

by xodn348

readhn

PyPI Tests Coverage MCP

AIネイティブなHackerNews MCPサーバー。説明可能な品質シグナルで重要なHNコンテンツを見つけます。

機能

発見 — キーワード、スコア、時間でストーリーをフィルタリング。品質シグナルでランク付けされた結果を取得。

信頼 — ドメインの専門家を見つける。誰が話しているか、なぜ重要なのかを確認。シード専門家からのEigenTrust伝播。

理解 — すべての結果が理由を説明。5つのシグナル: 実践者の深さ(30%)、専門家の関与(20%)、速度(15%)、参照(15%)。

Related MCP server: Hacker News MCP Server

クイックスタート

# Install
pip install readhn

# Auto-configure supported AI agents
readhn setup

readhn setup は Claude Code、Codex、Cursor、Claude Desktop、Cline、Windsurf、OpenCode の設定パスを検出し、readhn MCPサーバーを追加します。

便利なセットアップフラグ:

readhn setup --list              # Show detected agents
readhn setup --dry-run           # Preview config changes only
readhn setup --agents "Cursor"  # Configure only specific agents

セットアップ後、AIエージェントは readhn を自動検出し、HNに関する質問に使用します。

使用方法

AIエージェントに尋ねる:

  • "今週のRustに関するトップHNストーリーを見せて"

  • "HNでデータベースについて書く専門家を見つけて"

  • "実践者はKubernetesネットワーキングについて何と言っていますか?"

エージェントは readhn ツールを呼び出し、品質シグナル付きの結果を取得し、各結果が重要な理由を説明します。

設定(オプション)

export HN_KEYWORDS="ai,llm,rust,distributed-systems,databases"  # Default filter keywords
export HN_MIN_SCORE="50"                                         # Minimum story score
export HN_EXPERTS="tptacek,simonw,antirez,ept,jepsen"           # Seed experts for trust
export HN_TIME_HOURS="24"                                        # Time window

仕組み

HNに関する質問をすると、AIエージェントは以下のツールを使用します:

  • discover_stories() — キーワード/スコア/時間でフィルタリングされたトップストーリーを品質シグナルでランク付け

  • search() — 説明可能なランキングによるAlgolia検索

  • find_experts() — コメントグラフ上のEigenTrustを使用してドメイン専門家を見つける

  • expert_brief() — ユーザープロフィール + アクティビティ + 信頼スコア

  • story_brief() — ストーリー + トップコメント + シグナルを1回の呼び出しで

  • thread_analysis() — コメントごとの品質シグナルを含む完全なコメントツリー

すべてのレスポンスにはシグナルの内訳が含まれます: 各結果が選ばれた理由。

ライセンス

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI tools like Claude and Cursor to fetch and interact with live Hacker News data (posts, comments, users) via standardized MCP endpoints.
    11
    124 npm
    34
    MIT
  • A
    license
    D
    quality
    D
    maintenance
    An MCP server that enables AI assistants to access real-time Hacker News data including top stories, story details, comments, and search functionality.
    1
    43 npm
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server enabling AI agents to interact with Hacker News, including fetching full comment trees with depth control, searching stories and comments, and retrieving user profiles.
    6
    5
    MIT