The Google News Trends MCP server provides access to Google News and Google Trends data through a structured API, allowing you to retrieve news articles based on keywords, location, or topics, as well as trending search terms. It can optionally process content using language models for summarization.
With uv, no specific installation is needed. You can directly run the server using uvx:
uvx google-news-trends-mcp@latest
Install the package using pip:
pip install google-news-trends-mcp
After installation, run it as a script:
python -m google_news_trends_mcp
Add the server to your Claude settings:
{
"mcpServers": {
"google-news-trends": {
"command": "uvx",
"args": ["google-news-trends-mcp@latest"]
}
}
}
{
"mcpServers": {
"google-news-trends": {
"command": "python",
"args": ["-m", "google_news_trends_mcp"]
}
}
}
{
"mcp": {
"servers": {
"google-news-trends": {
"command": "uvx",
"args": ["google-news-trends-mcp@latest"]
}
}
}
}
{
"mcp": {
"servers": {
"google-news-trends": {
"command": "python",
"args": ["-m", "google_news_trends_mcp"]
}
}
}
}
The MCP server provides the following tools:
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_keywords | Return trending keywords from Google Trends for a specified location |
All news-related tools include an option to summarize article text using LLM or NLP techniques.
You can access all tools from the command line using uv
:
uv run google-news-trends
This displays usage information:
Usage: google-news-trends [OPTIONS] COMMAND [ARGS]...
Find and download news articles using Google News.
Options:
--help Show this message and exit.
Commands:
keyword Find articles by keyword using Google News.
location Find articles by location using Google News.
top Get top news stories from Google News.
topic Find articles by topic using Google News.
trending Returns google trends for a specific geo location.
If you need to debug the server, use the MCP inspector:
npx @modelcontextprotocol/inspector uvx google-news-trends-mcp
To run from within a locally installed project:
cd path/to/google/news/tends/mcp
npx @modelcontextprotocol/inspector uv run google-news-trends-mcp
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "google-news-trends" '{"command":"uvx","args":["google-news-trends-mcp@latest"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"google-news-trends": {
"command": "uvx",
"args": [
"google-news-trends-mcp@latest"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"google-news-trends": {
"command": "uvx",
"args": [
"google-news-trends-mcp@latest"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect