Connector guide1-minute read8 MCP toolsEN · DE · IT

Hacker News 到 MCP — 从任何 AI 代理驱动 Hacker News

通过官方 Firebase API 从任何 AI 代理读取 Hacker News(故事、评论、用户、热门/最新/最佳/提问/展示/工作列表)。8 个工具,无需认证。

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

Hacker News

MCP connector

Hacker News

Read Hacker News (stories, comments, users, top/new/best/ask/show/job lists) from any AI agent via the official Firebase API. 8 tools, no auth.

Tools

8

Region

INTL

Category

Data & Analytics

Authentication

Public API

Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Hacker News in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

通过官方 Firebase API 从任何 AI 代理读取 Hacker News(故事、评论、用户、热门/最新/最佳/提问/展示/工作列表)。8 个工具,无需认证。

试试这样问

Hacker News 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Hacker News · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 不想安装?直接使用 cloud.anythingmcp.com 登录,点击 Connectors → Hacker News,粘贴你的凭据,生成一个 MCP API 密钥 — 完成。无需 Docker,无需 git clone,无需本地服务器。

Hacker News

通过官方 Firebase API 从任何 AI 代理读取 Hacker News(故事、评论、用户、热门/最新/最佳/提问/展示/工作列表)。8 个工具,无需认证。

设置

此连接器封装了托管在 Firebase 上的官方 Hacker News API (hacker-news.firebaseio.com)。

设置:无。该 API 是公开的,只读且无需认证。

无写入权限:官方 API 是只读的。无法通过此连接器发布故事、评论或投票 — 这些操作需要通过向 news.ycombinator.com 提交 HTML 登录表单获得的会话 cookie,这超出了 MCP 适配器的范围。

两步模式:列表端点仅返回整数 ID 数组(例如,前 500 个故事 ID)。然后,你必须通过 hackernews_get_item 获取每个 ID,以获取实际的标题/网址/文本/分数。请做好计划 — 获取 500 个热门故事意味着 501 次请求。

…(在应用内连接器说明中继续)

先决条件(无 — 公开 API)

在本地安装连接器

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

打开 http://localhost:3000/connectors/store,选择 Hacker News 并粘贴在先决条件下列出的环境变量。

可用工具

工具功能
hackernews_top_stories返回当前首页(热门)故事的最多 500 个项目 ID 的数组
hackernews_new_stories返回最多 500 个最新故事 ID 的数组
hackernews_best_stories返回最多 500 个“最佳”故事 ID 的数组(HN 的算法推荐)
hackernews_ask_stories返回最多 200 个 Ask HN 故事 ID
hackernews_show_stories返回最多 200 个 Show HN 故事 ID
hackernews_job_stories返回最多 200 个“谁在招聘/工作”故事 ID
hackernews_get_item通过 ID 获取单个项目(故事、评论、工作、投票、投票选项)
hackernews_get_user通过区分大小写的用户名获取用户资料:返回 idcreatedkarmaaboutsubmitted(最近项目 ID 的数组)

下一步

这份指南对你有帮助吗?

Ready to ship

Your Hacker agent is one click away.

Install the connector, paste the key, prompt any MCP client. Free for 7 days, no credit card.

相关指南