Skip to content
MCP server

Google Trends

Google Trends with 32 tools: Trending Now, seasonality and share of search, no API key

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted
Runs
Locally
Version
0.1.1
Listing updated
1 day ago

About Google Trends

Google Trends is an open-source MCP server for analytics and data. It runs locally on your machine and is started by your AI client.

It reaches past what the Trends website allows: up to 25 terms compared on one scale instead of five, daily data over years rather than nine months, and Trending Now history that can be kept as long as you like instead of one week. It reads Web, YouTube, News, Images and Shopping search, and breaks interest down by country, region, city and metro area, with related queries and topics.

Rather than charts, it returns short tables with a verdict: growing or fading, when seasonality peaks and when content should be live, who has the larger share of search, and whether a term is breakout, rising, stable, declining or new. Values are labelled as Google's 0 to 100 index, never as search counts, and partial periods are marked.

No API key, Google Cloud project, sign-in or headless browser is needed. Because Google rate-limits scripts, the server paces requests, keeps a long-lived session, backs off, and answers from cache while saying so. It runs locally through uvx on Python 3.10 or newer, under an MIT licence.

Install

Run in a terminal

claude mcp add gtrends-mcp-full -- uvx gtrends-mcp-full

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gtrends-mcp-full": {
      "command": "uvx",
      "args": [
        "gtrends-mcp-full"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gtrends-mcp-full": {
      "command": "uvx",
      "args": [
        "gtrends-mcp-full"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "gtrends-mcp-full": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gtrends-mcp-full"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gtrends-mcp-full": {
      "command": "uvx",
      "args": [
        "gtrends-mcp-full"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gtrends-mcp-full": {
      "command": "uvx",
      "args": [
        "gtrends-mcp-full"
      ]
    }
  }
}

Tools this server provides (4)

Taken from the project documentation; the running server may differ.

trending_now
Full Trending Now list for a country or region with volume, growth and category
trend_details
One trend in full with its queries, news and hourly curve
trending_feed
Top daily trends with headlines and links
trending_across_countries
Trends that are live in several countries at once

What it does

Trending Now list
Search volume, growth, start time, category and related queries per trend.
Trend explanation
Shows the queries, news articles and hourly curve behind a trend.
25-term comparison
Ranks many terms on one scale.
Seasonality guidance
Finds peak and low months and when to publish.
Share of search
Compares a brand's share against competitors.
Rate-limit handling
Paces requests and falls back to cache with a notice.

Good for

  • Spot what is trending in a country right now
  • Time content to a seasonal search peak
  • Compare brands over five years
  • Check which product ideas are growing

Pricing

Open source

Free, MIT licensed

Prices change. Check hasanpour.com before you buy.

Google Trends FAQ

Do I need an API key?

No key, Google Cloud project or sign-in is required.

Are the numbers search counts?

No. They are Google's 0 to 100 index, labelled as such.

What do I need to run it?

Python 3.10 or newer and uv; uvx fetches the package.

What is the licence?

MIT.

Is Google Trends free?

Yes. Google Trends is open source, so you can use and self-host it for free.

How do I add Google Trends to Claude Code?

Run this command in your terminal: claude mcp add gtrends-mcp-full -- uvx gtrends-mcp-full

What are the best alternatives to Google Trends?

The closest alternatives to Google Trends are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and Calven.

Alternatives to Google Trends

  1. Open-source analytics app where an AI agent builds charts and dashboards from your data

    • Remote
    • Open source
    • 7.7K GitHub stars
    • Analytics and data
  2. Hosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat

    • 8 tools
    • Remote
    • Freemium
    • 8.1K GitHub stars
    • Marketing and SEO
  3. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  4. World Monitor

    MCP server

    Live geopolitical intelligence dashboard with an API and MCP server for agents

    • Remote
    • Freemium
    • Analytics and data
  5. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  6. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data