MCP server for Google Analytics 4 (GA4) that allows LLMs to query and analyze GA4 data. Provides tools to fetch reports, extract metrics, and perform trend analysis. Connects directly to GA4 API. Useful for developers building analytics dashboards, automated reporting tools, or data-driven decision-making systems.
MCP server for Google Analytics 4 (GA4) that allows LLMs to query and analyze GA4 data. Provides tools to fetch reports, extract metrics, and perform trend analysis. Connects directly to GA4 API. Useful for developers building analytics dashboards, automated reporting tools, or data-driven decision-making systems.
pip install mcp-server-ga4Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"harshfolio-mcp-server-ga4-github": {
"command": "uvx",
"args": [
"pip install mcp-server-ga4"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from ga4?"
API Key Required
This server requires an API key from ga4. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| GA4_API_KEY | Yes | Your ga4 API key |
"What resources are available in ga4?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in ga4"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in ga4 with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.