Hacker News Companion MCP
ハッカーニュースコンパニオンMCP
Claude を使用して Hacker News の議論を要約するためのモデル コンテキスト プロトコル (MCP)。
概要
このMCPは、Hacker Newsの議論を取得・処理し、クロードが高品質な要約を生成できる形式に整えます。コメントの階層構造とメタデータ(スコア、ダウン投票など)の両方を処理し、クロードが各コメントの相対的な重要性と関連性を理解するのに役立ちます。
Related MCP server: Hacker News 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"]
}
}ライセンス
マサチューセッツ工科大学
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to search, retrieve, and interact with HackerNews content including stories, comments, polls, and user information. Provides comprehensive access to all HackerNews API endpoints with 15 specialized tools for content discovery and analysis.15195MIT
- Flicense-qualityDmaintenanceEnables AI assistants to access Hacker News content through 9 comprehensive tools for fetching stories, comments, user profiles, and job postings. Supports flexible output formats, pagination, and various story categories (top, new, best, Ask HN, Show HN).
- Alicense-qualityDmaintenanceFetches Hacker News discussion threads and linked article content in LLM-optimized markdown format, enabling natural language analysis of HN posts and their conversations.1MIT
- AlicenseAqualityDmaintenanceProvides programmatic access to Hacker News content via the HN Algolia API. It enables AI assistants to search stories, retrieve comments, access user profiles, and explore the front page in real-time.919MIT
Related MCP Connectors
Deterministic Hacker News developer sentiment, themes & feature requests via MCP. No API key.
Browse Hacker News feeds, threads, and user profiles with full-text search.
Hacker News MCP — search and retrieve stories from Hacker News
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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