# Hacker News top stories (x402)

> Hacker News top stories (x402) is a paid MCP server for news and media. Pay-per-call MCP server returning current Hacker News top stories with scores and links. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Platforms:** API
- **Website:** https://store.agentexchange.work
- **MCP Registry name:** work.agentexchange/hacker-news-top
- **Categories:** [news and media](https://ai-powered.com/categories/news-and-media)
- **Listing updated:** 2026-11-20

## About

This server exposes a single streamable-HTTP endpoint that returns the current top Hacker News stories along with their scores and links. It is hosted on the AgentExchange store, which sells pay-per-call access to its research tools using USDC on Base through the x402 protocol.

There is no account or API key to set up. An agent or client connects to the endpoint, calls the story-listing tool, and pays for each request in the x402 flow. The store also sells one-time credits and reports on the same site, but this server is specifically the Hacker News feed.

It suits developers and agents that need a fresh snapshot of trending tech discussion without maintaining their own scraper or Hacker News API integration.

## Features

- **Live top stories:** Returns the stories currently at the top of Hacker News.
- **Scores and links:** Each story comes with its point score and the URL it links to.
- **Pay per call:** Each request is paid in USDC on Base via x402, with no subscription.
- **No account required:** Clients connect over streamable HTTP without signing up or managing a key.

## Good for

- Feed trending tech headlines into an agent's daily briefing
- Monitor which Hacker News stories are gaining traction on a given day
- Give an AI assistant access to current Hacker News discussion

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http hacker-news-top 'https://store.agentexchange.work/research/mcp?tools=hn_top_stories'
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "type": "http",
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://store.agentexchange.work/research/mcp?tools=hn_top_stories
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "type": "http",
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://store.agentexchange.work/research/mcp?tools=hn_top_stories
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add hacker-news-top --url 'https://store.agentexchange.work/research/mcp?tools=hn_top_stories'
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.hacker-news-top]
url = "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "httpUrl": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http hacker-news-top 'https://store.agentexchange.work/research/mcp?tools=hn_top_stories'

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "serverUrl": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "type": "streamableHttp",
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "hacker-news-top": {
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://store.agentexchange.work/research/mcp?tools=hn_top_stories
```

Enter a Name (for example "Hacker News top stories (x402)"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "hacker-news-top": {
      "type": "http",
      "url": "https://store.agentexchange.work/research/mcp?tools=hn_top_stories"
    }
  }
}
```

## Tools

The server marks all 1 tool read-only. From the server's own tool labels and tool names; not verified by us.

- `hn_top_stories` (says read-only): $0.09 via x402: Hacker News top stories with score, author, comment count and links. Live.

## FAQ

### How do I connect to Hacker News top stories (x402)?

It runs over streamable HTTP at the store's research MCP endpoint with the hn_top_stories tool enabled.

### How is Hacker News top stories (x402) paid for?

Each call is paid in USDC on Base through the x402 protocol, so no account or subscription is needed.

### How do I add Hacker News top stories (x402) to Claude Code?

Run this command in your terminal: claude mcp add --transport http hacker-news-top 'https://store.agentexchange.work/research/mcp?tools=hn_top_stories'

### What are the best alternatives to Hacker News top stories (x402)?

The closest alternatives to Hacker News top stories (x402) are Hacker News Mcp, UK Data: News and feeds, Hacker News Trending, Hacker News MCP by UnClick and Hacker News Metrics — Story Scores & Comment Counts.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Hacker News Mcp](https://ai-powered.com/mcp/hacker-news-mcp-2): Hacker News Mcp is a freemium MCP server for news and media.
- [UK Data: News and feeds](https://ai-powered.com/mcp/uk-data-news-and-feeds): UK Data: News and feeds is a freemium MCP server for news and media.
- [Hacker News Trending](https://ai-powered.com/mcp/hacker-news-trending): Hacker News Trending is a freemium MCP server for news and media.
- [Hacker News MCP by UnClick](https://ai-powered.com/mcp/hacker-news-mcp-by-unclick): Hacker News MCP by UnClick is an open-source MCP server for news and media.
- [Hacker News Metrics — Story Scores & Comment Counts](https://ai-powered.com/mcp/hacker-news-metrics-story-scores-and-comment-counts): Hacker News Metrics — Story Scores & Comment Counts is a paid MCP server for developer tools.
- [Google News data for agents](https://ai-powered.com/mcp/google-news-data-for-agents): Google News data for agents is a paid MCP server for news and media.
- [Hn Pulse MCP](https://ai-powered.com/mcp/hn-pulse-mcp): Hn Pulse MCP is an MCP server for news and media.
- [News MCP Server](https://ai-powered.com/mcp/news-mcp-server): News MCP Server is a paid MCP server for news and media.

---
Source: https://ai-powered.com/mcp/hacker-news-top-stories-x402
