AI agent for Google Analytics 4

Connect Google Analytics 4 to your AI agent through the WorkAist MCP server.

/ agents/marketplace

Marketplace

Pre-built connector templates · install with one click.

Connector
Google Analytics 4
Production-grade analytics MCP server. AGPL-3.0, self-hosted.
v1.3.4analyticsoauth-g
  1. 1Install in one click

    Pick Google Analytics 4 from the marketplace. WorkAist handles Google OAuth 2.0 and stores the credentials encrypted — no JSON keys to paste.

  2. 2Tools auto-generated

    Google Analytics 4 exposes 6 MCP tools to every agent in your workspace: get_metric, list_reports, create_dashboard, query_segment, and more. Each tool is a typed function, not a brittle script.

  3. 3Data flows to your graph

    Historical analytics records sync to your private knowledge graph. Agents query relationships across all connected sources, not just Google Analytics 4 in isolation.

  4. 4Your agents take action

    Your AI agent picks the right tool, runs it under your access policies, and answers in plain language — with a full audit trail of every Google Analytics 4 call.

In 60 seconds

Google Analytics 4 is analytics software you can connect to WorkAist in minutes. Through the open MCP standard, your AI agents read, transform and act on your data across tools — autonomously, under explicit permissions, with no manual hand-offs. Google Analytics 4 authenticates via OAuth, and because WorkAist is self-hosted under AGPL-3.0, your data never leaves your own infrastructure.

Authentication & setup

The Google Analytics 4 connector authenticates via Google OAuth 2.0.

One-click OAuth setup

WorkAist redirects you to the provider, you authorize, and the access token is encrypted and stored. No keys to copy.

Frequently paired with Google Analytics 4

FAQ

Can a WorkAist AI agent really automate Google Analytics 4 end-to-end?

Yes. The connector exposes read and write tools through Model Context Protocol. AI agents call them through plain-language instructions in a CLAUDE.md file — no glue code.

How does this differ from using the Google Analytics 4 API directly?

The connector adds permission isolation, audit logging, cost tracking per agent, and reversible PII redaction at the LLM boundary. It also presents Google Analytics 4 as part of a unified Knowledge Graph alongside your other tools.

What does it cost?

WorkAist is open-source under AGPL-3.0 and self-hosted, so the connector itself is free. You pay only for Google Analytics 4's own API costs (if any) and the LLM tokens your agent consumes.

Is my Google Analytics 4 data sent to a third party?

No. WorkAist runs in your own infrastructure. Data flows from Google Analytics 4 → your WorkAist instance → the LLM you choose. Sensitive fields can be tokenized before reaching the LLM.

What if Google Analytics 4 changes its API?

The connector is versioned and published openly. When Google Analytics 4 ships breaking changes, we bump the connector version and the marketplace UI surfaces the upgrade as a one-click apply.

Licensed under AGPL-3.0 · Self-hosted, your data stays yours.