Hacker News Companion MCP
Compañero de Hacker News MCP
Un protocolo de contexto modelo (MCP) para resumir las discusiones de Hacker News utilizando Claude.
Descripción general
Este MCP obtiene y procesa las discusiones de Hacker News, preparándolas en un formato que Claude puede usar para generar resúmenes de alta calidad. Gestiona tanto la estructura jerárquica de los comentarios como sus metadatos (puntuaciones, votos negativos, etc.) para ayudar a Claude a comprender la importancia relativa y las relaciones entre los diferentes comentarios.
Related MCP server: Hacker News MCP Server
Características
Procesar URL o ID de publicaciones de Process Hacker News
Descargar y analizar la estructura de comentarios de HN
Califica los comentarios según la participación de la comunidad
Formato de datos optimizado para el resumen de Claude
Instalación
Instalación mediante herrería
Para instalar Hacker News Companion para Claude Desktop automáticamente a través de Smithery :
npx -y @smithery/cli install @georgeck/hn-companion-mcp --client claudeInstalación manual
Clonar el repositorio:
git clone https://github.com/yourusername/hn-companion-mcp.git cd hn-companion-mcpInstalar dependencias:
npm install
Uso
CLI
node index.js <post-id-or-url>Ejemplo:
node index.js 43448075
# or
node index.js https://news.ycombinator.com/item?id=43448075Servidor API
Iniciar el servidor:
npm startRealizar una solicitud:
curl -X POST http://localhost:3000/api/summarize \
-H "Content-Type: application/json" \
-d '{"input": "https://news.ycombinator.com/item?id=43448075"}'Referencia de API
POST /api/summarize
Cuerpo de la solicitud:
{
"input": "https://news.ycombinator.com/item?id=43448075"
}Respuesta:
{
"status": "success",
"data": {
"systemPrompt": "...",
"userPrompt": "...",
"commentPathIdMapping": { ... },
"postTitle": "...",
"postId": "...",
"commentCount": 123
}
}Integración con Claude
Este MCP está diseñado para preparar datos para que Claude los resuma. Cuando un usuario le pide a Claude que resuma una discusión de Hacker News, Claude puede llamar a este MCP para obtener los datos formateados y luego generar un resumen basado en las indicaciones del sistema y del usuario.
"hn-companion": {
"command": "node",
"args": ["<full path to src>/hn-companion-mcp/server.js"]
}
}Licencia
Instituto Tecnológico de Massachusetts (MIT)
Available Tools
1 toolget_hn_post_formatted_commentsB
Retrieves and formats comments from a Hacker News discussion post for summarization by an LLM. Use the hacker_news_summarization_user_prompt prompts to generate a summary.
Inputs: post_url (required). Returns: content, metadata
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly distinct as it is the sole tool available.
Since there is only one tool, naming consistency is inherently perfect. The tool name follows a clear verb_noun pattern (get_hn_post_formatted_comments), which would be consistent if more tools existed.
A single tool is too few for a server named 'Hacker News Companion MCP', which suggests broader functionality. The tool only handles comment retrieval and formatting, leaving obvious gaps like fetching posts, searching, or user interactions, making the scope feel incomplete.
The tool set is severely incomplete for a Hacker News companion. It only covers retrieving and formatting comments for summarization, missing core operations such as getting posts, listing top stories, or user management, which are essential for the domain.
Maintenance
Related MCP Connectors
Browse Hacker News from chat: top stories, search, read comment threads, and post or upvote when yo…
Scrape Hacker News stories, comments and user profiles as clean JSON with points, author…
Hacker News Scraper (Stories, Comments, Ask HN, Show HN)
Find Ask HN, Show HN and job threads, filter by score, and get votes and body text for every row.
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.155MIT
- FlicenseNot gradedqualityDmaintenanceEnables 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).-
- AlicenseNot gradedqualityDmaintenanceFetches 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.9MIT