PluginBench
MCP Server

Google Analytics 4 MCP Server

io.github.mindstone/mcp-server-google-analytics

What is the Google Analytics 4 MCP server?

Google Analytics 4 MCP server with reporting, schema discovery, and admin visibility tools

How to install Google Analytics 4

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • GOOGLE_APPLICATION_CREDENTIALS
    required

    Absolute path to ADC or service-account JSON file

  • GA4_PROPERTY_ID

    Default GA4 property ID (e.g. 123456789)

Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-google-analytics"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
      }
    }
  }
}
Cursor
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-google-analytics"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
      }
    }
  }
}
Windsurf
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "mcp-server-google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-google-analytics"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
      }
    }
  }
}
VS Code
.vscode/mcp.json
{
  "servers": {
    "mcp-server-google-analytics": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-google-analytics"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "<YOUR_GOOGLE_APPLICATION_CREDENTIALS>",
        "GA4_PROPERTY_ID": "<YOUR_GA4_PROPERTY_ID>"
      }
    }
  }
}
Claude Code
claude mcp add mcp-server-google-analytics --env GOOGLE_APPLICATION_CREDENTIALS=<YOUR_GOOGLE_APPLICATION_CREDENTIALS> --env GA4_PROPERTY_ID=<YOUR_GA4_PROPERTY_ID> -- npx -y @mindstone/mcp-server-google-analytics

Related MCP servers

MCP server for Apple Shortcuts via the macOS shortcuts CLI

View repository →

Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs

View repository →

Mindstone-internal release-pipeline test connector; not for use. Single ping tool; no auth.

View repository →

ElevenLabs MCP server: TTS, music, sound effects, voices, and audio transcription

View repository →

Email IMAP/SMTP MCP server: iCloud, Gmail, Yahoo, Outlook, and custom IMAP providers

View repository →

Fathom AI meeting transcription MCP server for Model Context Protocol hosts

View repository →