Hacker News data API

9 endpoints for Hacker News: search, item, post comments, trending, profile, ask, show, jobs, new. One API key, one JSON schema, as MCP tools or REST.

Endpoints

Call any of them over MCP with call_endpoint and its path, or over REST.

EndpointReturnsCreditsCache
searchGET /v1/hackernews/searchSearch Hacker News stories and comments, ranked by relevance.12 min
itemGET /v1/hackernews/itemOne story or comment by id, with its score and comment count.110 min
post/commentsGET /v1/hackernews/post/commentsComments on one Hacker News post, replies included.15 min
trendingGET /v1/hackernews/trendingStories on the Hacker News front page.130 min
profileGET /v1/hackernews/profileA Hacker News user by username: karma, about text, account creation date and how many items they submitted.115 min
askGET /v1/hackernews/askAsk Hacker News discussion posts, newest ranking first.12 min
showGET /v1/hackernews/showShow Hacker News launch posts with their points and comment counts.12 min
jobsGET /v1/hackernews/jobsWho is hiring posts on Hacker News, with the posting company in the title.12 min
newGET /v1/hackernews/newNewest submissions on Hacker News, in submission order rather than by score.12 min

Connect your agent over MCP

Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.

Claude Code · Run in a terminal
claude mcp add --transport http krilldata \
  https://data.openkrill.app/mcp \
  --header "x-api-key: YOUR_API_KEY"
Cursor · Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "krilldata": {
      "url": "https://data.openkrill.app/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}
Claude Desktop · Add to claude_desktop_config.json
{
  "mcpServers": {
    "krilldata": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://data.openkrill.app/mcp",
        "--header",
        "x-api-key:${API_KEY}"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}
Hacker News data API for AI agents | KrillData