serpapi_google_trends
Pack: serpapi · Endpoint: https://gateway.pipeworx.io/serpapi/mcp
Get Google Trends interest-over-time for <terms> — returns the requested trends block (interest over time, by region, or related queries) via SerpApi. Example: serpapi_google_trends({ q: “bitcoin,ethereum”, date: “today 12-m”, geo: “US”, _apiKey: “your-serpapi-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | Up to 5 comma-separated terms to compare, e.g. “bitcoin,ethereum” |
data_type | string | no | Trends block to return (default “TIMESERIES”). One of TIMESERIES, GEO_MAP, GEO_MAP_0, RELATED_QUERIES |
date | string | no | Optional time range, e.g. “today 12-m”, “today 5-y”, “2021-01-01 2021-12-31” |
geo | string | no | Optional two-letter geo code to scope the trend, e.g. “US”, “GB” |
_apiKey | string | yes | SerpApi API key (get one at serpapi.com) |
Example call
curl -X POST https://gateway.pipeworx.io/serpapi/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"serpapi_google_trends","arguments":{}}}'
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"serpapi": {
"url": "https://gateway.pipeworx.io/serpapi/mcp"
}
}
}
See Getting Started for client-specific install steps.