Skip to content

Hacker News

Hacker News item

Fetch one Hacker News story or comment by id, with its comment tree.

Free Hacker NewsNewshackernews/itemActive

Use this tool with your agent

Give this to your agent
Use my connected Agentik MCP server. I want to use the tool hackernews/item (Hacker News item). Call inspect_tool with {"tool_id": "hackernews/item"} first and tell me the price before anything runs. Ask me for the inputs it needs; never invent values, IDs or file URLs. When I confirm, call run_tool with tool_id "hackernews/item" and my inputs, follow it with get_run if it is still running, and give me the result and the price Agentik reports. If the tool is unavailable, say so and use discover_tools to propose an alternative.
Show the prompt

Paste it into Claude, ChatGPT or Codex: your agent takes it from there, and shows the price before it runs.

Parameters

NameTypeRequiredDescription
idintegerYes

How your agent calls it

First inspect_tool for the current schema and price, then run_tool with the published example after confirming your inputs:

{
  "tool_id": "hackernews/item",
  "input": {
    "id": 1
  }
}

Price and billing

Price
Free
Model
Per call
Detail
No charge per call. A workspace is still needed so your agent can call it.
License
HN Search API (Algolia), free
Attribution
Data from Hacker News via Algolia
  • The provider’s price, 0% markup.
  • One prepaid balance for every provider; your agent sees the price before it runs.
  • Pay for measured usage; unused reservations are released.