Mmcp.market

Google Analytics MCP server

by surendranb·io.github.surendranb/google-analytics-mcp·v2.8.2

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

full report

Adoption
Growing

242 stars

Reviews

Write one

Nobody has reviewed Google Analytics yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Google Analytics tools (10)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_dimensions_by_category

    Return all dimensions in a specific category with their API names and descriptions.

  • get_ga4_data
  • get_metrics_by_category

    Return all metrics in a specific category with their API names and descriptions.

  • get_property_schema

    Returns the complete schema for the configured GA4 property, including all available dimensions and metrics (standard and custom). Warning: This can be a very large object (10k+ tokens). Use search_schema for most discovery tasks.

  • get_troubleshooting_guide

    Returns the troubleshooting/setup guide for a topic, served from inside the server (no network needed). Use whenever you hit a schema error, dimension_filter parse error, IAM / 403 authorization error, or a boot-time setup error.

  • list_dimension_categories

    List all dimension categories for this GA4 property, with a count of dimensions in each category.

  • list_metric_categories

    List all metric categories for this GA4 property, with a count of metrics in each category.

  • search_schema

    Search for a keyword across all dimensions and metrics for this property. Returns a ranked list of up to 10 matching fields scored by relevance.

  • search_skills

    Fetch analytical recipes and how-to guides from the GA4 skills library.

  • setup_ga4_access

    Interactively fix a broken GA4 MCP setup (missing property ID, missing or expired credentials, or missing GA4 access) by asking the user for the needed input through the client, then re-initializing without a restart. Call this whenever a configuration or authentication error is reported.

Public scan report

scanner v0.1.9 · 2026-09-24 · same rubric, same numbers if you re-run it

no findings
  • Code scan12 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 3 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 83/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

What the publisher says

From the Google Analytics repository's README, as published. We do not edit it. Read it on GitHub

Google Analytics 4 (GA4) MCP Server 📊

Model Context Protocol (MCP) server for Google Analytics 4: real-time query exploration, schema discovery, metric aggregation, and audience insights for AI agents.

🌐 Live Documentation & Web Portal: https://ga4.builditwithai.xyz

⚡ Quickstart

# 1-Line Universal Installer (Auto-configures Claude Desktop, Cursor, Claude Code, Antigravity, VS Code, Zed, Windsurf)
curl -fsSL "https://ga4.builditwithai.xyz/install" | bash

# Or run directly via your preferred runtime:
uvx google-analytics-mcp
uvx --from google-analytics-mcp ga4-mcp-server
python -m ga4_mcp
npx -y @surendranb/google-analytics-mcp

🤖 Client Setup

A. Claude Code (CLI)

claude mcp add google-analytics -- uvx google-analytics-mcp

B. Cursor & Google Antigravity (mcp.json)

{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": ["google-analytics-mcp"]
    }
  }
}

C. Claude Desktop (claudedesktopconfig.json)

{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": ["google-analytics-mcp"],
      "env": {
        "GA4_PROPERTY_ID": "your_ga4_property_id",
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service_account.json"
      }
    }
  }
}

D. VS Code (Cline / Roo Code / Continue)

{
  "mcpServers": {
    "google-analytics": {
      "command": "npx",
      "args": ["-y", "@surendranb/google-analytics-mcp"]
    }
  }
}

🛠️ Tools & Capabilities

🧠 Dynamic Skills & Guided Playbooks

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Install directly

claude mcp add google-analytics-mcp -- uvx google-analytics-mcp
Add to Cursor

Google Analytics: common questions

Is Google Analytics MCP server safe?
Mostly: it is graded B (83/100). Read the Google Analytics safety report
How do I install Google Analytics?
It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
Does Google Analytics need an API key?
Yes. The registry entry asks for GOOGLE_APPLICATION_CREDENTIALS.
Is Google Analytics maintained?
The last commit was 3 days ago (2026-09-21). The latest release is v2.8.2.
What can I use instead of Google Analytics?
Servers from other publishers that do the same job: pump.fun Solana Data MCP server.

Alternatives to Google Analytics

Same job from other publishers: the closest match first, then the best rated.

  • pump.fun Solana Data
    Free, read-only pump.fun + Solana MCP: token discovery, on-chain analysis, SNS, 3D snapshots.
    A

More from surendranb →