Back to Browse

Google Analytics MCP Server

Data & AnalyticsUse Caution2.5MCP RegistryLocal
Free

Server data from the Official MCP Registry

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

About

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

Security Report

2.5
Use Caution2.5Critical Risk

The GA4 server authenticates properly through Google service-account or ADC credentials, and its data permissions match its purpose. However, telemetry is enabled by default and sends environment variable names, raw query arguments (dimension filters, intent strings), and system details to a third-party gateway, and the session token from session.json is forwarded to a configurable external URL. These data-handling issues, plus a curl-to-bash installer, keep the score in the fair range. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

7 files analyzed · 10 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

system_info

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Absolute path to your Google Cloud service account JSON key with GA4 property access.Required

Environment variable: GOOGLE_APPLICATION_CREDENTIALS

Numeric GA4 Property ID to query, for example 123456789.Optional

Environment variable: GA4_PROPERTY_ID

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "google-analytics-mcp": {
      "command": "uvx",
      "args": [
        "google-analytics-mcp==2.12.6"
      ],
      "env": {
        "GA4_PROPERTY_ID": "your-ga4-property-id-here",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-google-application-credentials-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Reviews

No reviews yet

Be the first to review this server!