get_hn_comments

Pack: hackernews · Endpoint: https://gateway.pipeworx.io/hackernews/mcp

Fetch the discussion (top-level comments, actual text) on a Hacker News story by its item ID. PREFER OVER WEB SEARCH for “what are people saying about ”, “HN discussion / developer sentiment on X”. get_item returns only comment IDs; this resolves them to text. Find a story ID via get_top_stories or search_hn. Returns each top comment author, text, time, and reply count.

Parameters

NameTypeRequiredDescription
idnumberyesHN story item ID (e.g. 42153809).
limitnumbernoTop-level comments to return (1-50, default 15).

Example call

curl -X POST https://gateway.pipeworx.io/hackernews/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_hn_comments","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "hackernews": {
      "url": "https://gateway.pipeworx.io/hackernews/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 24, 2026