Hacker News MCP Server — Stories & Comments for AI Agents
Pricing
from $1.50 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
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
Search popular stories
{"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
| Field | Type | Default | Description |
|---|---|---|---|
searchQuery | string | "node.js" | Search term or phrase |
maxResults | integer | 30 | Max stories to return (max 200) |
sortBy | select | byPopularity | byPopularity (points) or byDate (recent) |
numericFilters | string | "" | Filter by points/date. E.g. points>100, created_at_i>1721800000 |
Output Fields
| Field | Type | Description |
|---|---|---|
objectID | string | Hacker News story ID |
title | string | Story title |
url | string | External article URL (or HN thread if no external link) |
hnUrl | string | Hacker News discussion thread URL |
points | integer | Upvote count |
author | string | Submitte r username |
num_comments | integer | Comment count |
created_at | string | ISO timestamp of submission |
storyText | string | Story/ask text (HTML stripped, truncated to 1000 chars) |
domain | string | Source domain (e.g., "github.com", "arstechnica.com") |
searchQuery | string | Original search term |
sortBy | string | Sort method used |
scrapedAt | string | Timestamp 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
| Version | Date | Changes |
|---|---|---|
| 0.0.1 | 2026-07-24 | Initial build — Algolia API, sort by date/popularity, numeric filters |
Support
- Open an issue for bugs or feature requests
- Leave a review — it helps others discover the tool