AdYour product here, seen by people installing AI tools every day Sponsor slots open: 12 of 12, from $249 a month

Google Analytics 4

Community

MCP server by stucchi · updated · ★ 0

Score 18

Manage GA4 properties, data streams, conversions, and run reports via Admin & Data APIs. Google Analytics 4 is a community project by stucchi, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 234 days ago

Licence

No licence found, so reuse rights are unclear

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
GA_CREDENTIALSEnvironment variableOptionalGoogle Service Account JSON key content (copy-paste the entire JSON)
GA_CREDENTIALS_PATHEnvironment variableOptionalAlternative: path to the Service Account JSON key file Default: ~/.google-analytics-mcp/credentials.json

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Install Google Analytics 4

Built from the published package, never by AI
claude mcp add google-analytics-4 -- uvx google-analytics-4-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Google Analytics 4 in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-analytics-4 block.

Alternatives to Google Analytics 4

All alternatives →

Google Analytics 4: common questions

How do I install Google Analytics 4?

In Claude Code run claude mcp add google-analytics-4 -- uvx google-analytics-4-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Google Analytics 4 the official server?

Google Analytics 4 is a community project by stucchi, not verified by a company domain.

Is Google Analytics 4 free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is Google Analytics 4 safe to use?

It scores 18 of 100. Grades: maintenance D, licence F, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to Google Analytics 4?

Similar MCP servers: Power BI Authoring MCP Server (Local), Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Cube Dev MCP Server.

Does Google Analytics 4 work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.