
Google News
io.github.johnisanerdPublished by GitHub account johnisanerdv1.0.0Updated Nov 2, 2026
Google News headlines, sources, and links via the Apify Google News API, hosted MCP.
Overview
Hosted Apify MCP server that lets an assistant search Google News and return structured headlines, sources, links and snippets as JSON.
- What you can do
- Search Google News for a query and get ranked articles with title, link, source, snippet and position
- Target results by location, country code, language, Google domain and language restriction
- Toggle safe search, duplicate filtering and auto-correction exclusion
- Control depth with a page cap and receive one JSON item per page with search metadata
- Save results to an output file
- When to use it
- Useful when an assistant needs fresh news coverage for media monitoring, competitive intelligence, trend detection or building context for other pipelines, without maintaining a client per publisher.
- Requirements
- Remote endpoint at mcp.apify.com, preloaded with the GoogleNewsAPI actor. An Apify account is required, authenticated either through browser OAuth or an Apify API token sent as a bearer Authorization header. Network access to Apify is needed.
Installation
In SourceWeft
- Open Google News in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.johnisanerd%2Fgoogle-news/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"google-news": {
"type": "http",
"url": "https://mcp.apify.com/?tools=johnvc/GoogleNewsAPI"
}
}
}README
📰 Google News API: News Search Results in Clean JSON
The efficient, reliable, and developer-friendly way to use the Google News API.
Actor page: apify.com/johnvc/GoogleNewsAPI Input schema: apify.com/johnvc/GoogleNewsAPI/input-schema
The Google News API searches Google News and returns clean, structured JSON, one item per page of results. Each item carries the search parameters, search metadata (total results, pages processed), and a news_results array where every article includes title, link, source, snippet, and ranking position. Supports location targeting, country and language filtering, safe search, duplicate filtering, and pagination control.
Video Walkthrough
Quick Start
Prerequisites
- Python 3.11 or higher
- An Apify account and API key (get a free key here)
-
Clone the repository
-
Install dependencies with UV
-
Configure your API key
-
Run the example
Alternative: set the API key directly
Why Use This Google News API?
Real-time coverage at scale. Google News aggregates tens of thousands of publishers. Instead of maintaining a client for each outlet, you query the aggregated index and get ranked results across all of them in a single call.
Geo-targeted results. Filter by country code (gl), language (hl), Google domain, and location string for precise control over the geographic and linguistic scope.
Configurable depth. Set max_pages for a quick headline snapshot or a deeper sweep. Each page is returned as a discrete item, easy to stream, filter, or load into a pipeline.
Predictable, pay-per-use pricing. A small per-run setup fee plus a per-page fee, with no subscription. You control cost with the page limit.
Consistent JSON output. Every article comes back with the same fields (title, link, source, snippet, position), so there is no schema variance between publishers.
Easy to automate. Call it from Python in a few lines, or load it as an MCP tool so assistants like Claude and Cursor can pull fresh news for you on demand.
Features
Core Capabilities
- Aggregated news search across thousands of publishers in one call
- Location targeting by country code (
gl), language (hl), and Google domain - Safe search and duplicate filtering toggles
- Auto-correction control with
nfprfor exact-match queries - Pagination control with a configurable page cap
Data Quality
- One item per page with a stable structure
news_resultsarray with title, link, source, snippet, and position per article- Search metadata (total results, pages processed) on every item
- Echoed search parameters so each item is self-describing
- Consistent JSON shape across every query
Usage Examples
Basic search
Geo-targeted search with language filtering
Input Parameters
Output Format
A real result for artificial intelligence (one item per page; the news_results array is trimmed to a single article here, and search_information carries additional fields).
Each page item echoes the search_parameters you sent, reports search_metadata (total results and pages processed), and lists every article in news_results with its ranking position, title, link, source, and snippet.
Use as an MCP tool
You can load the Google News API as an MCP tool so assistants call it for you. The MCP server URL preloads just this one Actor:
Authenticate with OAuth in the browser when offered, or with your Apify API token (the same APIFY_API_TOKEN used by the Python example). Get a token at https://console.apify.com/settings/integrations and a free Apify account at https://apify.com?fpr=9n7kx3 .
Install in Claude Cowork Desktop
[Install in Claude Cowork Desktop]
Cowork is the desktop app's automation mode. To give it the Google News API as a tool, add the Apify MCP server as a connector.
- Open the Claude desktop app and go to Settings → Connectors (or Settings → Developer → Edit Config to edit
claude_desktop_config.jsondirectly).- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the Apify MCP server, preloaded with only this Actor:
- Restart the app. When Cowork first calls the tool, complete the OAuth prompt in your browser, or add your Apify API token in the connector settings to skip OAuth.
- In a Cowork chat, confirm the tool is available and ask it to run the Google News API.
Download the desktop app and start a free trial: https://claude.ai/referral/uIlpa7nPLg More help: https://docs.apify.com/platform/integrations/claude-desktop
Install in Claude Code
Claude Code is the command-line tool. Add the Actor's MCP server with one command:
To use a token instead of browser OAuth:
Then verify with claude mcp list, or run /mcp inside a session. Ask Claude Code to call the Google News API.
Try Claude Code free: https://claude.ai/referral/uIlpa7nPLg Claude Code MCP docs: https://code.claude.com/docs/en/mcp
Install in Claude (website)
On claude.ai you add Apify as a connector, then enable just this Actor's tool.
- Go to Settings → Connectors → Browse connectors and search for Apify MCP server. Install it (enable or update if prompted).
- When connecting, authenticate with your Apify API token, and enable the tool
johnvc/GoogleNewsAPI. - In any chat, open + → Connectors and turn on Apify.
- Alternatively, choose Add custom connector and paste the full MCP URL
https://mcp.apify.com/?tools=actors,docs,johnvc/GoogleNewsAPI, using OAuth when prompted. - Ask Claude to run the Google News API.
Open Claude on the web: https://claude.ai/referral/uIlpa7nPLg
Install in Cursor
Cursor reads MCP servers from a project file at .cursor/mcp.json.
- In your project, create
.cursor/mcp.json:
- If you prefer token auth over browser OAuth, add a header:
- Open Cursor → Settings → MCP and confirm the apify server is connected (green dot).
- In Composer or Chat, ask Cursor to call the Google News API.
New to Cursor? Get it here: https://cursor.com/referral?code=XQP4VBLI3NNX
Install in ChatGPT
ChatGPT connects to the Apify MCP server through Developer mode (available on ChatGPT Pro, Plus, Business, Enterprise, and Education plans).
- Click your profile icon, then go to Settings > Apps. If you do not see a Create app button, open Advanced settings and enable Developer mode.
- Click Create app and fill out the form:
- Name: Apify
- MCP Server URL:
https://mcp.apify.com/?tools=actors,docs,johnvc/GoogleNewsAPI - Authentication: OAuth
- Click Create and authorize the connection with Apify.
- To use the app in a conversation, click + in the chat, choose Developer mode, and select Apify.
More help: https://docs.apify.com/platform/integrations/mcp
Use the Google News API to power media monitoring, competitive intelligence, trend detection, and LLM context pipelines with reliable, structured results.
Featured Tasks
Ready-to-run examples on the Apify Store.
🤖 Ask an AI assistant about this Actor
Open a ready-to-send prompt about the Google News API in the AI of your choice:
- 💬 ChatGPT
- 🧠 Claude
- 🔍 Perplexity
- 🅒 Copilot
Last Updated: 2026.10.27
Source: README.md at commit 371573d
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.