Hacker News MCP Server — Stories & Comments for AI Agents avatar

Hacker News MCP Server — Stories & Comments for AI Agents

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Hacker News MCP Server — Stories & Comments for AI Agents

Hacker News MCP Server — Stories & Comments for AI Agents

MCP Server for Hacker News. Fetch top stories, new posts, job listings, and comments. AI-agent ready — perfect for developer news monitoring and AI research pipelines.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

petteri mähönen

petteri mähönen

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

Hacker News MCP Server — Stories Search & Trends for AI Agents

Search and scrape Hacker News stories via the Algolia API. Find the most popular or most recent stories by keyword, with points, comments, author, and story text.

🧠 MCP Server — AI Agent Ready

This actor is a Model Context Protocol (MCP) server — AI assistants (Claude, GPT, Cursor) can call it directly:

{
"searchQuery": "node.js",
"maxResults": 10,
"sortBy": "byPopularity"
}

Returns structured data: title, URL, points, author, comments, domain — perfect for developer news monitoring, trend analysis, and AI research pipelines.

Features

  • Full HN archive — searches 10M+ stories (back to 2006)
  • Sort by popularity or date — hottest first or newest first
  • Numeric filters — filter by points (points>100), date, or comments
  • Structured output — title, URL, points, author, comments, story text, domain, HN thread URL
  • CheerioCrawler — JSON API, 256MB RAM, ~0.5s per query
  • No API key needed — free Algolia API, no authentication
  • No proxy needed — fully accessible from datacenter IPs

Quick Start

{
"searchQuery": "node.js",
"maxResults": 30,
"sortBy": "byPopularity"
}

Search recent stories about AI

{
"searchQuery": "artificial intelligence",
"maxResults": 20,
"sortBy": "byDate"
}

Filter by high-quality posts

{
"searchQuery": "rust",
"maxResults": 10,
"sortBy": "byPopularity",
"numericFilters": "points>200"
}

Input Parameters

FieldTypeDefaultDescription
searchQuerystring"node.js"Search term or phrase
maxResultsinteger30Max stories to return (max 200)
sortByselectbyPopularitybyPopularity (points) or byDate (recent)
numericFiltersstring""Filter by points/date. E.g. points>100, created_at_i>1721800000

Output Fields

FieldTypeDescription
objectIDstringHacker News story ID
titlestringStory title
urlstringExternal article URL (or HN thread if no external link)
hnUrlstringHacker News discussion thread URL
pointsintegerUpvote count
authorstringSubmitte r username
num_commentsintegerComment count
created_atstringISO timestamp of submission
storyTextstringStory/ask text (HTML stripped, truncated to 1000 chars)
domainstringSource domain (e.g., "github.com", "arstechnica.com")
searchQuerystringOriginal search term
sortBystringSort method used
scrapedAtstringTimestamp of scrape

Use Cases

  • Trend monitoring — track what the HN community is discussing about your industry
  • Content research — find popular articles and discussions by keyword
  • Lead generation — identify active HN users and discussions in your space
  • Data analysis — analyze HN story patterns, point distributions, domain popularity
  • Personal feeds — build custom HN search feeds for specific topics

Pricing

$1.50 / 1,000 results — pay only for what you scrape. No monthly subscription.

Changelog

VersionDateChanges
0.0.12026-07-24Initial build — Algolia API, sort by date/popularity, numeric filters

Support