SEO Tools: Google Analytics 4 MCP Server

Google Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only).

Local serverstdio

What is the SEO Tools: Google Analytics 4 MCP Server?

SEO Tools: Google Analytics 4 is an MCP integration. Google Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only).

Packages and local setup

The published npm package is seo-tools-mcp-ga4, version 1.8.0. Its declared MCP transport is stdio.

The package declares GOOGLE_CLIENT_ID: Google OAuth client ID (Desktop app), shared with the gsc server.; GOOGLE_CLIENT_SECRET: Google OAuth client secret.; GA4_REFRESH_TOKEN: OAuth refresh token (obtained via ga4_oauth_start / ga4_oauth_finish).; GA4_SA_JSON: Path to a service-account JSON key (alternative to OAuth).; GA4_PROPERTY_ID: Default GA4 property id (numeric, e.g. 123456789).; GA4_OAUTH_PORT: Loopback port for the OAuth flow (default 8586)..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository · Project website. This profile uses version 1.8.0 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related analytics & reporting MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
GOOGLE_CLIENT_IDGoogle OAuth client ID (Desktop app), shared with the gsc server.Optional
GOOGLE_CLIENT_SECRETGoogle OAuth client secret.Optional
GA4_REFRESH_TOKENOAuth refresh token (obtained via ga4_oauth_start / ga4_oauth_finish).Optional
GA4_SA_JSONPath to a service-account JSON key (alternative to OAuth).Optional
GA4_PROPERTY_IDDefault GA4 property id (numeric, e.g. 123456789).Optional
GA4_OAUTH_PORTLoopback port for the OAuth flow (default 8586).Optional