Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the NewsAPI 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.
Summary
通过任何 AI 代理从 newsapi.org 搜索全球新闻头条、来源和文章。3 个工具,API 密钥认证。
试试这样问
NewsAPI 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 不想安装?直接使用 cloud.anythingmcp.com。 登录,点击 Connectors → NewsAPI,粘贴你的凭据,生成 MCP API 密钥 — 完成。无需 Docker,无需
git clone,无需本地服务器。
NewsAPI
通过任何 AI 代理从 newsapi.org 搜索全球新闻头条、来源和文章。3 个工具,API 密钥认证。
设置
此连接器封装了 NewsAPI v2 REST API (newsapi.org)。
设置:
- 在 https://newsapi.org/register 注册以获取免费的开发者密钥。
- 设置
NEWSAPI_API_KEY。
认证:NewsAPI 接受密钥作为 X-Api-Key 头(此适配器使用)或 apiKey 查询字符串。我们使用头部以避免在 URL 日志中出现。
计划限制 — 重要:
- 开发者(免费):每天 100 次请求,文章延迟 24 小时,不得用于商业用途,结果每次查询限制为 100 条。
- 付费计划:实时文章,无每日限制,完整历史档案。
…(在应用内连接器说明中继续)
先决条件:NEWSAPI_API_KEY
本地安装连接器
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
打开 http://localhost:3000/connectors/store,选择 NewsAPI 并粘贴在先决条件下列出的环境变量。
可用工具
| 工具 | 功能 |
|---|---|
newsapi_everything | 从 80k+ 来源的数百万篇文章中进行全面搜索 |
newsapi_top_headlines | 突发新闻头条 |
newsapi_sources | 列出 NewsAPI 跟踪的所有新闻来源 |
下一步
这份指南对你有帮助吗?