Loading MCP server directory, please wait...
Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.
npx @getmcp/cli add io.github.mharnett/ga4Requires Node.js 18+. Community-contributed server. Review source before installing.
GA4_PROPERTY_IDGA4 property ID (numeric)
GOOGLE_APPLICATION_CREDENTIALSPath to service account JSON credentials file
Config file: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"io.github.mharnett/ga4": {
"command": "npx",
"args": [
"-y",
"mcp-ga4"
],
"env": {
"GA4_PROPERTY_ID": "",
"GOOGLE_APPLICATION_CREDENTIALS": ""
}
}
}
}