This server processes Hacker News discussions for LLM summarization.
Retrieves and formats comments: Fetches comments from a Hacker News post and formats them specifically for LLM processing.
Handles flexible input: Accepts either full URLs or just numeric post IDs.
Generates user prompts: Provides instructions to guide the LLM in interpreting and summarizing the formatted comments.
Provides metadata: Includes post ID, comment count, and original post URL in the response.
Hacker News Companion MCP
A Model Context Protocol (MCP) for summarizing Hacker News discussions using Claude.
Overview
This MCP fetches and processes Hacker News discussions, preparing them in a format that Claude can use to generate high-quality summaries. It handles both the hierarchical structure of comments and their metadata (scores, downvotes, etc.) to help Claude understand the relative importance and relationships of different comments.
Related MCP server: Headline Vibes Analysis MCP Server
Features
Process Hacker News URLs or post IDs
Download and analyze comment structure from HN
Score comments based on community engagement
Format data optimized for Claude's summarization
Installation
Installing via Smithery
To install Hacker News Companion for Claude Desktop automatically via Smithery:
Manual Installation
Clone the repository:
git clone https://github.com/yourusername/hn-companion-mcp.git cd hn-companion-mcpInstall dependencies:
npm install
Usage
CLI
Example:
API Server
Start the server:
Make a request:
API Reference
POST /api/summarize
Request body:
Response:
Integration with Claude
This MCP is designed to prepare data for Claude to summarize. When a user asks Claude to summarize a Hacker News discussion, Claude can call this MCP to get the formatted data and then generate a summary based on the provided system and user prompts.
License
MIT