Get started free
All integrations

Hacker News integration

Hacker News through the official Firebase read API and the Algolia search index: fetch stories, comments, polls and jobs by id, read user profiles and karma, pull the top, new, best, Ask, Show and job rankings, follow the live update feed, and run keyword or date-ordered searches with tag and numeric filters. Entirely public and read-only.

14 toolsNo key neededAPI docs

Common Hacker News use cases

  • building a digest of what is on Hacker News right now
  • monitoring the front page for a topic
  • alerting on new mentions of a brand
  • checking the standing of a commenter
  • checking an author before quoting them
  • keeping a cached copy of stories in sync
  • resolving the ids returned by a ranking list
  • analysing the sentiment of a whole discussion
  • sweeping every item posted since a previous run
  • finding the discussion about a product or company

What you can do with Hacker News

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Story, 6 operations

  • GETget_ask_stories

    Returns the ids of the Ask HN stories on Hacker News.

  • GETget_best_stories

    Returns the ids of the best stories on Hacker News.

  • GETget_job_stories

    Returns the ids of the job postings on Hacker News.

  • GETget_new_stories

    Returns the ids of the newest stories on Hacker News.

  • GETget_show_stories

    Returns the ids of the Show HN stories on Hacker News.

  • GETget_top_stories

    Returns the ids of the top stories on Hacker News.

Item, 3 operations

  • GETget_item

    Fetches one Hacker News item by id.

  • GETget_item_with_comments

    Fetches a Hacker News story with its full nested comment tree.

  • GETget_max_item_id

    Returns the newest item id on Hacker News.

Search result, 2 operations

  • GETsearch_stories

    Searches Hacker News by keyword, ranked by relevance.

  • GETsearch_stories_by_date

    Searches Hacker News with the newest matches first.

User, 2 operations

  • GETget_user

    Fetches a Hacker News user profile.

  • GETget_user_profile

    Fetches a Hacker News user profile from the search index.

Update, 1 operation

  • GETget_updates

    Returns recently changed Hacker News items and profiles.

Use Hacker News from Claude Code, Cursor or Codex

Connect Hacker News in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Hacker News operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Hacker News

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Hacker News once

    Hacker News needs no credential, so its tools work immediately.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Hacker News integration FAQ

What can you do with the Hacker News integration?
LiveContext exposes 14 operations on Hacker News, covering story, item, search result and user. Common uses include building a digest of what is on Hacker News right now, monitoring the front page for a topic and alerting on new mentions of a brand.

Popular integrations

Browse the whole catalog