Skip to content
MCP server

Google Trends

Google Trends interest over time, by region, and trending searches in 125 countries.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
2 days ago

About Google Trends

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

Install

Run in a terminal

claude mcp add google-trends-mcp-server --env APIFY_TOKEN='<APIFY_TOKEN>' -- npx -y google-trends-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "google-trends-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "google-trends-mcp-server"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-trends-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "google-trends-mcp-server"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "google-trends-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "google-trends-mcp-server"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "google-trends-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "google-trends-mcp-server"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "google-trends-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "google-trends-mcp-server"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Configuration

  • APIFY_TOKENApify API token, from https://console.apify.com/settings/integrationsRequired

Pricing

Open source

Prices change. Check apify.com before you buy.

Google Trends FAQ

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 google-trends-mcp-server --env APIFY_TOKEN='<APIFY_TOKEN>' -- npx -y google-trends-mcp-server