Google Trends MCP Server
Provides access to real-time Google Trends data, including trending searches, search volumes, news headlines, publisher sources, and article summaries across countries and categories.
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 Trends MCP ServerWhat are the top trending searches in the US right now?"
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 Trends MCP Server
The Real-Time Google Trends Model Context Protocol (MCP) Server for AI Assistants.
Connect Claude Desktop, Cursor, Antigravity, Windsurf, and Cline directly to live global search trends, breaking news, publisher sources, and extracted article summaries.
Features β’ Installation β’ Client Setup β’ Tools β’ Resources β’ Prompts β’ Docker
β‘ Highlights & Features
β‘ Zero-Config & Instant Boot (~150-300ms): No database (PostgreSQL) or Redis cache setup required. Runs out-of-the-box directly querying Google Trends real-time streams.
π° Automated Article Summaries & Sources: Fetches not only trend queries, but also news headlines, publisher/source names, direct source links, and automatically extracted article summaries.
π Deep Article Reader: Powered by Cheerio and Playwright with Ghostery ad-blocking to read, clean, and convert any news article into clean text/markdown for the LLM.
π Global Coverage (~250 Countries): Query trends across all ISO 3166-1 alpha-2 country codes (TR, US, GB, DE, FR, JP, CA, etc.).
π·οΈ Category Filtering: Filter by
all,business,tech(Sci/Tech),sports,health,entertainment, andtopstories.π Dual Transports:
stdio(Default): Standard input/output for local desktop clients (Claude Desktop, Cursor, Antigravity, Cline).SSE(Server-Sent Events): HTTP transport on port3333for remote microservices and distributed agents.
Related MCP server: news-sentiment-mcp
ποΈ Architecture
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI Assistants (Claude Desktop, Cursor, Antigravity, Cline) β
βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β JSON-RPC 2.0 (stdio / SSE)
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Google Trends MCP Server (bin/mcp-server.js) β
β β’ Tools (Trends, Article Reader, Metadata) β
β β’ Resources (trends://latest, trends://countries) β
β β’ Prompts (analyze_trends, trend_deep_dive) β
βββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Real-Time Fetch & Article Engine β
β β’ Live Google Trends RSS / JSON Stream Parser (~200ms) β
β β’ Concurrent HTML Metadata & Summary Extractor β
β β’ Headless Chromium (Playwright + AdBlocker) Web Reader Fallback β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββπ Quick Start
1. Direct Run with npx / node
You can run the MCP server immediately without installing any external services:
# Clone the repository
git clone https://github.com/yusuf-polat/Google-Trends.git
cd Google-Trends
# Install dependencies
npm install
# Start in stdio mode (Default for AI Desktop clients)
npm start
# Or start in HTTP SSE mode
npm run mcp:sse2. Browser Testing via MCP Inspector
Test all tools interactively in your browser with the official MCP Inspector:
npx @modelcontextprotocol/inspector node bin/mcp-server.jsπ AI Client Setup Guides
1. Claude Desktop
Add the server configuration to your claude_desktop_config.json:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"google-trends": {
"command": "node",
"args": ["<PATH-TO-REPO>/bin/mcp-server.js"]
}
}
}(Replace <PATH-TO-REPO> with your absolute path, e.g. D:/Google-Trends)
2. Cursor IDE
Create or edit .cursor/mcp.json in your project or global directory:
{
"mcpServers": {
"google-trends": {
"command": "node",
"args": ["<PATH-TO-REPO>/bin/mcp-server.js"]
}
}
}Or go to Settings > Features > MCP > Add New MCP Server and select command.
3. Antigravity IDE
Add to your global ~/.gemini/config/mcp_config.json:
{
"mcpServers": {
"google-trends": {
"command": "node",
"args": ["<PATH-TO-REPO>/bin/mcp-server.js"]
}
}
}4. VS Code (Cline / Roo Code / Continue)
In your Cline / Roo Code extension settings (cline_mcp_settings.json):
{
"mcpServers": {
"google-trends": {
"command": "node",
"args": ["<PATH-TO-REPO>/bin/mcp-server.js"]
}
}
}π οΈ Available MCP Tools
1. get_realtime_trends
Fetch live trending topics and searches with approximate search volume, breakdown queries, publisher sources, and extracted article summaries.
Parameter | Type | Required | Description |
|
| No | 2-letter ISO country code (e.g. |
|
| No | Category filter: |
|
| No | Optional keyword query to filter results. |
|
| No | Maximum trends to return (1-100). Default: |
|
| No | Automatically extract real article summaries for news items. Default: |
Sample Response:
{
"source": "google_trends_realtime_rss",
"country": "TR",
"country_name": "TΓΌrkiye (Turkey)",
"returned_count": 1,
"trends": [
{
"trend_name": "sΔ±la tΓΌrkoΔlu",
"search_volume": "5000+",
"published_at": "Thu, 17 Sep 2026 07:20:00 -0700",
"news": [
{
"title": "650 bin TL'lik davada mahkeme kararΔ±nΔ± verdi",
"publisher": "SΓΆzcΓΌ Gazetesi",
"url": "https://www.sozcu.com.tr/...",
"summary": "SΔ±la TΓΌrkoΔlu'nun Kanal 7'de yayΔ±nlanan 'Emanet' dizisinden ayrΔ±lmasΔ±nΔ±n ardΔ±ndan aΓ§Δ±lan davada mahkeme kararΔ±nΔ± verdi...",
"cover_image": "https://sozcu01.sozcucdn.com/..."
}
]
}
]
}2. get_trend_details
Get an in-depth breakdown of a single trending topic, inspecting all of its associated news stories with full summaries and publishers.
Parameter | Type | Required | Description |
|
| Yes | The trending topic name to inspect. |
|
| No | Country code. Default: |
3. extract_article_content
Extract clean full-text content, headline, summary, and metadata from any news URL linked to a trend. Automatically bypasses cookie popups and ad blocks.
Parameter | Type | Required | Description |
|
| Yes | Direct HTTP/HTTPS URL of the article. |
4. list_supported_countries
List all ~250 ISO 3166-1 alpha-2 country codes and country names supported by Google Trends.
Parameter | Type | Required | Description |
|
| No | Case-insensitive filter by country code or name. |
5. list_supported_categories
List supported Google Trends category shortcuts (business, entertainment, health, tech, sports, top).
6. get_trends_stats
Returns system operational metrics and engine capability summary.
π¦ MCP Resources
Clients can read live resources directly without invoking tool arguments:
URI | Name | Description |
| Latest Trending Topics | Real-time stream of top trending searches in JSON format. |
| Supported Countries | Complete ISO country code directory. |
| Supported Categories | Category identifiers and descriptions. |
| Engine Stats | System status and supported features. |
π‘ MCP Prompts
Pre-engineered prompt templates for AI workflows:
analyze_trends: Guides the AI to fetch current trends, cluster them into thematic domains (Politics, Tech, Markets, Entertainment), and produce an executive briefing.trend_deep_dive: Instructs the AI to perform investigative reporting on a specific trend, reading linked articles and identifying stakeholders, timelines, and perspectives.
π³ Docker Deployment
To run Google Trends MCP as an isolated container:
# Build Docker image
docker build -t google-trends-mcp .
# Run in SSE HTTP mode (Port 3333)
docker run -d -p 3333:3333 --name google-trends-mcp google-trends-mcp npm run mcp:sseOnce running, configure remote MCP clients using the SSE URL:
http://localhost:3333/sse
π¬ Example Prompt Interactions
Ask your AI assistant naturally:
User: "What are the top 5 trending topics in Turkey right now, and what are their search volumes?" (Assistant calls
get_realtime_trendswithcountry: "TR",limit: 5)
User: "What's trending in Tech in the United States today? Summarize the main article for the #1 topic." (Assistant calls
get_realtime_trendswithcountry: "US",category: "tech"and summarizes the news)
User: "Read this news article from the trend and give me the full breakdown: https://..." (Assistant calls
extract_article_content)
π License
This project is licensed under the ISC License. Made with β€οΈ for the open-source MCP and AI community.
This server cannot be deployed
Maintenance
Related MCP Connectors
Get access to real-time and historical news data including top headlines from global sources
One call instead of crawling 29 news/finance/AI sources mid-task. 100 free queries/day.
Real-time news search across 500,000+ sources in 60+ languages with sentiment and entities.
News for agents: 100k+ articles/day deduplicated into situations with timelines. Free, no key.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAggregates news from 7 APIs and unlimited RSS feeds with AI-powered bias removal and synthesis. Provides over 7,300 free daily requests with conversation-aware caching and 25 comprehensive news analysis tools.1-
- AlicenseNot gradedqualityCmaintenanceProvides news sentiment scores, media volume trends, and historical coverage data for any topic, enabling AI to analyze positive or negative coverage over time.1MIT
- AlicenseAqualityCmaintenanceProvides AI assistants with access to TrendRadar's aggregated news feeds, enabling intelligent analysis, personalized filtering, and multi-channel notifications for real-time hot topics.27GPL 3.0
- AlicenseAqualityBmaintenanceProvides news sentiment scores and media volume trends for any topic, enabling AI assistants to analyze whether news coverage is positive or negative.31MIT