SuperAPIAI Directory

necl-hn-mcp

github.com · AI developer platforms

Hacker News: top stories by time window, category feeds, comment threads and full-text search via Algolia.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: necl-hn-mcp is an MCP server that provides AI agents with access to Hacker News data, including fetching top stories by time window, category feeds, story details, comment threads, and full-text search via Algolia. No credentials are required; it uses the public HN API.

Key capabilities: Each tool returns structured data, making it easy for LLMs to chain calls (search → top stories → comments → summary). It supports fetching top stories by time window, retrieving the comment thread of a specified story, full-text search with optional sorting by date, and filtering by category (such as Ask HN, Show HN).

Usage: Running via uvx without installation is recommended; add the configuration to mcp.json (Claude Desktop, Claude Code, or any MCP client). If uvx is not installed, run pip install uv or brew install uv. You can also install with pip and run it as python -m necl_hn_mcp, or build from source for development. After installation, you can ask Claude directly, for example, "top 5 HN stories in the last 6 hours," "get the comment thread for HN story 38420000," "search for posts about RAG performance and sort by date."

Use cases: content research, trend monitoring, automated news summaries, prompt context enhancement, and building daily content briefings, competitor research bots, trend detectors, newsletter pipelines, customer discovery agents, tech radar updates, and more.

Limitations: Requires Python 3.10+; the HN Firebase API may be slow when fetching a large number of items, with a default timeout of 10 seconds per request; for long time-window queries, it is recommended to lower the limit; the Algolia index has a delay of about 5-15 minutes; comment threads return only top-level comments and do not recursively fetch replies, so replies_count can be used to determine whether there is deeper discussion; after modifying mcp.json, the client must be fully restarted. The project is under the MIT license.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools