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 分