Verified

Google Analytics MCP Server

GA4 report generation, schema discovery, and metric aggregation for AI agents.

Data last scanned today · Reviewed today

488 tools241PythonMIT

Overview

The Google Analytics MCP Server allows AI agents to interface directly with Google Analytics 4 data. It provides tools for running complex, multi-dimensional reports, listing account and property structures, and retrieving metadata for custom dimensions and metrics. Designed for integration into development environments via a simple installation process, the server supports Python and Node.js runtimes. It enables developers to feed analytics insights directly into their AI workflows for data-driven decision-making.

Our verdict

With a security score of 43/100, this server is classified as high-risk. This rating is driven by the fact that the server is community-maintained rather than official, and critical security aspects like authentication methods and read-only mode safety have not been externally reviewed. It is intended for use by developers who can manage their own service account credentials and acknowledge the risks of third-party, unreviewed code in their analytics pipelines.

  • Zero direct dependencies reduce potential supply-chain vulnerability surfaces.
  • Actively maintained repository with a recent commit history.
  • MIT license provides permissive usage terms.
  • Authentication and read-only modes remain externally unreviewed.
  • Community-maintained project lacks official vendor support or auditing.

Tools

ToolDescriptionRisk
get_ga4_dataRuns multi-dimensional GA4 reports with automated metric totals and server-side aggregation.low
list_accountsLists all accessible Google Analytics accounts and permission levels.low
list_propertiesLists all GA4 properties associated with an account.low
get_property_metadataFetches complete dimension and metric schemas, custom definitions, and compatibility rules.low
run_realtime_reportQueries real-time active users and event counts from the last 30 minutes.low
search_skillsSearches built-in GA4 analytical playbooks (e-commerce, channel attribution, bot filtering).low
skill_readDynamically loads procedural skills and analytical guides from GitHub.low
skills_listLists all available live GA4 analytical skills.low

Compatibility

ClientLocalDockerRemoteRead-only
Claude Desktop
Cursor
VS Code
Windsurf
ChatGPT

Frequently asked questions

What configuration is required for Claude Desktop?

You must provide your GA4_PROPERTY_ID and the path to your GOOGLE_APPLICATION_CREDENTIALS service account file within the env object of your claude_desktop_config.json.

Can I opt out of the anonymous telemetry collection?

Yes, you can opt out by setting the DO_NOT_TRACK or MCP_TELEMETRY_OPT_OUT environment variables to 1.

How are analytical playbooks handled by the server?

The server includes built-in skills that load dynamically from GitHub, which provide guided recipes for tasks like traffic diagnosis and e-commerce analysis.

What information does the server collect via telemetry?

The server collects anonymous diagnostic data such as command executions, latency, and error codes, but does not store queries, credentials, or personal data.

Alternatives

Changelog

Badge

Google Analytics MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.