Connect 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-analyticsga4mcp-serveranalyticsdata-analysisai-agentsweb-analyticspythontool
Installation & Configuration
{
"mcpServers": {
"ga4-analytics": {
"command": "ga4-mcp-server",
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/your/service-account-key.json",
"GA4_PROPERTY_ID": "123456789"
}
}
}
}Information
Transport
stdio
Language
Python
Created
2026/6/12
Updated
2026/6/13