LocalFree

Google Analytics MCP server

leonardosepulvedat/mcp-google-analytics

GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.

2 GitHub stars6,450 npm downloads / month

Install Google Analytics in Claude Code

Claude Code
claude mcp add google-analytics -- npx -y mcp-google-analytics
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "google-analytics": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-analytics"
      ]
    }
  }
}

Frequently asked questions

What does the Google Analytics MCP server do?

GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools.

Is the Google Analytics MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Google Analytics run locally or remotely?

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

How do I add Google Analytics to Claude Code?

Run: claude mcp add google-analytics -- npx -y mcp-google-analytics

More marketing MCP servers

View all