Google News MCP Agent
Fetches news articles from Google News and stores them locally for semantic search.
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 Agentsearch for news on quantum computing"
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 Agent
An MCP (Model Context Protocol) server that fetches news articles from Google News, vectorizes them locally using ChromaDB, and allows for semantic search. This tool enables AI agents (like Claude) to stay updated with specific topics and query stored knowledge effectively.
Features
Ingest News: Fetch headlines and summaries from Google News by topic.
Local Vector Store: Automatically embeds and stores articles in a local ChromaDB instance (persisted in
chroma_db/).Semantic Search: Search through the ingested news using natural language queries to find relevant information.
Privacy First: Runs entirely locally (excluding the initial news fetch). No API keys required for embeddings (uses
sentence-transformers).
Related MCP server: Personal Semantic Search MCP
Prerequisites
Python 3.10 or higher
uv(recommended) orpip
Installation
Using uv (Recommended)
Clone the repository:
git clone https://github.com/Tatsuya50/google-news-mcp.git cd google-news-mcpInstall dependencies:
uv sync
Using pip
Clone the repository and navigate to the directory.
Install the required packages:
pip install -r requirements.txt
Configuration (Claude Desktop)
To use this with Claude Desktop, add the following configuration to your MCP config file (typically ~/AppData/Roaming/Claude/claude_desktop_config.json on Windows):
{
"mcpServers": {
"google-news": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\YOUR_USERNAME\\path\\to\\google-news-mcp",
"run",
"python",
"mcp_server.py"
]
}
}
}Note: Replace C:\\Users\\YOUR_USERNAME\\path\\to\\google-news-mcp with the actual absolute path to this repository.
Tools
ingest_news
Fetches and indexes news articles.
topic: The topic to search for (e.g., "Generative AI", "Stock Market").
max_results: (Optional) Number of articles to fetch (default: 5).
search_news
Searches the stored local database.
query: The question or topic to search for (e.g., "What are the latest AI trends?").
n_results: (Optional) Number of results to return (default: 3).
Development
Run the server locally for testing:
uv run python mcp_server.pyInspect the database contents:
uv run python inspect_db.pyAvailable Tools
2 toolsingest_newsA
Fetches news articles from Google News for a given topic, generates vector embeddings, and stores them in a local ChromaDB database.
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavior. It explains the three main steps (fetch, embed, store) but lacks detail on side effects (e.g., data persistence, network requirements) or potential issues (rate limits, error handling).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single succinct sentence covering the core functionality with no unnecessary words. Efficiently communicates the pipeline.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 2 parameters and an output schema, the description covers the overall workflow. It mentions local storage, which is important. Minor gaps remain (e.g., return value, but output schema exists).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description only implicitly explains 'topic' by mentioning 'given topic'. The 'max_results' parameter is not described at all, despite 0% schema coverage. The description adds minimal value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool fetches news articles, generates embeddings, and stores them in ChromaDB. It distinguishes from the sibling 'search_news' by implying a storage capability.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool vs. the alternative 'search_news'. The description does not mention prerequisites, limitations, or scenarios where one is preferred over the other.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_newsC
Searches the stored news articles using semantic search.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| n_results | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It only mentions 'semantic search' but does not disclose behavioral traits such as read-only nature, authorization requirements, or rate limits.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single efficient sentence with no redundancy, though it could benefit from slightly more structure.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of two parameters and a sibling tool, the description is too minimal; it does not explain return values or provide usage context, even though an output schema exists.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% and the description adds no meaning for the parameters 'query' or 'n_results', failing to compensate for the lack of schema documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'searches', the resource 'stored news articles', and the method 'semantic search', which distinguishes it from the sibling tool 'ingest_news'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus the alternative 'ingest_news' or any context on appropriate usage scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
2 tool updates
v0.1.0- First observed
ingest_news - First observed
search_news
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one fetches and stores news, the other searches stored articles. No overlap exists.
Both tools follow the verb_noun pattern consistently: ingest_news and search_news.
Two tools is minimal but appropriate for the narrow scope of fetching and searching news. It's slightly thin but not excessive.
The tools cover the basic workflow of ingesting and searching, but lack operations like deleting stored articles or listing topics, which are minor gaps.
Maintenance
Related MCP Connectors
Cross-source news (AP, BBC, NPR, HN, Google News) with topic filtering and dedup.
News search, article lookup, story coverage and save links for hamir's RSS catalogue
Get access to real-time and historical news data including top headlines from global sources
Google News headlines, sources, and links via the Apify Google News API, hosted MCP.
Related MCP Servers
- AlicenseBqualityAmaintenanceSearch and retrieve news articles and trending keywords from Google News and Google Trends. Summarize articles and extract keywords using optional NLP and LLM Sampling to get concise insights.5218 PyPI89MIT
- FlicenseNot gradedqualityDmaintenanceEnables semantic search over local notes and documents using natural language queries. Supports multiple file types (Markdown, Python, HTML, JSON, CSV, text) with fast local embeddings and persistent ChromaDB vector storage.1-
- 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.11177 PyPI4MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching news articles and fetching top headlines via GNews API with filtering options.-