Provider-maintained MCP

Google Analytics MCP

Read GA4 property and reporting data for marketing traffic and conversion analysis.

Source reviewed 2026-10-31 · Connection and account access have not been tested.

Connection: Local stdio

Provider documentation ↗

Before you connect

  • Python and pipx installed locally.
  • A Google Cloud project with Analytics Admin and Data APIs enabled.
  • Application Default Credentials with analytics.readonly scope and access to the GA4 property.

Install

  1. 1Prepare Google credentials

    Follow the provider README to configure Application Default Credentials. Note the credentials file path and your Google Cloud project ID.

  2. 2Add to Claude Code

    claude mcp add analytics-mcp --scope user -e "GOOGLE_APPLICATION_CREDENTIALS=PATH_TO_CREDENTIALS_JSON" -e "GOOGLE_CLOUD_PROJECT=YOUR_PROJECT_ID" -- pipx run analytics-mcp

    Replace both placeholders with local values, then register the server. This configuration uses the default read-only tools.

Verify your connection

After setup, try this prompt in your connected client:

List the GA4 properties I can access, then summarize sessions by acquisition channel for the last seven complete days. Include the date range and property ID.

Use it in a workflow