GO

Google Analytics 4 MCP Server

Published by scalably-io

Google Analytics 4 MCP: reports, realtime, funnels, pivots, metadata, admin lists. 17 tools.

Website
CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.0.1
SOURCE CHECKED
Nov 27, 2026

Quick answers

How do I add Google Analytics 4 MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'GOOGLE_APPLICATION_CREDENTIALS=<your-google-application-credentials>' --transport stdio google-analytics-4 -- uvx scalably-ga4-mcp

Replace the <your-…> placeholder with your own GOOGLE_APPLICATION_CREDENTIALS.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "google-analytics-4": {
      "command": "uvx",
      "args": [
        "scalably-ga4-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<your-google-application-credentials>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own GOOGLE_APPLICATION_CREDENTIALS.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add google-analytics-4 --env 'GOOGLE_APPLICATION_CREDENTIALS=<your-google-application-credentials>' -- uvx scalably-ga4-mcp

Replace the <your-…> placeholder with your own GOOGLE_APPLICATION_CREDENTIALS.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "google-analytics-4": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "scalably-ga4-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<your-google-application-credentials>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own GOOGLE_APPLICATION_CREDENTIALS.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "google-analytics-4": {
      "command": "uvx",
      "args": [
        "scalably-ga4-mcp"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<your-google-application-credentials>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own GOOGLE_APPLICATION_CREDENTIALS.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use Google Analytics 4 MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does Google Analytics 4 MCP Server need an API key?

To run it on your computer, set GOOGLE_APPLICATION_CREDENTIALS first, with values from the publisher.

Is Google Analytics 4 MCP Server official?

It's published by scalably-io. The Official MCP Registry accepts names under io.scalably only from someone who proved they control scalably.io. We last checked its listing on Nov 27, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

pypi · scalably-ga4-mcp@1.0.1
mcpb · https://github.com/scalably-io/ga4-mcp/releases/download/v1.0.1/ga4-mcp.mcpb
View source repository