TokenToSeaMCP Hub
中文 Console

Google Analytics MCP

surendranb

Gives agents analysis-ready access to Google Analytics 4 traffic, user behavior and performance data.

Setup

Choose your client, copy the config, then fill in any required environment variables.

Add to CursorAdd to VS Code

claude mcp add google-analytics --env GOOGLE_APPLICATION_CREDENTIALS='<GOOGLE_APPLICATION_CREDENTIALS>' --env GA4_PROPERTY_ID='<GA4_PROPERTY_ID>' -- uvx google-analytics-mcp

Environment variables

  • GOOGLE_APPLICATION_CREDENTIALS
  • GA4_PROPERTY_ID

Replace the placeholders with your own credentials and keep them out of version control.