io.github.xodn348/readhn

Official registry AI and agents

AI-native HackerNews MCP Server. Find HN content that matters with explainable quality signals.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

PYPI package readhn
Claude Code
claude mcp add readhn -- python readhn==0.2.0
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "readhn": {
            "command": "python",
            "args": [
                "readhn==0.2.0"
            ]
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. readhn
  2. What It Does
  3. Quick Start
  4. How It Works
  5. License

readhn

AI-native HackerNews MCP Server. Find HN content that matters with explainable quality signals.

What It Does

Discover — Filter stories by keywords, scores, time. Get ranked results with quality signals.

Trust — Find domain experts. See who's talking and why they matter. EigenTrust propagation from seed experts.

Understand — Every result explains WHY. 5 signals: practitioner depth (30%), thread depth (20%), expert involvement (20%), velocity (15%), references (15%).

Quick Start

# Install
pip install readhn

# Auto-configure supported AI agents
readhn setup

readhn setup detects Claude Code, Codex, Cursor, Claude Desktop, Cline, Windsurf, and OpenCode config paths and adds the readhn MCP server.

Useful setup flags:

readhn setup --list              # Show detected agents
readhn setup --dry-run           # Preview config changes only
readhn setup --agents "Cursor"  # Configure only specific agents

After setup, your AI agent auto-discovers readhn and uses it when you ask HN questions.

Usage

Ask your AI agent:

  • "Show me top HN stories about Rust this week"
  • "Find experts who write about databases on HN"
  • "What did practitioners say about Kubernetes networking?"

The agent calls readhn tools, gets results with quality signals, and explains why each result matters.

Configuration (Optional)
export HN_KEYWORDS="ai,llm,rust,distributed-systems,databases"  # Default filter keywords
export HN_MIN_SCORE="50"                                         # Minimum story score
export HN_EXPERTS="tptacek,simonw,antirez,ept,jepsen"           # Seed experts for trust
export HN_TIME_HOURS="24"                                        # Time window

How It Works

When you ask HN questions, your AI agent uses these tools:

  • discover_stories() — Top stories filtered by keywords/score/time, ranked by quality signals
  • search() — Algolia search with explainable ranking
  • find_experts() — Find domain experts using EigenTrust on comment graph
  • expert_brief() — User profile + activity + trust score
  • story_brief() — Story + top comments + signals in one call
  • thread_analysis() — Full comment tree with quality signals per comment

Every response includes signals breakdown: why each result was chosen.

License

MIT

Frequently asked questions

What is io.github.xodn348/readhn?

AI-native HackerNews MCP Server. Find HN content that matters with explainable quality signals.

How do I install io.github.xodn348/readhn?

It runs on your machine. In Claude Code: claude mcp add readhn -- python readhn==0.2.0. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.xodn348/readhn need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Is io.github.xodn348/readhn open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains io.github.xodn348/readhn?

It is published by xodn348. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.