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

mcp-google-analytics

Community

MCP server by leonardosepulvedat · updated · ★ 2 · 1.7k downloads a week

Score 78

GA4 MCP that reads AND writes: reports, funnels, audits, and server-side events. 26 tools. mcp-google-analytics is a community project by leonardosepulvedat, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 62 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

No risky patterns in the files we checked

What you need

SettingNeededWhat it is
GA_SERVICE_ACCOUNT_JSONEnvironment variable, secretOptionalService account JSON for reading reports: file path or inline JSON (needed for read tools)
GA_PROPERTY_IDEnvironment variableOptionalNumeric GA4 property ID, e.g. 123456789 (needed for read tools)
GA_MEASUREMENT_IDEnvironment variableOptionalMeasurement ID of the data stream, e.g. G-XXXXXXXXXX (needed for event-sending tools)
GA_API_SECRETEnvironment variable, secretOptionalMeasurement Protocol API secret (needed for event-sending tools)

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

Install mcp-google-analytics

Built from the published package, never by AI
claude mcp add mcp-google-analytics -- npx -y mcp-google-analytics

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

Step-by-step: install mcp-google-analytics 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 mcp-google-analytics block.

Weekly newsletter

Like mcp-google-analytics? Get the best new MCP servers every week

The best new tools, security warnings before you install something risky, and one practical tip. Free, three minute read.

No spam. Unsubscribe in one click. Privacy

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mcp-google-analytics

All alternatives →

mcp-google-analytics: common questions

How do I install mcp-google-analytics?

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

Is mcp-google-analytics the official server?

mcp-google-analytics is a community project by leonardosepulvedat, not verified by a company domain.

Is mcp-google-analytics free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mcp-google-analytics safe to use?

It scores 78 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to mcp-google-analytics?

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

Does mcp-google-analytics 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.