Hacker News Companion

by georgeck

Not rated
GitHub

About

Analyzes and processes Hacker News discussions, extracting key insights from comment hierarchies based on engagement metrics for efficient thread summarization.

Details

Author
georgeck
Repository
georgeck/hn-companion-mcp
License
MIT License
Categories
Community, Design, AI, Developer Tools, Infrastructure
Tags
#analytics

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Hacker News Companion
    Command (node, npx, python, etc.) node
    Arguments
    • Argument 1 <full path to src>/hn-companion-mcp/server.js

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To install Hacker News Companion for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @georgeck/hn-companion-mcp --client claude

1. Clone the repository:

   git clone https://github.com/yourusername/hn-companion-mcp.git
cd hn-companion-mcp

2. Install dependencies:

   npm install

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "hacker news companion": {
            "env": {},
            "args": [
                "<full path to src>/hn-companion-mcp/server.js"
            ],
            "shell": false,
            "command": "node"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "<full path to src>/hn-companion-mcp/server.js"
    ],
    "shell": false,
    "command": "node"
}

Macos

{
    "env": [],
    "args": [
        "<full path to src>/hn-companion-mcp/server.js"
    ],
    "shell": false,
    "command": "node"
}

Windows

{
    "env": [],
    "args": [
        "/c",
        "node",
        "<full path to src>/hn-companion-mcp/server.js"
    ],
    "command": "cmd"
}

Hacker News Companion MCP

smithery badge

<a href="https://glama.ai/mcp/servers/@georgeck/hn-companion-mcp">
Hacker News Companion MCP server
</a>

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.

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:

npx -y @smithery/cli install @georgeck/hn-companion-mcp --client claude

Manual Installation

1. Clone the repository:

   git clone https://github.com/yourusername/hn-companion-mcp.git
cd hn-companion-mcp

2. Install dependencies:

   npm install

Usage

CLI

node index.js <post-id-or-url>
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.