Vibe Coding Discover

MCP

google-analytics-mcp

View on GitHub

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.

★ 24248 forksPythonMITsurendranb

MCP server exposing Google Analytics 4 Data API to AI agents and MCP clients, with schema discovery, server-side metric aggregation, realtime reports, and built-in analytical skills for traffic, attribution, and e-commerce analysis.

Use Cases

Query GA4 traffic and user behavior from an AI agentDiscover GA4 dimensions and metrics schemaRun realtime active-user reportsAnalyze channel acquisition and attributionDiagnose traffic drops with guided playbooksTrack AI referral traffic from ChatGPT/Claude/Perplexity/GeminiE-commerce revenue and conversion funnel analysisBot traffic detection and filteringGeo and device segmentation reportingGenerate weekly analytics dashboards

Built With

Language
Python
Frameworks
Model Context Protocol · google-analytics-data · google-auth · uvx · npx · Claude Desktop · Claude Code · Cursor · VS Code Cline · Windsurf · Zed · Google Antigravity · Gemini Extension

Tags

mcp · mcp-server · google-analytics · ga4 · analytics · ai-agents · claude · cursor · agentic-workflows · reporting · skills · realtime-analytics · attribution · ecommerce-analytics · telemetry · python

google-analytics-mcp — Vibe Coding Discover