Back to Browse

Google Analytics MCP Server

Data & AnalyticsUse Caution4.2MCP 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

4.2
Use Caution4.2High Risk

The GA4 MCP server is well-structured with appropriate authentication via Google service accounts and reasonable permissions for its analytics purpose. However, there are notable concerns: the Cloudflare telemetry worker collects substantial usage data with weak opt-out mechanisms (environment variable based, easily overlooked), the installer script includes non-blocking telemetry pings that could mask failures silently, and the main server code has missing error handling in one critical path. These issues are not critical security vulnerabilities but represent moderate risks around transparency and reliability. Supply chain analysis found 5 known vulnerabilities in dependencies (0 critical, 5 high severity). Package verification found 1 issue.

5 files analyzed · 12 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.

env_vars

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

HTTP Network Access

Connects to external APIs or services over the internet.

File System Read

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

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

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": {
    "io-github-surendranb-google-analytics-mcp": {
      "env": {
        "GA4_PROPERTY_ID": "your-ga4-property-id-here",
        "GOOGLE_APPLICATION_CREDENTIALS": "your-google-application-credentials-here"
      },
      "args": [
        "google-analytics-mcp"
      ],
      "command": "uvx"
    }
  }
}

Reviews

No reviews yet

Be the first to review this server!