Hacker News Companion MCP
ハッカーニュースコンパニオンMCP
Claude を使用して Hacker News の議論を要約するためのモデル コンテキスト プロトコル (MCP)。
概要
このMCPは、Hacker Newsの議論を取得・処理し、クロードが高品質な要約を生成できる形式に整えます。コメントの階層構造とメタデータ(スコア、ダウン投票など)の両方を処理し、クロードが各コメントの相対的な重要性と関連性を理解するのに役立ちます。
Related MCP server: Headline Vibes Analysis MCP Server
特徴
Hacker NewsのURLまたは投稿IDを処理する
HNからコメント構造をダウンロードして分析する
コミュニティの関与に基づいてコメントにスコアを付ける
クロードの要約に最適化されたデータのフォーマット
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Hacker News Companion を自動的にインストールするには:
npx -y @smithery/cli install @georgeck/hn-companion-mcp --client claude手動インストール
リポジトリをクローンします。
git clone https://github.com/yourusername/hn-companion-mcp.git cd hn-companion-mcp依存関係をインストールします:
npm install
使用法
コマンドライン
node index.js <post-id-or-url>例:
node index.js 43448075
# or
node index.js https://news.ycombinator.com/item?id=43448075APIサーバー
サーバーを起動します。
npm startリクエストする:
curl -X POST http://localhost:3000/api/summarize \
-H "Content-Type: application/json" \
-d '{"input": "https://news.ycombinator.com/item?id=43448075"}'APIリファレンス
POST /api/summarize
リクエスト本文:
{
"input": "https://news.ycombinator.com/item?id=43448075"
}応答:
{
"status": "success",
"data": {
"systemPrompt": "...",
"userPrompt": "...",
"commentPathIdMapping": { ... },
"postTitle": "...",
"postId": "...",
"commentCount": 123
}
}クロードとの統合
このMCPは、クロードが要約するためのデータを準備するために設計されています。ユーザーがクロードにHacker Newsの議論を要約するように依頼すると、クロードはこのMCPを呼び出してフォーマットされたデータを取得し、システムとユーザーの指示に基づいて要約を生成します。
"hn-companion": {
"command": "node",
"args": ["<full path to src>/hn-companion-mcp/server.js"]
}
}ライセンス
マサチューセッツ工科大学
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/georgeck/hn-companion-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server