SEO Tools: Google Analytics 4 MCP Server
io.github.antohins/seo-tools-mcp-ga4
What is the SEO Tools: Google Analytics 4 MCP server?
Google Analytics 4: reports, traffic sources, landing pages, events, realtime (read-only).
How to install SEO Tools: Google Analytics 4
Copy-paste configuration for popular MCP clients.
GOOGLE_CLIENT_IDGoogle OAuth client ID (Desktop app), shared with the gsc server.
GOOGLE_CLIENT_SECRETsecretGoogle OAuth client secret.
GA4_REFRESH_TOKENsecretOAuth refresh token (obtained via ga4_oauth_start / ga4_oauth_finish).
GA4_SA_JSONPath to a service-account JSON key (alternative to OAuth).
GA4_PROPERTY_IDDefault GA4 property id (numeric, e.g. 123456789).
GA4_OAUTH_PORTLoopback port for the OAuth flow (default 8586).
Related MCP servers

Google Search Console: Search Analytics, URL Inspection, sitemaps (read-only, OAuth/service acct).

MCP server for Yandex Wordstat keyword frequencies (official API v2). Free Yandex Cloud Search API.
Google & Yandex SERP, image/news verticals and URL indexation checks via XMLRiver (read-only).