PlugWiki
google-analytics-mcp logo

google-analytics MCP Server: Tools, Setup for Claude Code, Cursor & More

CommunityLocal
Getnpm@surendranb/google-analytics-mcpsurendranb/google-analytics-mcp

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

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

Works in

12 should work

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

Install google-analytics MCP

Claude Code

  1. 1

    Copy this prompt.

    Add the google-analytics MCP server to Claude Code. Run this command:
    
    claude mcp add google-analytics -e GOOGLE_APPLICATION_CREDENTIALS=<GOOGLE_APPLICATION_CREDENTIALS> -e GA4_PROPERTY_ID=<GA4_PROPERTY_ID> -- npx -y @surendranb/google-analytics-mcp
    
    Ask me for GOOGLE_APPLICATION_CREDENTIALS, GA4_PROPERTY_ID 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 google-analytics MCP's tools here yet. After you connect it, ask your assistant "What can you do with google-analytics MCP?" to see them.

Security advisories

none published

No published security advisories as of Nov 1, 2026.

Information

updated Nov 2, 2026

Publisher
Community
Package
@surendranb/google-analytics-mcp
Registry
npm
Transport
stdio
Version
2.11.7
License
MIT
Last commit
Oct 28, 2026
Open issues
2
Listed in
Official MCP registry

WebsiteGitHubnpmOfficial MCP RegistryChangelogIssues

Other Google Analytics MCP servers

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