Google News

io.github.lewisdonovan由 GitHub 账号 lewisdonovan 发布v0.1.2更新于 Nov 5, 2026

Search Google News, get top stories and read articles. No API key or headless browser.

概览

AI 生成的概览

抓取 Google 新闻,让助手搜索文章、按国家或主题查看头条,并读取文章正文,无需 API 密钥。

可以做什么
  • 按关键词搜索新闻,可限定时间范围、语言和国家,并支持引号、OR、site: 等 Google 运算符
  • 获取某国家与语言下的当前头条,或某个 Google 新闻主题页的文章
  • 抓取文章链接并返回可读正文、标题、作者署名和发布时间
  • 每条结果包含标题、链接、来源、来源网址和时间,且使用真实发布方网址而非 Google 跳转链接
适用场景
适合需要实时新闻的场景:追踪某公司或产品的报道、汇总某国头条、或阅读搜索到的某篇文章。适用于能自行启动本地进程的桌面 MCP 客户端。
运行要求
作为本地 stdio 进程由 MCP 客户端启动,通过 npx 安装 npm 包 google-news-scraper-mcp;多数客户端需要 Node.js 20.19 或更高版本(Claude Desktop 自带 Node.js)。无需账号或 API 密钥。可选设置环境变量 GOOGLE_NEWS_THIRD_PARTY_APIKEY 提供 SerpApi 密钥,并用 GOOGLE_NEWS_THIRD_PARTY_PRIMARY 选择优先数据源。需要能访问 Google 新闻和文章页面。
安装前请注意
Google 会对繁忙 IP 限流,大量使用可能被暂时封禁;SerpApi 密钥是备用方案,每次调用会消耗一次 SerpApi 搜索额度。可选密钥通过环境变量 GOOGLE_NEWS_THIRD_PARTY_APIKEY 传入。查询内容会发送给 Google 新闻或 SerpApi,并会抓取所请求的文章页面,因此第三方能看到你查询的内容。付费墙或仅靠 JavaScript 渲染的页面可能无法返回正文。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Google News,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

📰 Google News MCP

Give any AI agent live news. This Model Context Protocol server lets Claude, Cursor, VS Code and other MCP clients search Google News, read the top stories in any country, and pull the text of an article.

It's built on google-news-scraper, so there's no API key, no account and no headless browser. Results come with the real publisher URL rather than a Google redirect link.

Tools

ToolWhat it does
search_newsSearch for articles on any keyword, with a timeframe (12h, 7d, 6m), language and country. Supports Google operators such as quotes, OR and site:.
top_storiesThe current top stories for a country and language, or the stories on a Google News topic page.
get_article_textFetch an article URL and return its readable body text, title, byline and publish time.

Each article comes back as { title, link, source, sourceUrl, datetime }.

Setup

Your MCP client starts the server itself, so there's nothing to keep running.

Claude Desktop

Download google-news.mcpb and double-click it, or drag it into Settings → Extensions. Claude Desktop installs it with its own Node.js, so you don't need Node installed.

Claude Code

bash
/plugin install google-news --marketplace lewisdonovan/google-news-scraper

Or add the server directly with claude mcp add google-news -- npx -y google-news-scraper-mcp.

Cursor, Windsurf and most other clients

Requires Node.js 20.19 or later.

Add this to the client's MCP config (.cursor/mcp.json, claude_desktop_config.json, and so on):

json
{  "mcpServers": {    "google-news": {      "command": "npx",      "args": ["-y", "google-news-scraper-mcp"]    }  }}

VS Code

bash
code --add-mcp '{"name":"google-news","command":"npx","args":["-y","google-news-scraper-mcp"]}'

Optional: a fallback when Google blocks you

Google rate-limits busy IPs, which is common on cloud servers. If you have a SerpApi key, the server can fetch results through SerpApi's Google News API instead. Set these environment variables in your client's MCP config:

VariableWhat it does
GOOGLE_NEWS_THIRD_PARTY_APIKEYYour SerpApi API key. Without it, only the free scraper is used.
GOOGLE_NEWS_THIRD_PARTY_PRIMARYtrue (default) calls SerpApi first and scrapes only if it fails. false scrapes first and calls SerpApi only if Google can't be reached.
json
{  "mcpServers": {    "google-news": {      "command": "npx",      "args": ["-y", "google-news-scraper-mcp"],      "env": { "GOOGLE_NEWS_THIRD_PARTY_APIKEY": "your-key", "GOOGLE_NEWS_THIRD_PARTY_PRIMARY": "false" }    }  }}

In Claude Desktop, enter the key in the extension's settings instead. Each SerpApi call uses one of your SerpApi searches.

Example prompts

  • "What's the latest news on Nvidia from the past day?"
  • "Summarise today's top stories in Germany, in English."
  • "Find coverage of our product launch on techcrunch.com this month and read the most recent article."

Notes

  • Google rate-limits bursts of requests from one IP. The scraper retries with backoff, but very heavy use can still get temporarily blocked. A third-party key keeps results coming.
  • get_article_text reads the page's HTML directly, so paywalled pages and sites that only render with JavaScript may return an error.

Privacy

The server collects and stores nothing. It sends your queries to Google News, or to SerpApi if you set a key, and fetches the article pages you ask it to read. See the privacy policy.

License

MIT

来源:mcp/README.md,提交 f4cdf85

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Oct 15, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分