New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Search Hacker News stories and comments using the free

Hacker news scraper

by gooseworks-ai · MIT license · ★ 1,220 on GitHub · updated Sep 21

Hacker news scraper cover

Search Hacker News stories and comments using the free Algolia API. No Apify token needed.

---
name: hacker-news-scraper
description: >
  Search Hacker News stories and comments using the free Algolia API.
  No Apify token needed. Use when you need to find HN discussions, track mentions,
  discover Show HN launches, or monitor tech community sentiment.
---

# Hacker News Scraper

Search Hacker News using the free [Algolia HN Search API](https://hn.algolia.com/api). No Apify token or API key needed.

## Quick Start

Only dependency: `pip install requests`.

```bash
# Stories about AI content marketing in last week

Overview

Search Hacker News using the free Algolia HN Search API. No Apify token or API key needed.

Manual install (npx, ZIP)
Claude Codenpx skills add gooseworks-ai/goose-skills --skill hacker-news-scraper -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/gooseworks-ai/goose-skills/tar.gz/615c685f34f8 \ | tar -xz -C ~/.claude/skills --strip-components=4 goose-skills-615c685f34f8/skills/monitoring/capabilities/hacker-news-scraper
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/1636ccdd330da877618c/hacker-news-scraper.zip" -OutFile "$env:TEMP\hacker-news-scraper.zip"; Expand-Archive "$env:TEMP\hacker-news-scraper.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md2.1 KB
  • skill.meta.json263 B
  • scripts/1 file · 5.4 KB
Read the files here
gooseworks-ai/615c6853 files
SKILL.md
Show the full text70 lines
hacker-news-scraper/SKILL.md70 lines · 2.1 KB

Hacker News Scraper

Search Hacker News using the free Algolia HN Search API. No Apify token or API key needed.

Quick Start

Only dependency: pip install requests.

# Stories about AI content marketing in last week
python3 skills/hacker-news-scraper/scripts/search_hn.py \
  --query "AI content marketing" --days 7

# Show HN posts in last month (summary view)
python3 skills/hacker-news-scraper/scripts/search_hn.py \
  --query "" --tags show_hn --days 30 --output summary

# Comments mentioning a specific tool
python3 skills/hacker-news-scraper/scripts/search_hn.py \
  --query "LangChain" --tags comment --days 14 --max-results 20

How the Script Works

  1. Queries the Algolia HN Search API (search_by_date endpoint)
  2. Uses numericFilters=created_at_i>{unix_timestamp} for server-side date filtering
  3. Paginates until max-results reached
  4. Normalizes results to a consistent schema
  5. Applies optional keyword filtering (client-side)
  6. Sorts by points (descending) and outputs JSON or summary

CLI Reference

Flag Default Description
--query required Search query
--days 7 How many days back to search
--tags story Item type: story, comment, ask_hn, show_hn
--max-results 50 Max results to return
--keywords none Additional filter keywords (comma-separated, OR logic)
--output json Output format: json or summary

Output Format

{
  "id": "12345678",
  "title": "Show HN: My new tool",
  "url": "https://example.com",
  "author": "username",
  "points": 42,
  "num_comments": 15,
  "created_at": "2026-02-18T12:00:00.000Z",
  "hn_url": "https://news.ycombinator.com/item?id=12345678",
  "text": ""
}

Cost

Free. No API key, no rate limits (within reason), no Apify credits.

1---
2name: hacker-news-scraper
3description: >
4 Search Hacker News stories and comments using the free Algolia API.
5 No Apify token needed. Use when you need to find HN discussions, track mentions,
6 discover Show HN launches, or monitor tech community sentiment.
7---
8 
9# Hacker News Scraper
10 
11Search Hacker News using the free [Algolia HN Search API](https://hn.algolia.com/api). No Apify token or API key needed.
12 
13## Quick Start
14 
15Only dependency: `pip install requests`.
16 
17```bash
18# Stories about AI content marketing in last week
19python3 skills/hacker-news-scraper/scripts/search_hn.py \
20 --query "AI content marketing" --days 7
21 
22# Show HN posts in last month (summary view)
23python3 skills/hacker-news-scraper/scripts/search_hn.py \
24 --query "" --tags show_hn --days 30 --output summary
25 
26# Comments mentioning a specific tool
27python3 skills/hacker-news-scraper/scripts/search_hn.py \
28 --query "LangChain" --tags comment --days 14 --max-results 20
29```
30 
31## How the Script Works
32 
331. Queries the Algolia HN Search API (`search_by_date` endpoint)
342. Uses `numericFilters=created_at_i>{unix_timestamp}` for server-side date filtering
353. Paginates until max-results reached
364. Normalizes results to a consistent schema
375. Applies optional keyword filtering (client-side)
386. Sorts by points (descending) and outputs JSON or summary
39 
40## CLI Reference
41 
42| Flag | Default | Description |
43|------|---------|-------------|
44| `--query` | *required* | Search query |
45| `--days` | 7 | How many days back to search |
46| `--tags` | story | Item type: `story`, `comment`, `ask_hn`, `show_hn` |
47| `--max-results` | 50 | Max results to return |
48| `--keywords` | none | Additional filter keywords (comma-separated, OR logic) |
49| `--output` | json | Output format: `json` or `summary` |
50 
51## Output Format
52 
53```json
54{
55 "id": "12345678",
56 "title": "Show HN: My new tool",
57 "url": "https://example.com",
58 "author": "username",
59 "points": 42,
60 "num_comments": 15,
61 "created_at": "2026-02-18T12:00:00.000Z",
62 "hn_url": "https://news.ycombinator.com/item?id=12345678",
63 "text": ""
64}
65```
66 
67## Cost
68 
69**Free.** No API key, no rate limits (within reason), no Apify credits.
70 
View all files on GitHub →

Details

Updated
Sep 21, 2026
License
MIT
Stars on the repo
★ 1,220
Checked
Source
gooseworks-ai/goose-skills ↗
Creator
gooseworks-ai · 206 listings
View creator

Made with hacker-news-scraper

Hacker news scraper — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)
Hacker news scraper — CleanShot 2026-07-13 at 20 16 54@2x (from the gooseworks-ai/goose-skills README)

by gooseworks-ai

Similar skills

See all →
SkillAct as the company research engine for /sales research <urlCompany Research & Firmographic Analysiszubair-trabzada/ai-sales-team-claude · by zubair-trabzadaYou are the company research engine for /sales research <url>. You produce deep, structured intelligence on a prospect company covering 8…★ 1.4k GitHub starsSkillEthical people-finding and identity verificationPrivateinvestigatordanielmiessler/LifeOS · by danielmiesslerEthical people-finding and identity verification via parallel research agents across people-search sites, social media, public records, and reverse phone/email/image/username lookups, with confidence-scored results requiring 3+ matching identifiers. USE WHEN find person, locate person, reconnect, lost contact, old friend, reverse phone lookup, who owns this email, reverse image search, find by username, verify identity, people search, public-data background check, who is this caller. NOT FOR structured due-diligence or company/entity intelligence investigations, or general web research synthesis (use Research).★ 19.3k GitHub starsSkillFree People Search to discover ICP-matching leadsApollo lead findergooseworks-ai/goose-skills · by gooseworks-aiTwo-phase Apollo.io prospecting: free People Search to discover ICP-matching leads, then selective enrichment to reveal emails/phones (credits per contact). Creates Apollo lists. Deduplicates against existing contacts by LinkedIn URL.★ 1.2k GitHub starsSkillFind decision-makers at a specific company using ApolloCompany contact findergooseworks-ai/goose-skills · by gooseworks-aiFind decision-makers at a specific company using Apollo, Crustdata, Fiber, and PDL people search via Gooseworks MCP. Given a company name and target titles, returns a list of contacts with name, title, LinkedIn URL, and location.★ 1.2k GitHub starsSkillFind company funding history, investorsCompany funding searchgooseworks-ai/goose-skills · by gooseworks-aiFind company funding history, investors, and investment details★ 1.2k GitHub starsSkillFull company intelligence reportCompany Intelligence - Comprehensive Company Reportsgooseworks-ai/goose-skills · by gooseworks-aiFull company intelligence report - overview, team, funding, products, news★ 1.2k GitHub stars

More from gooseworks-ai

SkillMine the highest-converting ad angles from customer reviewsAd angle minergooseworks-ai/goose-skills · by gooseworks-aiMine the highest-converting ad angles from customer reviews, Reddit complaints, support tickets, and competitor ads. Extracts actual pain language, competitor weaknesses, and outcome phrases that real buyers use. Outputs a ranked angle bank with proof quotes and recommended ad formats per angle.★ 1.2k GitHub starsSkillAnalyze ad campaign performance data to identify what'sAd campaign analyzergooseworks-ai/goose-skills · by gooseworks-aiAnalyze ad campaign performance data (Google, Meta, LinkedIn) to identify what's working, what's wasting budget, and specific cut/scale/test recommendations. Runs statistical analysis, funnel diagnostics, and multi-channel budget reallocation with specific dollar-amount shift recommendations and scenario modeling.★ 1.2k GitHub starsSkillFor paid lead-gen and participant-recruitment adsAd lead quality analyzergooseworks-ai/goose-skills · by gooseworks-aiFor paid lead-gen and participant-recruitment ads, replaces vanity CPA with true CAC per qualified lead by joining ad-platform data with downstream funnel events, surfaces tracking gaps, and classifies every creative into Scale / Keep / Investigate / Cut.★ 1.2k GitHub starsSkillAnalyze the message match between your ads and landing pagesAd to landing page auditorgooseworks-ai/goose-skills · by gooseworks-aiAnalyze the message match between your ads and landing pages. Checks if the promise in the ad copy carries through to the landing page headline, body, and CTA. Flags disconnects that kill conversion rates. Works with Google, Meta, and LinkedIn ads.★ 1.2k GitHub starsSkillCheck and improve your brand's visibility across AI searchAeogooseworks-ai/goose-skills · by gooseworks-aiCheck and improve your brand's visibility across AI search engines (ChatGPT, Perplexity, Gemini, Grok, Claude, DeepSeek). Set up tracking, run visibility analyses, audit your website for AI readability, and get actionable recommendations. Uses the npx goose-aeo@latest CLI.★ 1.2k GitHub starsSkillSearch Amazon products - find items, compare pricesAmazon Product Searchgooseworks-ai/goose-skills · by gooseworks-aiSearch Amazon products - find items, compare prices, read reviews★ 1.2k GitHub stars