← Back to directory
G

Google Trends for Agent

Community
Google Trends queries and calibrated search-volume estimates for AI assistants.
Category
Other #217 of 678
Stars
★ 232 Popular
Transport
stdio (local process) · Streamable HTTP
Runtime
Node.js 20+
Credentials
Optional API key
License
MIT
Last commit
Tools
4
55FMRS · C

This is an unofficial, MIT-licensed Google Trends CLI and MCP tool with four trend-query tools and search-volume estimates based on public Google Ads anchors. It suits lightweight research; estimated data, reliance on undocumented endpoints, and possible rate limits make it unsuitable as a guaranteed or official data source.

Strongest · Setup experience 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
11/20
Maintenance
10/20
Documentation
13/20
Setup experience
13/20
Why each score
Reliability 8/20
The README describes local stdio MCP, Streamable HTTP, four tools, error codes, timeouts, and cancellation behavior, while disclosing that the Google Trends endpoints are undocumented and may change. This makes the happy path plausible, but no verifiable manifest, CI workflow, or committed test evidence was supplied, so initialization, tool declarations, and actual behavior cannot be confirmed.
Security and permissions 11/20
The README discloses calls to undocumented Google Trends endpoints and optional Apify cloud egress, and describes the full_api_access OAuth scope, plaintext storage of manual tokens, and local file permissions. This helps explain data flows and credential limits. Source files were not supplied to verify permission boundaries, confirmation controls, or credential implementation; the cloud option also uses account-wide authorization. No explicit red-line evidence appears in the supplied material.
Maintenance 10/20
The README states an MIT license, non-archived status, baseline syncing, and a release process. The prompt contains no verifiable release history, commit activity, issue response, dependency-update record, or security-response channel, so sustained maintenance cannot be established and points are deducted.
Documentation 13/20
The README provides several client configuration examples, tool summaries, runtime requirements, cost and routing notes, calibration limitations, and troubleshooting pointers. It also states that the service is unofficial and may be affected by upstream changes. Some details depend on reference documents not supplied here, and the claims are not verified against source files, so the score is limited.
Setup experience 13/20
The README specifies Node.js 20+, gives an npx launch example and mainstream client configurations, and outlines local and remote deployment paths. The missing manifest and lack of execution evidence prevent verification, while some client and Apify/OAuth routes add configuration complexity.

Static review · not runReviewed 2026-12-03

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

Best for

  • Users who want lightweight, interactive Google Trends research through an AI assistant.
  • Developers and SEO practitioners seeking CLI, MCP, or DeepSeek Harness integration.

Not for

  • Work requiring an official Google data API, an SLA, or definitive search-volume measurements.
  • Bulk scraping or high-frequency production data collection.

Required permissions

  • Local use needs network access to reach Google's public Google Trends web endpoints.
  • The default local egress does not require Apify credentials; Apify cloud egress requires configured Apify credentials.

Risks and side effects

  • The project uses undocumented Google Trends web endpoints that may change or fail, and use may conflict with Google's Terms of Service.
  • Daily search volumes are estimates calculated from 59 Google Ads anchor baselines; values remain null when reliable calibration is unavailable.
  • Network errors, challenge pages, or HTTP 429 rate limits may occur; Apify cloud runs may incur costs.

Setup

Before you start

Runtime:Node.js 20+

APIFY_TOKEN optionalsecret Apify API token, needed for Apify Actor egress; obtain it from your Apify account.
Other optional settings (4)
HTTPS_PROXY optional Optional HTTPS proxy URL; set it to your own proxy if needed.
HTTP_PROXY optional Optional HTTP proxy URL; set it to your own proxy if needed.
GTFA_EGRESS optional Optional egress mode setting for local or Apify Actor routing.
GTFA_APIFY_ACTOR optional Your Apify Actor ID when using your own Actor for egress.

Requires Node.js 20 or later. Add the install_config to your MCP client, then restart or reconnect the client. The default uses your local network; Apify on-demand cloud egress can be configured using the project documentation.

.mcp.json
{"mcpServers":{"google-trends":{"command":"npx","args":["-y","-p","google-trends-for-agent","gtfa-mcp"]}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "google-trends": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "google-trends-for-agent",
        "gtfa-mcp"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.google-trends]
command = "npx"
args = ["-y", "-p", "google-trends-for-agent", "gtfa-mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add google-trends -- npx -y -p google-trends-for-agent gtfa-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After connecting, confirm that trends_ask, trends_snapshot, trends_compare, and trends_now appear in the client's tool list. Call trends_now for US trending searches and check that it returns results.

Troubleshooting

  1. If npx fails before the MCP handshake, check npm package download connectivity and the npm debug log.
  2. If MCP starts but a tool call fails, check Google Trends connectivity, proxy settings, challenge pages, or rate limits; run gtfa doctor --json for diagnostics.
  3. For Apify egress, verify APIFY_TOKEN and Actor configuration, and check for run costs.

Things to try

Once connected, you can ask your AI assistant things like:

  • Show Sora's US search trend and estimated daily search volume for the past 7 days.
  • Compare search interest for cursor, windsurf, and codex in the US.
  • Show current trending searches in the US.

Tools 4

trends_ask read-only
Query keyword interest, popular or rising queries, and regional data, with optional validation or diff analysis.
trends_snapshot read-only
Get a trend curve, related queries, and calibrated daily search-volume estimates.
trends_compare read-only
Compare 1–5 keywords on a shared scale, optionally with volume estimates.
trends_now read-only
Query current trending searches by country, including rank, growth, categories, and links.

Use cases

Check recent trends and related queries for a keyword.
Compare the relative interest of up to five keywords.
Estimate daily search volume with regional anchors for SEO and content research.
View current trending searches across countries.

Supported clients

Claude Code
Claude Desktop
Cursor
Codex
Windsurf
VS Code

Listed from the project's documentation, not tested by this site.

Overview

Google Trends for Agent is an MIT-licensed open-source tool with a CLI and local MCP server for trend queries, keyword comparisons, and daily search-volume estimates calibrated against Google Ads anchors. It is not an official Google product; the volume figures are anchor-based estimates, not measurements from Google.

Similar servers

Source revision daed48739627 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/google-trends-for-agent.svg)](https://followmcp.com/en/servers/google-trends-for-agent)