Skip to content
Claude Code

Google Analytics 4 for Claude Code

io.github.mindstone/mcp-server-google-analytics

Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility 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 mcp-server-google-analytics -e GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> -e GA4_PROPERTY_ID=<GA4_PROPERTY_ID> -- npx -y @mindstone/mcp-server-google-analytics

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

Google Analytics 4 in other clients