Google Analytics has launched its official MCP, a server that runs locally on your machine and can be accessed through client apps like Claude, Cursor, VS Code, or Gemini CLI. The MCP supports both the GA4 Reporting API and the Admin API, enabling users to query metrics, dimensions, filters, and retrieve property details.
Key Features and Benefits
- Local server operation ensures data is not sent to any third-party servers before reaching the LLM, enhancing data privacy.
- Supports comprehensive querying capabilities via GA4 Reporting API and Admin API.
Limitations and Future Plans
- Installation can be challenging, especially for non-technical users.
- A hosted, remote MCP version is anticipated, allowing users to connect GA4 to Gemini or Claude through a browser with a single click.
The MCP is available for access on GitHub at: https://github.com/googleanalytics/google-analytics-mcp/