S

SEO Tools: Google Analytics 4

MCP server · by antohins

Data & Analytics npm v1.8.0

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 1.8.0

npm
npx -y seo-tools-mcp-ga4

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "seo-tools-mcp-ga4": {
      "command": "npx",
      "args": [
        "-y",
        "seo-tools-mcp-ga4"
      ],
      "env": {
        "GOOGLE_CLIENT_SECRET": "<YOUR_GOOGLE_CLIENT_SECRET>",
        "GA4_REFRESH_TOKEN": "<YOUR_GA4_REFRESH_TOKEN>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • GOOGLE_CLIENT_ID — Google OAuth client ID (Desktop app), shared with the gsc server.
  • GOOGLE_CLIENT_SECRET secret — Google OAuth client secret.
  • GA4_REFRESH_TOKEN secret — 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).

GitHub

⭐ 6 stars · 最近更新于 27 天前 · MIT license

These star and push figures are for the shared repository — 8 listings on this site point at the same repository.

About this server

/ seo tools mcp Русский English Восемь универсальных stdio MCP серверов для SEO: доступ к SERP, Wordstat, Google Search Console, Google Analytics 4, Яндекс.Вебмастеру, Яндекс.Метрике и self hosted A Parse…

Summary from the project README — github.com/antohins/seo-tools-mcp

Distributed as npm, listed under Data & Analytics. Review our MCP security guide before granting access to real data.

Frequently asked questions

What does the SEO Tools: Google Analytics 4 MCP server do?

/ seo tools mcp Русский English Восемь универсальных stdio MCP серверов для SEO: доступ к SERP, Wordstat, Google Search Console, Google Analytics 4, Яндекс.Вебмастеру, Яндекс.Метрике и self hosted A Parse

How do I install SEO Tools: Google Analytics 4?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is SEO Tools: Google Analytics 4 free to use?

The MCP server itself is free to install. The source is public on https://github.com/antohins/seo-tools-mcp. Any third-party service it calls may require its own API key and account.

Which clients support SEO Tools: Google Analytics 4?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/seo-tools-mcp-ga4.svg)](https://mcpnav.net/server/seo-tools-mcp-ga4/)

HTML

<a href="https://mcpnav.net/server/seo-tools-mcp-ga4/"><img src="https://mcpnav.net/badge/seo-tools-mcp-ga4.svg" alt="Listed on MCPNav" height="20"></a>