# Hacker News Top Stories

> Get the latest popular Hacker News stories with direct article links, authors, popularity scores, comment counts and publication times. No account or API key required.

Hacker News Top Stories is a free AI agent skill on Agensi by Angel Fernández, in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Angel Fernández](https://www.agensi.io/creators/angel-lisandro-dev)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/hacker-news-top-stories
- Tags: research, database, hacker-news, technology-news, python, developer-tools, programming, news

## What it does

- Fetches the latest popular stories from Hacker News
- Displays headlines and links to original articles
- Identifies the authors of each story
- Shows popularity scores and comment counts
- Displays publication dates and allows 1–30 results

## Who it's for

- **Founders keeping up with tech trends:** Stay informed about the latest technology shifts and startup news without manual searching. Try: "What are the top 5 stories on Hacker News right now?"
- **Software developers seeking discussion topics:** Find what the global developer community is talking about and join the most active debates. Try: "Get the top 10 stories from Hacker News and show me the comment counts."
- **Content creators in the tech space:** Gather trending topics and data for your next tech newsletter or social media post. Try: "Find 15 popular tech stories for my daily briefing."

## About this skill

### Hacker News Top Stories

Stay up to date with the latest technology news and developer discussions from Hacker News.

Hacker News Top Stories gives your AI agent access to current top-ranked stories through the official Hacker News API. Instead of manually browsing headlines, you can request a live list and receive structured information directly in your conversation.

#### How it works

1. Ask your AI agent for the latest Hacker News stories.
2. The skill executes its Python script.
3. The script retrieves current top-story IDs and their metadata from the official Hacker News Firebase API.
4. The agent receives structured JSON and presents the results in a readable format.

#### What you get

- Story titles and original article links.
- Hacker News usernames.
- Current popularity scores.
- Comment counts.
- Publication timestamps in UTC.
- Configurable results from 1 to 30 stories.

#### Frameworks and tools

- Python 3.
- Official Hacker News Firebase API.
- Python standard library.
- JSON.
- HTTP requests using urllib.
- Concurrent requests using ThreadPoolExecutor.

#### Why use this instead of prompting an AI?

An AI model cannot reliably know the latest Hacker News rankings from its training data. This skill retrieves current information directly from the official API rather than relying on outdated knowledge or guesses.

#### Use cases

- Prepare daily technology news briefings.
- Discover trending programming discussions.
- Monitor popular developer tools and projects.
- Research emerging technology topics.
- Find interesting stories for newsletters and content creation.

#### Known limitations

This skill retrieves Hacker News top-story metadata only. It does not read the full content of external articles or generate article summaries.

Scores and comment counts may change after retrieval. Results represent a snapshot at the time of execution.

## Requires

- Python 3.8+
- Internet connection

Requires Python 3.8+ and an internet connection. No external account or API key is required.

## Technical details

Python 3.8+ application using the official Hacker News Firebase API. The package includes SKILL.md and scripts/run.py. Uses only Python standard-library modules, including urllib, json, datetime and concurrent.futures. Returns structured JSON through standard output. Supports 1–30 stories. Requires internet access. No API keys or third-party dependencies.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Hacker News Top Stories skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this help my AI agent stay up to date with technology news?

This skill connects your AI agent to the live Hacker News website to find the most popular technology stories and developer discussions. It solves the problem of AI agents only knowing old information by letting them pull the very latest news, scores, and comments from this minute.

### Do I need to sign up for a Hacker News account or buy an API key to use this?

You do not need any accounts, API keys, or special software to use this. As long as your AI agent has access to Python and the internet, it can run the included script to get the news for you.

### What information will I actually see in my chat?

You get a clean list or table containing the story titles, the authors, how many points they have, and the number of comments. Each item includes a direct link to the article or the discussion page so you can read more.

### Is there a limit to how many news stories I can get at once?

This skill can pull between 1 and 30 stories at a time. By default, your agent will likely show you the top 10 stories unless you ask for a different amount within that range.

### Can this skill read the actual content of the news articles for me?

The skill retrieves the headlines and summary data like scores, but it cannot read the full text of the linked articles. It also only looks at the top stories list rather than searching through the entire history of the site.

### How do I tell my AI agent to get the news for me?

You can simply ask your agent to find the latest tech news from Hacker News or ask for a morning briefing on trending developer topics. You can also be specific, such as asking for the top 5 most discussed stories right now.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
