getHackerNewsStory

Free

Get one Hacker News story or comment by id with its discussion thread: title, link, points and the comments with their depth and reply counts. Use it to read what was said in a specific discussion.

Try it

Open in playground
kirha tools run hackernews_getHackerNewsStory \
  --input '{
    "id": "<id>"
  }'

Uses the key saved by kirha auth login.

  • idstring, required

    Item id or news.ycombinator.com item URL

  • limitinteger, default 30, 1 to 150
  • maxDepthinteger, default 2, 1 to 6

    1 keeps top-level comments only

Works in any harness

Get your API key, then install with one command

  • Claude Code
  • OpenCode
  • π
  • Windsurf
  • Gemini CLI
  • Codex
  • Cursor
  • GitHub Copilot