LocalFree server, account needed

Gtm Ga4 MCP server

mharnett/mcp-gtm-ga4

GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.

3 GitHub stars1 forks172 npm downloads / month

Install Gtm Ga4 in Claude Code

Claude Code
claude mcp add gtm-ga4 -e GOOGLE_APPLICATION_CREDENTIALS=... -e GTM_ACCOUNT_ID=... -e GTM_CONTAINER_ID=... -- npx -y mcp-gtm-ga4
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "gtm-ga4": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-gtm-ga4"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "...",
        "GTM_ACCOUNT_ID": "...",
        "GTM_CONTAINER_ID": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Gtm Ga4 MCP server do?

GTM + GA4 MCP: tag management, consent auditing, workspace versioning, reports.

Is the Gtm Ga4 MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Gtm Ga4 run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Gtm Ga4 to Claude Code?

Run: claude mcp add gtm-ga4 -e GOOGLE_APPLICATION_CREDENTIALS=... -e GTM_ACCOUNT_ID=... -e GTM_CONTAINER_ID=... -- npx -y mcp-gtm-ga4

More productivity & project management MCP servers

View all