Skip to main content
MCP server CX Codex

Google Trends API — Claude Code MCP server: setup and features

MCP server providing Google search interest data and growth metrics through Trends API. Useful for tracking term momentum and live popular queries directly from coding agents.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http google-trends-api https://google-trends.api.trendsapi.ai/mcp
Open on GitHub

What Google Trends API does

This tool connects your assistant to Trends API endpoints via HTTP without web scraping. It delivers normalized relative interest scores scaled 0 to 100 over custom dates, calculates growth rates across windows, and retrieves ranked live trending topics.

Keyword queries target Google web search by default. You can direct parameters toward images, news, or shopping feeds while navigating through paginated top trend listings.

A valid TRENDSAPI_KEY is required. Missing credentials trigger a 401 error immediately. Each successful call consumes API quota units.

What it helps with

  • retrieve historical search interest timelines for specific keywords
  • calculate growth percentages across quarterly or yearly time windows
  • inspect current live search trends with pagination
  • evaluate keyword demand across web, news, and shopping feeds

Example prompts for the agent

  • Fetch the search interest time series for 'heat pump' over the past year.
  • Show the top 10 live trending search queries right now.
  • Compare the growth rate for electric cars over the last 3 months and 12 months.

How to install Google Trends API

Platform CLI: remote server

claude mcp add --transport http google-trends-api https://google-trends.api.trendsapi.ai/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Google Trends API

How do I install Google Trends API in Claude Code?

Run claude mcp add --transport http google-trends-api https://google-trends.api.trendsapi.ai/mcp. You will also need an active TRENDSAPI_KEY from trendsapi.ai.

What does the Google Trends API server provide?

It gives AI assistants direct access to search interest time series, growth metrics across custom date ranges, and live Google trending topic rankings.

Does this server scrape Google directly?

No, it queries the structured Trends API endpoint over HTTP. The data returns 0 to 100 index values without web scraping.

Similar MCP servers

Everything for SEO and GEO →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor