google-analytics-mcp MCP Server
surendranb/google-analytics-mcp
[](https://agentrank-ai.com/tool/surendranb--google-analytics-mcp/?utm_source=badge&utm_medium=readme&utm_campaign=agentrank_badge) 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.
claude mcp add agentrank -- npx -y agentrank-mcp-server Overview
surendranb/google-analytics-mcp is a Python tool licensed under MIT. 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. Topics: ai-agent, analytics, claude-mcp, ga4, gemini-extension, google-analytics, mcp-server, model-context-protocol, ai-agents, claude, cursor, mcp.
Ranked #1810 out of 24846 indexed tools.
In the top 8% of all indexed tools.
Ecosystem
Score Breakdown
242 stars → growing community
Last commit 20d ago → recently updated
16/24 issues closed → decent issue management
3 contributors → small team
No dependents → no downstream usage
2,318 weekly installs → gaining traction
Weights: Freshness 20% · Issue Health 20% · Dependents 22% · Stars 10% · Contributors 8% · How we score →
How to Improve
Matched Queries
From the README
<p align="center">
</p>
# Google Analytics 4 (GA4) MCP Server 📊
> **Model Context Protocol (MCP) server for Google Analytics 4: real-time query exploration, schema discovery, metric aggregation, and audience insights for AI agents.**
🌐 **Live Documentation & Web Portal**: [https://ga4.builditwithai.xyz](https://ga4.builditwithai.xyz)
---
## ⚡ Quickstart
```bash
# 1-Line Universal Installer (Auto-configures Claude Desktop, Cursor, Claude Code, Antigravity, VS Code, Zed, Windsurf)
curl -fsSL "https://ga4.builditwithai.xyz/install" | bash
# Or run directly via your preferred runtime:
uvx google-analytics-mcp
uvx --from google-analytics-mcp ga4-mcp-server
python -m ga4_mcp
npx -y @surendranb/google-analytics-mcp
```
---
---
## 🤖 Client Setup
### A. Claude Code (CLI)
```bash
claude mcp add google-analytics -- uvx google-analytics-mcp
```
### B. Cursor & Google Antigravity (`mcp.json`)
```json
{
"mcpServers": {
"google-analytics": {
"command": "uvx",
"args Read full README on GitHub → Get the weekly AgentRank digest
Top movers, new tools, ecosystem insights — straight to your inbox.