hn-companion-mcp

hn-companion-mcp

0

The Hacker News Companion MCP is a Model Context Protocol for summarizing discussions from Hacker News, utilizing Claude for high-quality summaries. It processes URLs or post IDs, evaluates the comment structure, and formats the data for optimal use by Claude.

Overview

This project is a Model Context Protocol (MCP) designed to summarize Hacker News discussions using Claude. It fetches and processes discussions, handling the hierarchical comment structure and metadata to provide high-quality summaries.

Features

  • Processes Hacker News URLs or post IDs
  • Analyzes comment structures and engagement
  • Scores comments based on community interactions
  • Formats data for optimal summarization by Claude

Installation

Installing via Smithery

  • Automatically install via Smithery: npx -y @smithery/cli install @georgeck/hn-companion-mcp --client claude

Manual Installation

  1. Clone the repository: git clone <repository-url> && cd hn-companion-mcp
  2. Install dependencies: npm install

Usage

CLI

  • Run command with post ID or URL

API Server

  • Start server and make POST requests to /api/summarize

Integration with Claude

  • Prepares data for Claude to summarize Hacker News discussions.