Query Google News RSS feeds and search interest over time via Google Trends.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
A powerful, robust Model Context Protocol (MCP) server that connects AI models to Google News RSS feeds and Google Trends. Easily pull historical weekly interest curves, calculate keyword growth rates, fetch trending queries, and analyze/summarize related articles using LLMs and NLP.
When using uv no specific installation is needed. The
project is currently run directly from GitHub because it is not yet published to PyPI:
Once a release is published to PyPI, the shorter command will also work:
The included GitHub Actions workflow uses PyPI Trusted Publishing, so no API token is stored in GitHub. Before the first release, the PyPI project owner must add a pending publisher at PyPI publishing settings:
AKzar1elmcp-trendpulsepublish.ymlAfter that one-time setup, create and publish a GitHub release. The workflow builds
and publishes the package automatically. If the owner cannot use PyPI Trusted
Publishing, a PyPI API token can be stored as the PYPI_API_TOKEN repository secret
and passed to the publishing action instead.
After installation, you can run it as a script using:
Add to your Claude settings:
Cursor supports MCP configuration globally or per-project:
%USERPROFILE%\.cursor\mcp.json (Windows) or ~/.cursor/mcp.json (macOS/Linux)..cursor/mcp.json file inside your project root.Add the following to the mcpServers object:
(Alternatively, you can open Cursor Settings -> Features -> MCP, and click "Add New Global MCP Server" to set it up via the UI).
If you are pair programming with Gemini in Antigravity IDE, add the server to your settings file at %APPDATA%\.gemini\antigravity-ide\mcp_config.json:
Because ChatGPT resides in the cloud, it requires your local MCP server to be exposed via a secure HTTPS tunnel (e.g., using ngrok or similar):
If you experience rate limits (429 Client Error) from Google Trends, or if your server is running in an environment without direct internet access, you can configure environment variables and proxies in one of two ways:
.env file (Recommended)You can create a .env file in the workspace directory (where the server is executed) and define the variables there. The server will automatically load them at startup:
You can add environment variables directly to the "env" object in your Claude Desktop or VS Code JSON configuration:
On Windows, it is also recommended to pass system environment variables like PATH, USERPROFILE, LOCALAPPDATA, and APPDATA under the "env" block to ensure that internal Chromium browsers (used by Playwright) resolve and execute correctly:
The following MCP tools are available:
| Tool Name | Description |
|---|---|
| get_news_by_keyword | Search for news using specific keywords. |
| get_news_by_location | Retrieve news relevant to a particular location. |
| get_news_by_topic | Get news based on a chosen topic. |
| get_top_news | Fetch the top news stories from Google News. |
| get_trending_terms | Return trending keywords from Google Trends for a specified location. |
| get_trends | Pull Google Search interest over an explicit window to inspect growth and seasonality curves. |
| get_growth | Measure how much search interest changed over custom periods (e.g. 3M, 1Y) and compare growth side-by-side. |
| get_ranked_trends | Get a ranked list of the highest-volume or fastest-growing keywords on Google Search right now. |
| get_top_trends | Discover top trending topics on Google Trends right now without requiring a keyword query. |
All of the news related tools have an option to summarize the text of the article using LLM Sampling (if supported) or NLP
get_trends accepts an explicit timeframe and an optional Google Trends category ID (cat). Use get_categories to discover category IDs. An explicit timeframe overrides the legacy data_mode hint.
Supported ranges include standard windows such as today 12-m and today 5-y, custom intervals such as today 90-d, all, and exact date ranges such as 2021-01-01 2026-01-01. Use an explicit range whenever you need reproducible comparisons; do not infer absolute search volume from normalized 0β100 values.
All tools can be accessed from the command line using uv
To run from within locally installed project:
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/google-news-trends-mcp)<a href="https://allmcps.com/mcp/google-news-trends-mcp"><img src="https://allmcps.com/api/badge/google-news-trends-mcp?style=directory" alt="Google News & Trends MCP on AllMCPs" /></a>