Google Analytics MCP

by surendranb• 244•• Scanned•Claim this listing•Request removal
Research & Analysisai agentai agentsanalyticsclaudeclaude mcp

Google Analytics 4 data to AI agents, agentic workflows, and MCP clients. Give agents analysis-ready access to website traffic, user behavior, and performance data with schema discovery, server-side aggregation, and safe defaults that reduce data wrangling.

Google Analytics MCP is an open-source mcp server by surendranb, written mainly in Python, with 244 GitHub stars and the MIT license. Its code was last updated Oct 28, 2026.

Scan summary: scanned Nov 5, 2026 at commit bd63768. Seen able to read environment and secrets, connect to the internet. Scan policy

Scanned
Full scan at bd63768 · Nov 5, 2026
Scanned Builds Boots Reproducible
Static code scanwarn
Secrets scanfail
Dependency audit47 known vulnerabilitiesfail
Manifestserver.jsonpass
Buildpass
Boot & handshake12 toolspass
Network egressfail
Reproducible (×3)pass

Findings (17)

  • high
    dropper issue
    Details are available to the maintainer after claiming this listing.
  • high
    dropper issue
    Details are available to the maintainer after claiming this listing.
  • high
    dropper issue
    Details are available to the maintainer after claiming this listing.
  • high
    secrets issue
    Details are available to the maintainer after claiming this listing.
  • high
    dependencies issue
    Details are available to the maintainer after claiming this listing.
  • high
    dependencies issue
    Details are available to the maintainer after claiming this listing.
  • high
    dependencies issue
    Details are available to the maintainer after claiming this listing.
  • high
    dependencies issue
    Details are available to the maintainer after claiming this listing.
  • high
    network issue
    Details are available to the maintainer after claiming this listing.
  • medium
    python-multipart@0.0.9: 8 known vulnerabilities
    PYSEC-2026-1851, PYSEC-2026-1852, PYSEC-2026-3036, PYSEC-2026-3037, PYSEC-2026-3038 +3 more
    requirements.txt
  • medium
    cryptography@49.0.0: 1 known vulnerability
    PYSEC-2026-3552
    uv.lock
  • medium
    httpx2@2.10.0: 3 known vulnerabilities
    PYSEC-2026-3846, PYSEC-2026-3848, PYSEC-2026-3849
    uv.lock
  • medium
    mcp@2.0.0: 4 known vulnerabilities
    GHSA-5h93-6whr-6q8j, GHSA-84m7-p3x7-pcfv, GHSA-rwrf-2pqf-9j8j, GHSA-w4fh-qvv9-3v23
    uv.lock
  • medium
    pyasn1@0.6.3: 7 known vulnerabilities
    PYSEC-2026-3455, PYSEC-2026-3456, PYSEC-2026-3457, GHSA-2qm8-x737-gmw5, GHSA-9m75-vc3g-4x39 +2 more
    uv.lock
  • medium
    urllib3@2.7.0: 3 known vulnerabilities
    PYSEC-2026-4175, PYSEC-2026-4176, PYSEC-2026-4177
    uv.lock
  • low
    opentelemetry-api@1.44.0: 1 known vulnerability
    GHSA-xcq7-p3pf-p88h
    uv.lock
  • low
    Reads environment variables not listed in the manifest
    GA4_SESSION_FILE, SHELL, TERM_PROGRAM, LANG, CI, GITHUB_ACTIONS, GA_MCP_TELEMETRY, GA4_MCP_INTERNAL, GA4_MCP_SOURCE, DOCS_DIR

Network activity

During install
files.pythonhosted.orgpypi.org
While running
ga4.builditwithai.xyz

Tools exposed (12)

  • check_for_updates

    Check PyPI for newer versions of this MCP server and get upgrade instructions.

  • list_properties

    List all GA4 properties associated with an account.

  • 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. Returns: {"top_results": {"DIMENSION: api_name": score, "METRIC: api_name": score, ...}} Use this when you have a concept ("engagement",

  • 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.

  • list_dimension_categories

    List all dimension categories for this GA4 property, with a count of dimensions in each category. Returns: {"dimension_categories": {"Category Name": count, ...}} Use this as the first step in dimension exploration — browse categories, then call get_dimensions_by_category with

  • list_metric_categories

    List all metric categories for this GA4 property, with a count of metrics in each category. Returns: {"metric_categories": {"Category Name": count, ...}} Use this as the first step in metric exploration — browse categories, then call get_metrics_by_category with the name that

  • get_dimensions_by_category

    Return all dimensions in a specific category with their API names and descriptions. Returns: {"dimension_api_name": "description", ...} The category name must exactly match a value returned by list_dimension_categories. Use search_schema instead if you already have a keyword — it

  • get_metrics_by_category

    Return all metrics in a specific category with their API names and descriptions. Returns: {"metric_api_name": "description", ...} The category name must exactly match a value returned by list_metric_categories. Use search_schema instead if you already have a keyword — it is faster

  • get_ga4_data

    Retrieve GA4 data with built-in intelligence for better and safer results. Returns on success: {"data": [...], "metadata": {...}, "_skills_tip": "..."}. For multi-row pulls (a time series like ['date'], or any breakdown) the result also carries "totals": {metric: value} — GA4 s

  • 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. Args: topic: One of "setup", "iam", or "

  • search_skills

    Fetch analytical recipes and how-to guides from the GA4 skills library. Skills are domain-specific playbooks for common GA4 analysis patterns — exact dimensions, metrics, filters, and interpretation logic for each use case. Call this BEFORE querying get_ga4_data for any domain-spec

  • 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 rep

Automated result for the commit shown. See our scan policy. View the scan log

Maintainers can claim the listing to rescan, or dispute a result.

Google Analytics MCP alternatives

View more →

Similar mcp servers in Research & Analysis, ranked by GitHub stars. Compare licence, recent activity and scan status before you choose.

NameStarsLicenceLast updatedScan
Google Analytics MCP (this page)
surendranb
244MITOct 28, 2026Scanned, no flagged issues
Worldmonitor
koala73
90kAGPL-3.0Nov 1, 2026Scanned, no flagged issues
GPT Researcher
assafelovic
30kApache-2.0Oct 10, 2026Scanned, no flagged issues
Auto Claude Code Research In Sleep
wanshuiyin
18kMITNov 1, 2026Scanned, no flagged issues
Deep Research
u14app
4.7kMITJun 18, 2026Scanned, no flagged issues
MCP Server Chart
antvis
4.4kMITAug 27, 2026Scanned, no flagged issues