Google News MCP
This server provides an MCP interface to Google News RSS feeds, enabling AI assistants to fetch, search, and process real-time news with advanced features.
Get top headlines: Fetch the latest headlines for a specific country and language.
Get category news: Retrieve news by category (WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH).
Search news: Query Google News with advanced operators — exact phrases,
site:,intitle:,when:,after:,before:, exclusions (-term), and boolean OR.Get location-based news: Fetch news for a specific city, region, or country.
Get topic feed: Access trending topics using Google News topic hash IDs (e.g., cryptocurrencies, AI).
Decode Google News URLs: Convert multiple redirect URLs to original article destinations concurrently, with LRU caching.
Fetch and summarize article content: Extract clean article content via Jina Reader and optionally generate a summary using Groq, with token-efficient responses via TOON format.
List categories: View all supported news categories.
Provides access to Google News RSS feeds, enabling retrieval of top headlines, category-specific news (World, Business, Technology, etc.), location-based feeds, and trending topics. Supports advanced search operators including site-specific queries, time range filters, exact phrase matching, and Boolean logic. Includes batch URL decoding capabilities to resolve Google News redirect links to their original article sources with concurrent processing and intelligent caching.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Google News MCP what are the latest technology headlines?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Google News MCP
A Model Context Protocol (MCP) server that exposes Google News RSS feeds as MCP tools, allowing AI assistants (Claude, GPT-4, etc.) to access real-time news data with automatic URL decoding, concurrent processing, and intelligent caching.
Key Features
Async & Concurrent - All operations run asynchronously with concurrent URL decoding for maximum performance
Smart Caching - LRU cache (1024 entries) for fast repeated URL decodings
Batch URL Decoding - Decode multiple Google News URLs in parallel
Clean Summaries - Extracts plain text from HTML summaries with decoded article links
Token-Oriented Object Notation (TOON) - Support for a compact, token-efficient response format (30-60% reduction)
Multi-language Support - Configure for any language/country combination
Advanced Search - Full support for Google News search operators (site:, when:, intitle:, etc.)
Page Extraction - Fetch and summarize full article content using Jina Reader and Groq
Tool Overview
Tool | Purpose | Parameters |
| Latest headlines by country |
|
| News by category (TECH, BUSINESS, etc.) |
|
| Search news with advanced operators |
|
| Location-specific news |
|
| Trending topic by ID |
|
| Decode Google News URLs |
|
| Available news categories | (none) |
| Fetch and summarize page content |
|
Total: 8 tools
Related MCP server: OmniWire-MCP
Quick Start
Installation
Option 1: Using uv (recommended)
# Clone the repository
git clone https://github.com/moltrus/google-news-mcp.git
cd google-news-mcp
# Install with uv
uv syncOption 2: Using pip with virtual environment
# Clone the repository
git clone https://github.com/moltrus/google-news-mcp.git
cd google-news-mcp
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in development mode
pip install -e .For Global Usage (Any Method)
To use the google-news-mcp command globally from anywhere:
pip install -e .This installs the command-line entry point system-wide, allowing you to run google-news-mcp from any directory.
Configuration
Create a .env file based on .env.example:
# RSS Preferences
GOOGLE_NEWS_LANGUAGE=en
GOOGLE_NEWS_COUNTRY=US
# Response Optimization
# Options: "json" (standard) or "toon" (token-optimized)
RESPONSE_FORMAT=json
# Fetching & Summarization
JINA_API_KEY=your_jina_key
GROQ_API_KEY=your_groq_key
GROQ_MODEL=qwen/qwen3-32bRunning the Server
google-news-mcpOr directly:
python -m google_news_mcp.serverTool Documentation
get_top_headlines
Fetch the latest top headlines for a country.
Parameters:
language(string, optional): Language code (e.g.,'en','fr','es'). Defaults toGOOGLE_NEWS_LANGUAGEenv var.country(string, optional): Country code (e.g.,'US','GB','JP'). Defaults toGOOGLE_NEWS_COUNTRYenv var.
Returns:
{
"title": "Google News",
"link": "https://news.google.com",
"description": "Latest news",
"entries": [
{
"title": "Article Title",
"link": "https://source.com/article",
"published": "2026-03-31T10:00:00Z",
"summary": "Article Title (https://source.com/article)\nAnother Article (https://another.com/news)",
"source": "Source Name"
}
]
}Notes:
Articles are sorted by relevance (Google News default)
URLs are automatically decoded from Google News redirects
Summaries contain extracted links in plain text format
get_category_feed
Get news headlines for a specific category.
Parameters:
category(string, required): News category. Valid values:WORLD- International newsNATION- National/local headlinesBUSINESS- Business & financeTECHNOLOGY- Tech & AIENTERTAINMENT- Entertainment & pop cultureSPORTS- SportsSCIENCE- Science & researchHEALTH- Health & medicine
language(string, optional): Language code. Defaults to config.country(string, optional): Country code. Defaults to config.
Returns: Same as get_top_headlines
Examples:
get_category_feed(category="TECHNOLOGY")
get_category_feed(category="BUSINESS", country="UK")get_search_feed
Search Google News with keyword queries and advanced operators.
Parameters:
query(string, required): Search query with optional operatorslanguage(string, optional): Language code. Defaults to config.country(string, optional): Country code. Defaults to config.
Supported Search Operators:
Exact phrase:
"Artificial Intelligence"(must match exactly)Exclude term:
-apple(exclude articles with "apple")Site-specific:
site:techcrunch.com(only from domain)Time range (relative):
when:1h,when:24h,when:7d,when:30d,when:1y,when:1mTime range (absolute):
after:2026-01-01,before:2026-03-31Title search:
intitle:merger(term appears in headline only)Boolean OR:
Tesla OR SpaceX(either term)Combinations:
"GPT-4" site:openai.com when:7d(all together)
Returns: Same as get_top_headlines (max ~100 articles)
Query Examples:
"OpenAI Sora" # Exact phrase
AI -hype # Include AI, exclude hype
site:arxiv.org quantum computing # From academic site
when:1h breaking # Last hour
when:24h -rumor Bitcoin # Last 24h, exclude rumors
after:2026-03-01 before:2026-03-31 merger # Date range
intitle:IPO tech companies # IPO in headline
SpaceX OR Blue Origin # Either company OR otherImportant: Date filters work on a daily basis (not hourly/minute precision).
get_geo_feed
Get news for a specific geographic location.
Parameters:
location(string, required): City, state, region, or country (e.g.,'San Francisco','California','Japan')language(string, optional): Language code. Defaults to config.country(string, optional): Country code. Defaults to config.
Returns: Same as get_top_headlines
Examples:
get_geo_feed(location="New York")
get_geo_feed(location="London", language="en")
get_geo_feed(location="Tokyo", country="JP")fetch_content
Fetch clean page content from a URL using Jina Reader API, with optional summarization via Groq.
Parameters:
url(string, required): Absolute URL to fetch (must start with http:// or https://)summarize(boolean, optional): Iftrue, returns a concise summary via Groq and omits the full raw content to save tokens. Defaults tofalse.
Returns:
{
"url": "https://example.com/article",
"reader_url": "https://r.jina.ai/https://example.com/article",
"content": "Full article text...",
"summary": "Concise summary points...",
"summary_model": "qwen/qwen3-32b",
"summary_error": "Error message if summarization fails"
}Notes:
Token Efficiency: When
summarizeistrue, thecontentfield is automatically removed from the response to prevent context window bloat.Environment Variables:
JINA_API_KEY: Required for content extraction.GROQ_API_KEY: Required for summarization.GROQ_MODEL: Optional. Specific model to use (defaults toqwen/qwen3-32b).
decode_google_news_url
Decode multiple Google News URLs to their actual article destinations in parallel.
Parameters:
urls(list of strings, required): Array of Google News redirect URLs to decode
Returns:
{
"decoded_urls": [
{
"original_url": "https://news.google.com/articles/CBMi8wFAUU...",
"decoded_url": "https://techcrunch.com/2026/03/31/ai-news"
},
{
"original_url": "https://news.google.com/articles/CBMixAFAUU...",
"decoded_url": "https://theverge.com/2026/3/31/10987654"
}
]
}Performance:
All URLs decoded concurrently (no sequential delays)
Results cached for repeat lookups (instant on cache hit)
LRU cache with 1024 entry limit
Examples:
decode_google_news_url(urls=[
"https://news.google.com/articles/CBMi8wFAUU...",
"https://news.google.com/articles/CBMixAFAUU...",
"https://news.google.com/articles/CBMi5gFAUU..."
])get_topic_feed
Get news for a specific trending topic by its topic ID.
Google News tracks trending topics as hashes (e.g., companies, events, recurring themes).
Parameters:
topic_id(string, required): Google News topic hash identifierlanguage(string, optional): Language code. Defaults to config.country(string, optional): Country code. Defaults to config.
Returns: Same as get_top_headlines
Common Topic IDs:
CAAqKAgKIiJDQkFTRXdvS0wyMHZNSFp3YWpSZlloSUZaVzR0UjBJb0FBUAE- CryptocurrenciesFind more by exploring Google News and checking the topic parameter in URLs
Examples:
get_topic_feed(topic_id="CAAqKAgKIiJDQkFTRXdvS0wyMHZNSFp3YWpSZlloSUZaVzR0UjBJb0FBUAE")list_categories
Get the list of available news categories.
Parameters: None
Returns:
{
"categories": [
"WORLD",
"NATION",
"BUSINESS",
"TECHNOLOGY",
"ENTERTAINMENT",
"SPORTS",
"SCIENCE",
"HEALTH"
]
}Architecture
Performance Optimizations
Async/Await - All I/O operations (HTTP, decoding) are non-blocking
Concurrent Processing - Multiple URLs and entries processed in parallel via
asyncio.gather()LRU Cache (1024 entries) - Decoded URLs cached at function level
In-Memory Dictionary Cache - Additional fast lookup cache for decoded URLs
Batch Operations -
decode_google_news_urlprocesses lists of URLs concurrently
Summary Format
Article summaries are extracted from HTML and returned as plain text with decoded links:
Article Title 1 (https://original-source.com/article1)
Image caption link (https://image-source.com/photo)
Article Title 2 (https://original-source.com/article2)HTML tags, CDATA wrappers, and entities are stripped for clean, readable text.
Usage Examples
1. Get breaking news in the last hour
get_search_feed(query="when:1h breaking", country="US")2. Decode multiple article URLs at once
decode_google_news_url(urls=[
"https://news.google.com/articles/CBMi8wFAUU...",
"https://news.google.com/articles/CBMixAFAUU..."
])3. Tech news from specific source
get_search_feed(query="site:techcrunch.com AI")4. Local news for a city
get_geo_feed(location="San Francisco")5. Search with date range
get_search_feed(query="SpaceX after:2026-03-01 before:2026-03-31")6. Get health news
get_category_feed(category="HEALTH")7. Trending cryptocurrency news
get_topic_feed(topic_id="CAAqJggKIiBDQkFTRWdvSUwyMHZNR3d5YldFeVpYVXVhVzV6U0FpQkFQAQ")8. Fetch and summarize a full article
fetch_content(url="https://techcrunch.com/article-url", summarize=true)Token Efficiency & TOON
This server supports Token-Oriented Object Notation (TOON), a compact data format designed specifically for LLMs.
Why use TOON?
Standard JSON can be verbose for LLMs due to repeated keys and punctuation. TOON reduces token usage by 30-60% by:
Defining keys once for arrays of objects (tabular format).
Removing unnecessary braces, brackets, and quotes.
Using indentation and simple delimiters.
Configuration
To enable TOON globally for all tool responses, set the following in your .env:
RESPONSE_FORMAT=toonComparison
JSON (Verbose) | TOON (Compact) |
|
|
Limitations
Result limit: Google News RSS returns max ~100 articles per request
Sorting: Default is relevance. Use
when:filters for temporal orderingDate precision: Filters work on daily basis, not by hour/minute
Rate limiting: No API keys needed for RSS, but Jina Reader and Groq have their own limits/quotas
Content Extraction:
fetch_contentdepends on Jina Reader's ability to parse the target siteTopic IDs: Must be discovered from Google News URLs; no lookup API
License
MIT
Available Tools
7 toolsdecode_google_news_urlA
Convert multiple Google News URLs to their actual article URLs.
Decodes Google News wrapped URLs (news.google.com/articles/...) to their original article URLs concurrently. If a URL is not a Google News URL or decoding fails, returns the original URL.
Args: urls: A list of Google News URLs to decode (e.g., ["https://news.google.com/articles/CAIiE...", ...])
Returns: Dict with "decoded_urls" list containing dicts with "original_url" and "decoded_url" fields
Inputs: urls (required). Returns: object
get_category_feedB
Get headlines for a specific category.
Args: category: Category name (WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH) language: Language code [default: from config] country: Country code [default: from config]
Returns: Dict with feed title, description, and list of article entries
Inputs: category (required), language, country. Returns: object
get_geo_feedC
Get news specific to a geographic location.
Args: location: City, state, or region name (e.g., 'San Francisco', 'London') language: Language code [default: from config] country: Country code [default: from config]
Returns: Dict with feed title, description, and list of article entries
Inputs: location (required), language, country. Returns: object
get_search_feedA
Search Google News and get RSS feed for results.
Supports advanced search operators:
Exact match: "phrase in quotes"
Exclude: -word
Site specific: site:domain.com
Time range: when:24h (options: 1h, 24h, 7d, 30d, 1y) or when:1m
After date: after:YYYY-MM-DD
Before date: before:YYYY-MM-DD
Title search: intitle:keyword
Multiple terms: term1 OR term2
Args: query: Search query with optional advanced operators language: Language code [default: from config] country: Country code [default: from config]
Returns: Dict with feed title, description, and list of article entries (up to 100)
Inputs: query (required), language, country. Returns: object
get_top_headlinesB
Get top headlines for a country.
Args: language: Language code (e.g., 'en', 'fr') [default: from config] country: Country code (e.g., 'US', 'GB') [default: from config]
Returns: Dict with feed title, description, and list of article entries
Inputs: language, country. Returns: object
get_topic_feedA
Get news for a specific Google News topic ID.
Topic IDs are hashes for trending topics (e.g., cryptocurrency, AI, etc.)
Args: topic_id: Google News topic hash identifier language: Language code [default: from config] country: Country code [default: from config]
Returns: Dict with feed title, description, and list of article entries
Inputs: topic_id (required), language, country. Returns: object
list_categoriesB
List available news categories for get_category_feed.
Returns: Dict with list of category names
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose with no overlap: decode_google_news_url handles URL conversion, list_categories provides metadata, and the five feed tools (get_category_feed, get_geo_feed, get_search_feed, get_top_headlines, get_topic_feed) target different news retrieval methods. The descriptions reinforce these boundaries, making tool selection unambiguous.
All tools follow a consistent verb_noun pattern with snake_case: decode_google_news_url, get_category_feed, get_geo_feed, get_search_feed, get_top_headlines, get_topic_feed, and list_categories. The naming is predictable and readable throughout the set, with 'get_' for retrieval actions and 'list_'/'decode_' for other operations.
With 7 tools, the count is well-scoped for a news server. It covers core functionalities like URL decoding, category listing, and multiple feed types (category, geo, search, headlines, topic), each earning its place without being excessive or sparse. This aligns with typical MCP server tool counts of 3-15.
The tool set provides comprehensive coverage for news retrieval and processing, including decoding, listing categories, and fetching feeds by various criteria. A minor gap exists in lacking update/delete operations for saved feeds or preferences, but this is reasonable for a read-only news domain, and agents can work around it with external state management.
Related MCP Connectors
Give your AI assistant access to the world’s news. Search articles in any language, track coverage over time, and research companies and events.
Google News RSS headlines by query, topic and country, with resolved publisher URLs included.
Google SERP & News. Supports zero-signup x402 USDC pay-per-call ($0.001) on Base or free API key.
Google SERP & News. Supports zero-signup x402 USDC pay-per-call ($0.001) on Base or free API key.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides tools to search and retrieve news across various categories including business, technology, science, and sports via the Google News API. It supports keyword searches, autocomplete suggestions, and region-specific news across multiple languages.11MIT
- AlicenseCqualityDmaintenanceEnables AI models to fetch and aggregate news from RSS, Atom, JSON, and HTML feeds with fault-tolerant circuit breaker protection.48 npm6MIT
- FlicenseNot gradedqualityDmaintenanceProvides access to the latest AI trends by querying Google News RSS and Hacker News API, enabling AI assistants to retrieve real-time trending topics.-
- AlicenseAqualityDmaintenanceEnables AI agents to fetch and search news from multiple sources including RSS/Atom feeds, HackerNews, and GDELT global news intelligence without requiring an API key.114MIT