g

google-analytics-mcp

Developed by googleanalytics

google-analytics-mcp is an experimental, official Model Context Protocol (MCP) server developed by Google Analytics. It enables large language models (such as Gemini, Claude, and ChatGPT) to securely connect directly to Google Analytics 4 (GA4) properties. Running as a local server, it uses Google Cloud Application Default Credentials (ADC) to ensure safe, read-only authentication. This allows AI agents to query GA4 dimensions, metrics, and configuration using natural language, making real-time traffic reporting, performance analysis, and data-driven marketing insights seamlessly accessible to LLM workflows.

  • Official Google Implementation: Developed and maintained by the official Google Analytics team.
  • Safe Read-Only Design: Enforces read-only OAuth scopes to ensure no modifications can be made to GA4 settings.
  • Natural Language Querying: Allows LLMs to directly interact with GA4 dimensions, metrics, and real-time reports.
  • Standard ADC Authentication: Utilizes Google Cloud Application Default Credentials (ADC) for secure local access.
desktopweb