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.
Say what should happen.
The workflow builds itself.
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
get_ask_storiesGet ask storiesGETReturns the ids of the Ask HN stories on Hacker News.get_best_storiesGet best storiesGETReturns the ids of the best stories on Hacker News.get_job_storiesGet job storiesGETReturns the ids of the job postings on Hacker News.get_new_storiesGet new storiesGETReturns the ids of the newest stories on Hacker News.get_show_storiesGet show storiesGETReturns the ids of the Show HN stories on Hacker News.get_top_storiesGet top storiesGETReturns the ids of the top stories on Hacker News.
Item, 3 operations
get_itemGet itemGETFetches one Hacker News item by id.get_item_with_commentsGet item with commentsGETFetches a Hacker News story with its full nested comment tree.get_max_item_idGet max item idGETReturns the newest item id on Hacker News.
Search result, 2 operations
search_storiesSearch storiesGETSearches Hacker News by keyword, ranked by relevance.search_stories_by_dateSearch stories by dateGETSearches Hacker News with the newest matches first.
User, 2 operations
get_userGet userGETFetches a Hacker News user profile.get_user_profileGet user profileGETFetches a Hacker News user profile from the search index.
Update, 1 operation
get_updatesGet updatesGETReturns 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 mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Hacker News
- Create your workspace
Sign up free. Nothing to install.
- Connect Hacker News once
Hacker News needs no credential, so its tools work immediately.
- 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.
