Google-analytics-mcp Server

Model Context Protocol (MCP) server for Google Analytics 4: real-time query exploration, schema discovery, metric aggregation, and audience insights for AI agents.

Local serverstdio

What is the Google-analytics-mcp Server?

Google Analytics MCP Server is an MCP project maintained in the surendranb/google-analytics-mcp repository. The maintainer describes its purpose as “Model Context Protocol (MCP) server for Google Analytics 4: real-time query exploration, schema discovery, metric aggregation, and audience insights for AI agents”. Read the project documentation for the complete scope.

Installation

The documented pypi package is google-analytics-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Google-analytics-mcp Server

{
  "mcpServers": {
    "google-analytics": {
      "command": "uvx",
      "args": [
        "google-analytics-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.