MCP server
Google Analytics
io.github.surendranb/google-analytics-mcp
Checked 26 Oct 2026, 08:31 UTC · Still published on its registry; checked against OSV.dev; never run by us
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
At a glance
- Type
- MCP server
- Publisher
- Not verified
- Status
- Runs on your computer
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code
- Last checked
- 26 Oct 2026, 08:31 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. It then runs the package on your computer with your permissions. For other apps, copy the setup below.
Claude Code
claude mcp add google-analytics-mcp --env GOOGLE_APPLICATION_CREDENTIALS=YOUR_VALUE --env GA4_PROPERTY_ID=YOUR_VALUE -- uvx google-analytics-mcp@2.8.2
Claude Desktop
{"mcpServers":{"google-analytics-mcp":{"command":"uvx","args":["google-analytics-mcp@2.8.2"],"env":{"GOOGLE_APPLICATION_CREDENTIALS":"YOUR_VALUE","GA4_PROPERTY_ID":"YOUR_VALUE"}}}}
Codex (config.toml)
[mcp_servers.google-analytics-mcp]
command = "uvx"
args = ["google-analytics-mcp@2.8.2"]
env = { GOOGLE_APPLICATION_CREDENTIALS = "YOUR_VALUE", GA4_PROPERTY_ID = "YOUR_VALUE" }
Gemini CLI
{"mcpServers":{"google-analytics-mcp":{"command":"uvx","args":["google-analytics-mcp@2.8.2"],"env":{"GOOGLE_APPLICATION_CREDENTIALS":"YOUR_VALUE","GA4_PROPERTY_ID":"YOUR_VALUE"}}}}
Cursor
{"mcpServers":{"google-analytics-mcp":{"command":"uvx","args":["google-analytics-mcp@2.8.2"],"env":{"GOOGLE_APPLICATION_CREDENTIALS":"YOUR_VALUE","GA4_PROPERTY_ID":"YOUR_VALUE"}}}}
VS Code
{"servers":{"google-analytics-mcp":{"type":"stdio","command":"uvx","args":["google-analytics-mcp@2.8.2"],"env":{"GOOGLE_APPLICATION_CREDENTIALS":"YOUR_VALUE","GA4_PROPERTY_ID":"YOUR_VALUE"}}}}
Runs on your computer with your permissions: check the package and its source before installing. Replace YOUR_VALUE with your own GOOGLE_APPLICATION_CREDENTIALS, GA4_PROPERTY_ID.
Browse
Related MCP servers
- Google Analytics (unofficial)
Connect Google Analytics to ChatGPT. Query GA4 data in plain English and get instant insights. - Nevent MCP
Talk to your live-events CRM (campaigns, analytics, paid ads, segments) in Claude and ChatGPT. - Theaslangroupllc Pulsenetwork
914 paid market-data & token-safety endpoints — keyless x402 USDC: Base, Solana, XRPL, +8 chains - ToolRouter
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call. - FET112
Security intelligence for AI agents monitoring Ethereum before actions. - Dpf-it
AI-powered data integration platform. Onboard users and run DPF data workflows. - SEO Audit MCP Server
Professional SEO auditing: 15 tools, 9 checks, CWV, E-E-A-T, schema, GEO. Free tier. - AINumbers Fintech Intelligence Suite
754 MCP tools across 1221 fintech tools: ChainGraph AP2 decisions, execution_hash. Zero PII.
Badge for your README
[](https://aptlynx.net/servers/io.github.surendranb/google-analytics-mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents