Google Analytics 4 MCP
Verified · scalably.ioMCP server by scalably-io · updated · ★ 0
Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools. Google Analytics 4 MCP is published by scalably.io from its verified domain in the official MCP Registry.
Last commit 16 days ago
MIT: permissive, fine for commercial use
Clear description, published package or server URL, original repository
Not checked yet. What we check
What you need
| Setting | Needed | What it is |
|---|---|---|
GOOGLE_Environment variable | Required | Path to a Google service-account JSON file with the analytics.readonly scope; add the service account as a Viewer on each GA4 property |
GA4_Environment variable | Optional | Log level, default INFO |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Install Google Analytics 4 MCP
Built from the published package, never by AIclaude mcp add google-analytics-4-mcp -e GOOGLE_APPLICATION_CREDENTIALS=YOUR_GOOGLE_APPLICATION_CREDENTIALS -- uvx scalably-ga4-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-analytics-4-mcp": {
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "YOUR_GOOGLE_APPLICATION_CREDENTIALS"
}
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Google Analytics 4 MCP in Claude Desktop
{
"mcpServers": {
"google-analytics-4-mcp": {
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "YOUR_GOOGLE_APPLICATION_CREDENTIALS"
}
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-analytics-4-mcp": {
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "YOUR_GOOGLE_APPLICATION_CREDENTIALS"
}
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-analytics-4-mcp --env GOOGLE_APPLICATION_CREDENTIALS=YOUR_GOOGLE_APPLICATION_CREDENTIALS -- uvx scalably-ga4-mcp{
"mcpServers": {
"google-analytics-4-mcp": {
"command": "uvx",
"args": [
"scalably-ga4-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "YOUR_GOOGLE_APPLICATION_CREDENTIALS"
}
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Google Analytics 4 MCP in Antigravity CLI
gemini mcp add google-analytics-4-mcp uvx scalably-ga4-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-analytics-4-mcp block.
Weekly newsletter
Like Google Analytics 4 MCP? Get the best new MCP servers every week
The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.
Alternatives to Google Analytics 4 MCP
All alternatives →The Power BI Authoring MCP server lets an AI agent create and change Power BI semantic models.
Agent-Native Amplitude/Mixpanel - connect data sources, prompt for charts
Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI
A Model Context Protocol (MCP) server that provides chat functionality with Cube's AI agent for analytics and data exploration
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP gateway for AI models (OpenAI, Grok, DeepSeek, Claude and other function-calling LLMs) and for web pages and apps: one authenticated, observable endpoint in front of your MCP servers with routing, scopes, rate limits and metrics.
Google Analytics 4 MCP: common questions
How do I install Google Analytics 4 MCP?
In Claude Code run claude mcp add google-analytics-4-mcp -e GOOGLE_APPLICATION_CREDENTIALS=YOUR_GOOGLE_APPLICATION_CREDENTIALS -- uvx scalably-ga4-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Analytics 4 MCP the official server?
Google Analytics 4 MCP is published by scalably.io from its verified domain in the official MCP Registry.
Is Google Analytics 4 MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Google Analytics 4 MCP safe to use?
It scores 33 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.
What are alternatives to Google Analytics 4 MCP?
Similar MCP servers: Power BI Authoring MCP Server (Local), Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Cube Dev MCP Server.
Does Google Analytics 4 MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
