GA4 MCP
9 toolsConnect your AI assistant to Google Analytics 4. Run historical and realtime reports, manage custom dimensions and metrics, and analyze traffic patterns. Supports both service account and OAuth authentication with multi-client configuration.
Install
Features
- Historical report generation
- Realtime data access
- Custom dimension management
- Custom metrics management
- Multi-client configuration
- Service account and OAuth support
- Relative date ranges
- Data stream listing
Frequently Asked Questions
How do I install GA4 MCP?
Run `npx mcp-ga4` in your terminal. No build step or additional configuration required.
What does GA4 MCP do?
Connect your AI assistant to Google Analytics 4. Run historical and realtime reports, manage custom dimensions and metrics, and analyze traffic patterns. Supports both service account and OAuth authentication with multi-client configuration.
Is GA4 MCP free?
Yes. GA4 MCP is open source and free to use. The source code is available on GitHub.
What AI assistants does GA4 MCP work with?
Any MCP-compatible AI assistant, including Claude Code, Claude Desktop, Cursor, Windsurf, and others that support the Model Context Protocol.