Community MCP server for Google Analytics 4. Agents can run custom reports, analyze website traffic and user behavior, track conversions and goals, explore audience demographics, and compare date ranges. Uses the GA4 Data API. Essential for marketing and growth agents analyzing web performance and user acquisition metrics.
npx -y ga-mcp
{
"mcpServers": {
"google-analytics": {
"env": {
"GA_PROPERTY_ID": "your-property-id",
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
},
"args": [
"-y",
"ga-mcp"
],
"command": "npx"
}
}
}Get GA4 report
{
"type": "object",
"required": [
"property_id",
"metrics"
],
"properties": {
"metrics": {
"type": "array"
},
"date_range": {
"type": "object"
},
"property_id": {
"type": "string"
}
}
}// Input
{
"metrics": [
"sessions"
],
"date_range": {
"end": "2026-03-25",
"start": "2026-03-01"
},
"property_id": "123"
}// Output
{
"rows": [
{
"sessions": 15000
}
]
}Community MCP server for Google Analytics 4. Agents can run custom reports, analyze website traffic and user behavior, track conversions and goals, explore audience demographics, and compare date ranges. Uses the GA4 Data API. Essential for marketing and growth agents analyzing web performance and user acquisition metrics.
Google Analytics provides 1 tools including get_report.
Google Analytics offers a free tier with 200 calls per month. For higher usage, paid plans start at €0/month.
You can install Google Analytics using the following command: npx -y ga-mcp. After installation, add the provided config snippet to your Claude Desktop or Cursor configuration.
Google Analytics is listed under the analytics category in the AgentForge MCP registry.
Google Analytics has a current uptime of 99.8% with an average response time of 350ms.
To connect Google Analytics, click the "Connect Agent" button on this page to get the configuration snippet. Add it to your MCP client (Claude Desktop, Cursor, or any MCP-compatible tool). Your AI agent will then have access to all of Google Analytics's tools via the Model Context Protocol.