Google Analytics MCP

Otto is a hosted Google Analytics (GA4) MCP server. Claude, ChatGPT and Cursor run any GA4 report in plain words: traffic sources, landing pages, events, e-commerce funnels and geography. No Google Cloud setup.

Or ask from the AI app you already use.

What the Google Analytics MCP can do

The tools Otto exposes to Claude, ChatGPT and Cursor for Google Analytics. Reads answer right away. Changes need Pro and a reviewer or admin on your team.

Read

On every plan, including Starter at $9.99/week.

  • ga4_list_propertiesProperties you can reach
  • ga4_run_reportAny GA4 report: dimensions, metrics, date ranges
  • ga4_traffic_sourcesSessions by source and medium
  • ga4_landing_pagesLanding pages and how they convert
  • ga4_eventsEvents and key events
  • ga4_ecommerce_funnelE-commerce funnel from view to purchase
  • ga4_geoUsers by country and region
  • ga4_events_by_pageEvents by page
  • ga4_events_by_channelEvents by channel
  • ga4_ecommerce_by_categorySales by product category
  • ga4_techBrowsers, devices and operating systems
  • ga4_list_key_eventsKey events on the property
  • ga4_list_custom_dimensionsCustom dimensions
  • ga4_list_data_streamsWeb and app data streams

Change

On Pro, for teammates with reviewer or admin access. Each change needs an explicit confirm.

  • ga4_create_key_eventMark an event as a key event
  • ga4_create_custom_dimensionAdd a custom dimension

What to ask Claude about Google Analytics

Type these into Claude, ChatGPT or Cursor once Otto is connected.

  • Which landing pages lost the most traffic in the last 28 days?
  • Where did this week's sessions come from, by source and medium?
  • Show the checkout funnel and where people drop off.
  • Which events count as key events, and what's missing?
  • Compare mobile and desktop conversion rate this month.

How to connect Google Analytics to Claude, ChatGPT or Cursor

To connect Claude to Google Analytics 4, connect the property in Otto with your Google login, then add https://otto.islaintel.com/api/mcp as a custom connector in Claude. Claude can run any GA4 report: traffic sources, landing pages, events and funnels. Google's official GA4 MCP needs a local setup with Google Cloud credentials.

  1. 01

    Connect Google Analytics in Otto

    Sign in to Otto, open Settings → Integrations and connect Google Analytics with the account that manages it. Otto keeps the login.

    Step by step: connect Google Analytics in Otto
  2. 02

    Add Otto as a custom connector in Claude

    In claude.ai or Claude desktop, open Customize → Connectors and add a custom connector. Name it Otto and paste this URL:

  3. 03

    Sign in and approve access

    Claude opens Otto's sign-in. Approve access once. Claude only gets an Otto token you can revoke, never your Google Analytics password.

  4. 04

    Ask in a new chat

    Start a new chat and ask about Google Analytics. An existing chat does not pick up a new connector.

Full Claude setup guide

Ways to connect Google Analytics to an AI assistant

Otto is one option. Here is how it compares with the others people use.

OptionSetupWhat the AI can doWho can make changes
Otto hosted MCPSign in with Google, pick the property, paste one URL.Run any report. Mark key events and add custom dimensions.Only a reviewer or admin on your team
Google's official GA4 MCPRun it yourself with Google Cloud credentials (gcloud / ADC)Run reports. Optional writes behind a flag.Up to your setup
Reporting connectorsAn account with the connectorPull GA4 data into reports or a warehouseUsually no changes

Good to know before you connect Google Analytics

Limits that come from Google Analytics itself, so they apply to every connector.

  • GA4 can sample large or complex reports. Ask Claude to shorten the date range or simplify the report if numbers look rounded.
  • GA4 data for the last 24 to 48 hours can still change while Google processes it.
  • Your Google account needs at least Viewer access to the property. Marking key events needs Editor.

Why a hosted MCP instead of a local server

  • No keys in your chat

    Your Google Analytics login stays in Otto. Claude or ChatGPT only holds an Otto token you can revoke.

  • Nothing changes by surprise

    Only reviewers and admins on your team can post or change things. Budget changes need an explicit confirm, and new campaigns start paused.

  • One connector for everything

    The same Otto connector also reaches your ads, analytics, Search Console, website and socials.

Google Analytics MCP questions

Is there a GA4 MCP server for Claude?

Yes. Google has an open-source GA4 MCP you run yourself, and Otto runs a hosted Google Analytics 4 MCP server. With Otto, connect the property, add the connector to Claude, ChatGPT or Cursor, and ask questions about your traffic.

Do I need a Google Cloud project, gcloud or a service account?

Not with Otto. Otto handles the Google connection. Google's own GA4 MCP needs gcloud, Application Default Credentials and the Analytics APIs enabled in a Cloud project.

Why does Google's GA4 MCP hang or time out?

That's usually a local setup issue, often on Windows. Otto's server is hosted, so there's no local process to install, update or restart.

Can it change my GA4 setup?

Only two things, on Pro and with an explicit confirm from a reviewer or admin: marking an event as a key event and adding a custom dimension. Everything else is read only.

Are the numbers sampled?

GA4 can sample large or complex reports, and the API reports when it does. Ask Claude to shorten the date range or split the report for exact numbers.

How accurate are the GA4 numbers Claude gives?

Claude reads the GA4 Data API, the same data behind your GA4 reports, so the numbers match GA4 for the same dates and filters. Differences usually come from a different date range, time zone or sampling on large reports. Ask Claude which dates and metrics it used, and check one number against GA4 the first time.

Is my data safe?

Otto reads GA4 with your permission and your AI app never gets your Google login, only an Otto token you can revoke.

Can it combine GA4 with Search Console or ads?

Yes. The same Otto connector reaches Search Console, Google Ads and Meta Ads, so one question can use all of them, like which landing pages get clicks from Google but don't convert.

Does it work with ChatGPT and Cursor too?

Yes. The same Otto MCP URL works in Claude, ChatGPT and Cursor.

Last updated