MCP server

Google Analytics 4 MCP server

Google publishes an official MCP server for Google Analytics 4 that runs on your own computer.

Server details

Publisher

Google

The official server.

Runs

On your computer

It runs on your own computer.

Sign-in

OAuth

Python 3.10+ with pipx or uv, the Analytics Admin and Data APIs enabled in a Google Cloud project, Application Default Credentials with the analytics.readonly scope, and at least the Viewer role on the property. Write tools need the --allow-write flag and the analytics.edit scope.

Docs: developers.google.com/analytics/devguides/MCP

Google Analytics 4 MCP server tools

Add it to Claude, ChatGPT or Cursor

It runs on your own computer. Install it as the docs linked above describe, then add it to an app that runs local MCP servers, such as Claude Desktop or Cursor.

Kipwise’s Google Analytics 4 MCP server

Kipwise runs Kipwise for Google Ads, Analytics & Search Console, a remote MCP server at https://agent.kipwise.com/mcp/google-marketing. Add it to Claude as a custom connector and sign in with Slack. It needs a Kipwise Agent plan or trial, and workspaces whose data is in the EU region can’t connect yet. Set it up in Claude.

Worth knowing

It runs on your computer and is read-only by default. Three write tools, for annotations, custom dimensions and key events, appear only with --allow-write and the analytics.edit scope.

Google Analytics 4 in Slack, without running a server

Kipwise Agent works with Google Analytics 4 from a Slack thread, with no MCP server to run. Each person connects their own Google Analytics 4 account, and anything that changes data waits for an Approve card. See Google Analytics 4 in Slack.

  • @Kipwise connect Google Analytics 4

    Each person connects their own Google Analytics 4 account. Nobody shares a login.

  • @Kipwise what can you do in Google Analytics 4?

    Run reports on traffic and active users.

Questions

Is there an official Google Analytics 4 MCP server?

Yes. Google publishes it.

What do I need to use the Google Analytics 4 MCP server?

Python 3.10+ with pipx or uv, the Analytics Admin and Data APIs enabled in a Google Cloud project, Application Default Credentials with the analytics.readonly scope, and at least the Viewer role on the property. Write tools need the --allow-write flag and the analytics.edit scope.

Can I use Google Analytics 4 from Slack without an MCP server?

Yes. Kipwise Agent connects to Google Analytics 4 directly from a Slack thread. Each person connects their own Google Analytics 4 account, and anything that changes data waits for an Approve card.

What does Kipwise Agent cost?

$29 a month per workspace, or $290 a year (2 months free). That includes $20 of AI credit every month, shared by the whole workspace. Add it to Slack and the free trial starts on your first message: $10 of AI credit for 14 days, no card needed.

Use Google Analytics 4 from Slack

Add Kipwise Agent to Slack and ask in a thread. Free for 14 days, no card needed.