Google News (via Apify)

io.github.retracnv1.0.0更新於 Oct 5, 2026

Google News for AI agents: headlines, sources, dates and article URLs, with time filters.

已驗證Streamable HTTP可網頁執行Web Search & ScrapingMedia & Design

概覽

AI 產生的概覽

讓助理透過 Apify 搜尋 Google 新聞,回傳標題、來源、日期與文章連結,並支援時間篩選。

功能
這個遠端 MCP 伺服器封裝了一個 Apify Actor,可依任意主題、公司或關鍵字查詢 Google 新聞。每筆結果包含標題、摘要、來源、ISO 格式的發布時間,以及發布者的文章連結。搜尋支援從過去一小時到過去一年的時間篩選、依相關度或日期排序、任意國家與語言,每次搜尋最多 300 篇文章。它只回傳中繼資料與連結,不回傳文章全文。
適用情境
當助理需要某主題、公司或關鍵字的最新新聞報導、來源追蹤或帶日期的標題時使用。適合研究、監測與簡報類任務,尤其是文章連結與發布時間比全文更重要時。
執行需求
需要網路存取 mcp.apify.com 上的遠端 MCP 端點。必須提供 Apify API 權杖,透過 Authorization 標頭以 Bearer 權杖形式傳送;免費 Apify 帳號即可取得。依回傳的文章數量計費。
安裝前請注意
Authorization 標頭攜帶 Apify API 權杖,應視為機密,避免在共用設定或日誌中外洩。搜尋會消耗付費 Apify 額度,價格為每 1,000 篇文章 1 美元,每月有 5 美元免費額度。查詢與結果會經 Apify 與 Google 新聞處理,請避免送出敏感關鍵字。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Google News (via Apify),將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "google-news": {
      "type": "http",
      "url": "https://mcp.apify.com/?tools=automationnation/google-news-scraper"
    }
  }
}

README

Google News Scraper & API: articles, sources and dates

[Run on Apify]

Google News Scraper is an Apify Actor that returns Google News results for any topic, company or keyword: headline, source, publish date, snippet and the article URL, with time filters (past hour to past year), sort by date and any country and language, up to 300 articles per search, at $1 per 1,000 articles.

Price: $1 per 1,000 articles ($0.80 on Gold and above) · Run it: https://apify.com/automationnation/google-news-scraper · Guide: https://retracn.github.io/automationnation-actors/google-news-scraper/

Quick facts

  • One row per article: headline, snippet, source, publish time (ISO) and the publisher's article URL.
  • Time filters: past hour, day, week, month or year; sort by relevance or date.
  • Any country and language, up to 300 articles per search.
  • Price: $1 per 1,000 articles; the free $5 monthly credit covers 5,000 articles.

Example input

json
{  "queries": [    "apple earnings"  ],  "time": "week",  "maxResultsPerQuery": 30}

Run it from code

REST API

bash
curl -X POST "https://api.apify.com/v2/acts/automationnation~google-news-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \  -H "Content-Type: application/json" \  -d '{"queries": ["apple earnings"], "time": "week", "maxResultsPerQuery": 30}'

Python — see examples/python_example.py

python
# pip install apify-clientfrom apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")run = client.actor("automationnation/google-news-scraper").call(run_input={  "queries": [    "apple earnings"  ],  "time": "week",  "maxResultsPerQuery": 30})for item in client.dataset(run["defaultDatasetId"]).iterate_items():    print(item.get("title"), item.get("source"), item.get("publishedAt"), item.get("url"))

JavaScript — see examples/node_example.mjs

js
// npm install apify-clientimport { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const run = await client.actor('automationnation/google-news-scraper').call({  "queries": [    "apple earnings"  ],  "time": "week",  "maxResultsPerQuery": 30});const { items } = await client.dataset(run.defaultDatasetId).listItems();for (const item of items) console.log(item.title, item.source, item.publishedAt, item.url);

Use it with AI agents (MCP)

Hosted MCP server URL (Claude, ChatGPT, Cursor and other clients with remote MCP support):

https://mcp.apify.com?tools=automationnation/google-news-scraper

Local config for Claude Desktop / Cursor — mcp/claude_desktop_config.json:

json
{  "mcpServers": {    "google-news-scraper": {      "command": "npx",      "args": [        "-y",        "@apify/actors-mcp-server",        "--tools",        "automationnation/google-news-scraper"      ],      "env": {        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"      }    }  }}

FAQ

Is there an official Google News API? No. Google retired the Google News API years ago. Google News Scraper on Apify returns Google News results as data through Apify's API, clients and MCP.

Do I get the full article text? You get the headline, snippet, source, date and URL; pass the URLs to a content crawler for full text.

More from AutomationNation


This repository holds usage examples. The scraper itself runs on the Apify platform; you need a free Apify account and API token. Examples are MIT licensed.

來源:README.md,提交 7679956

工具

0
工具後設資料尚未被收錄。

版本歷史

1
  1. v1.0.0最新Oct 5, 2026