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

SEO Tools: Google Analytics 4

Community

MCP server by antohins · updated · ★ 8

Score 57

Google Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only). SEO Tools: Google Analytics 4 is a community project by antohins, not verified by a company domain.

Yours? Claim it
Maintenance

Last commit 20 days ago

Licence

MIT: permissive, fine for commercial use

Quality

Clear description, published package or server URL, original repository

Security

Not checked yet. What we check

What you need

SettingNeededWhat it is
GOOGLE_CLIENT_IDEnvironment variableOptionalGoogle OAuth client ID (Desktop app), shared with the gsc server.
GOOGLE_CLIENT_SECRETEnvironment variable, secretOptionalGoogle OAuth client secret.
GA4_REFRESH_TOKENEnvironment variable, secretOptionalOAuth refresh token (obtained via ga4_oauth_start / ga4_oauth_finish).
GA4_SA_JSONEnvironment variableOptionalPath to a service-account JSON key (alternative to OAuth).
GA4_PROPERTY_IDEnvironment variableOptionalDefault GA4 property id (numeric, e.g. 123456789).
GA4_OAUTH_PORTEnvironment variableOptionalLoopback port for the OAuth flow (default 8586).

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

Install SEO Tools: Google Analytics 4

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

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

Step-by-step: install SEO Tools: 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 seo-tools-google-analytics-4 block.

Weekly newsletter

Like SEO Tools: Google Analytics 4? 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

Alternatives to SEO Tools: Google Analytics 4

All alternatives →

SEO Tools: Google Analytics 4: common questions

How do I install SEO Tools: Google Analytics 4?

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

Is SEO Tools: Google Analytics 4 the official server?

SEO Tools: Google Analytics 4 is a community project by antohins, not verified by a company domain.

Is SEO Tools: Google Analytics 4 free?

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

Is SEO Tools: Google Analytics 4 safe to use?

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

What are alternatives to SEO Tools: 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 SEO Tools: 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.