Connector guide1-minute read8 MCP toolsEnglish · Deutsch · Italiano

如何将 Hacker News 连接到 Gemini — 通过 MCP

通过官方 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

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

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
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

No install? Use cloud.anythingmcp.com directly.

Sign in, install the Hacker News in one click, paste the credentials, mint an MCP API key — done. No Docker, no git clone, no local server to run.

Open Cloud

TL;DR

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

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

Hacker News + Gemini

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

前提条件

请查看连接器中包含的完整设置说明(在您选择连接器时可在应用内商店中查看)。此连接器所需的环境变量为:

(无 — 公共 API)

第一步 — 获取凭据

此连接器封装了托管在 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 个请求。

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

第二步 — 安装适配器

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

第三步 — 在 Claude 中添加连接器

推荐路径 — 在 claude.ai web 上工作,无需编辑任何配置文件。

  1. 打开 claude.ai/customize/connectors
  2. 点击 "添加自定义连接器"
  3. 填写:
    • 名称: Hacker News
    • URL: https://cloud.anythingmcp.com/mcp
    • 认证: Bearer token → 粘贴您的 MCP API 密钥(来自 AnythingMCP → Profile → MCP API Keys → New Key
  4. 点击 连接 以授权。

所有工具将出现在您的聊天中 — 开始输入提示。

可用工具

工具功能
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 的数组)

常见问题

它是否适用于 Claude Code 和 Claude Desktop? 是的 — 两者都指向 https://cloud.anythingmcp.com/mcp

下一步

这份指南对您有帮助吗?

Ready to ship

Your Hacker agent is one click away.

Install the connector, paste the key, prompt Gemini. Free for 7 days, no credit card.

相关指南

H
connectors

如何通过 MCP 将 Hacker News 连接到 ChatGPT

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

H
connectors

如何通过 MCP 将 Hacker News 连接到 Claude

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

H
connectors

如何将 Hacker News 连接到 Cursor — 通过 MCP

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

H
connectors

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

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

SB
connectors

如何将 SAP Business One 连接到 Gemini — 通过 MCP

Drive SAP Business One ERP (popular Mittelstand SMB target in DACH) from any AI agent: business partners, items, sales orders, A/R invoices, quotations, deliveries. Service Layer OData v4. Session-cookie auth via /Login.

SC
connectors

如何将 SAP Concur 连接到 Gemini — 通过 MCP

Manage Concur expense reports, approvals, attendees, locations, users and travel itineraries from any AI agent. OAuth 2.0 refresh-token flow. Free developer sandbox on developer.concur.com.