PlugWiki
mcp-ga4 logo

mcp-ga4 MCP Server: Tools, Setup for Claude Code, Cursor & More

CommunityLocal
Getnpmmcp-ga4mharnett/mcp-ga4

Not the official Google Analytics MCP server. This one is built by the community. Google Analytics makes its own: Google Analytics MCP Server →

Google Analytics 4 MCP: reports, realtime data, custom dimensions, data streams.

Works in

12 should work

Tap an app to see how to set it up and any known problems.

Install mcp-ga4

Claude Code

  1. 1

    Copy this prompt.

    Add the mcp-ga4 server to Claude Code. Run this command:
    
    claude mcp add ga4 -e GA4_PROPERTY_ID=<GA4_PROPERTY_ID> -e GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> -- npx -y mcp-ga4
    
    Ask me for GA4_PROPERTY_ID, GOOGLE_APPLICATION_CREDENTIALS and only put the values in that config, nowhere else.
    
    Then check that it loaded and tell me if I need to sign in or restart.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

Built from the package data we hold. Not yet tested by us.

Tools

We don't list mcp-ga4's tools here yet. After you connect it, ask your assistant "What can you do with mcp-ga4?" to see them.

Security advisories

none published

No published security advisories as of Nov 1, 2026.

Information

updated Nov 2, 2026

Publisher
Community
Package
mcp-ga4
Registry
npm
Transport
stdio
Version
2.0.1
License
MIT
Last commit
Oct 31, 2026
Open issues
0
Listed in
Official MCP registry

GitHubnpmOfficial MCP RegistryChangelogIssues

Other Google Analytics MCP servers

Facts from the official MCP registry, GitHub, npm, PyPI and the Docker catalog. Updated Nov 2, 2026.