Skip to content
Claude Code

Google Analytics 4 for Claude Code

com.getmcpads/google-analytics

Google Analytics 4 MCP server: 27 read tools.

client:Claude Code transport:stdio runtime:npm

Install Google Analytics 4 in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add google-analytics -e GA4_CLIENT_ID=<GA4_CLIENT_ID> -e GA4_CLIENT_SECRET=<GA4_CLIENT_SECRET> -e GA4_REFRESH_TOKEN=<GA4_REFRESH_TOKEN> -e GA4_PROPERTY_ID=<GA4_PROPERTY_ID> -- npx -y @getmcpads/google-analytics-mcp-server

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

Google Analytics 4 in other clients