Ask GA4 about sessions, conversions and revenue by channel from your AI client.
Google Analytics 4 MCP Server
Published by stucchiManage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.1
- SOURCE CHECKED
- Nov 27, 2026
Quick answers
How do I add Google Analytics 4 MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --transport stdio google-analytics-4 -- uvx google-analytics-4-mcpCursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"google-analytics-4": {
"command": "uvx",
"args": [
"google-analytics-4-mcp"
]
}
}
}CodexCommand
Run this in your terminal:
codex mcp add google-analytics-4 -- uvx google-analytics-4-mcpVS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"google-analytics-4": {
"type": "stdio",
"command": "uvx",
"args": [
"google-analytics-4-mcp"
]
}
}
}Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"google-analytics-4": {
"command": "uvx",
"args": [
"google-analytics-4-mcp"
]
}
}
}ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use Google Analytics 4 MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does Google Analytics 4 MCP Server need an API key?
Its listing declares no key or settings needed to run it.
Is Google Analytics 4 MCP Server official?
It's published by stucchi. The Official MCP Registry accepts names under io.github.stucchi only from the GitHub account or organisation stucchi. We last checked its listing on Nov 27, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
pypi · google-analytics-4-mcp@0.1.1