den-indance avatar

Google Trends Mcp

den-indance/google-trends-mcp

Connects Claude to Google Trends data through a proxy-aware client that handles Google's anti-bot defenses. Exposes three core operations: compare keyword interest over time (up to 5 terms), fetch related queries (top and rising), and pull regional popularity breakdowns. The main engineering here is auto-retry with proxy rotation when Google returns HTML blocks instead of JSON, plus a validation layer that tests proxies against the autocomplete endpoint before adding them to the pool. Ships with proxy management tools (status, refresh) and supports single rotating endpoints or explicit lists. Reach for this when you need search trend analysis in Claude and you're willing to bring your own residential proxy credentials to get around rate limits.

GitHub stars
1
tool
1
auth
Secret needed
transport
STDIO
env vars
4
last updated
May 21, 2026

Tools

1 tools

Public tool metadata for what this MCP can expose to an agent.

get_trendsGet Google Trends data for a search term. Use data_type to choose: TIMESERIES (default), GEO_MAP, RELATED_TOPICS, or RELATED_QUERIES.5 params

Get Google Trends data for a search term. Use data_type to choose: TIMESERIES (default), GEO_MAP, RELATED_TOPICS, or RELATED_QUERIES.

Parameters* required
catinteger
Category ID (0 = all categories, default).
data_typestring
What to return. 'TIMESERIES' (default), 'GEO_MAP', 'GEO_MAP_0', 'RELATED_TOPICS', 'RELATED_QUERIES'.one of TIMESERIES · GEO_MAP · GEO_MAP_0 · RELATED_TOPICS · RELATED_QUERIES
datestring
Date range. 'now 1-H', 'now 4-H', 'now 1-d', 'now 7-d', 'today 1-m', 'today 3-m', 'today 12-m' (default), 'today 5-y', 'all'.
geostring
Geographic restriction (country/region code, e.g. 'US', 'US-NY', 'GB').
qstring
Search term (comma-separated for comparison, up to 5 terms).

Sponsors

Configuration

PROXY_URLsecret

Single rotating proxy endpoint (e.g. http://user:pass@gate.smartproxy.com:7000). Provider handles IP rotation.

PROXY_LISTsecret

Comma-separated proxy list (http://user:pass@host:port,...). Validated on startup, bad ones auto-dropped.

PROXY_LIST_FILE

Path to a file with one proxy URL per line (# comments allowed). Validated on startup, re-read on proxy_refresh.

PROXIES_ENABLED

Set to false to disable proxy logic and use direct requests. Default: enabled.

Readme

Google Trends MCP

npm smithery badge GitHub MIT License

The Google Trends MCP server that actually works under Google's anti-bot. Connect Claude to live Google Trends data — keyword interest, related queries, regional popularity.

Most Google Trends MCP packages crash with Unexpected token 'l' the moment Google blocks them (which is often). Free public proxy lists don't help — we tested 64 proxies from a popular "high-quality" list and 0 worked. This one uses your own rotating proxy with auto-retry, so blocked requests transparently retry on a fresh IP.

Built by Denys Malieiev.


Why this one


View the full README on GitHub

Details

Repository
github.com/den-indance/google-trends-mcp
Package
@den.dance/google-trends-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from den-indance