Google Analytics MCP server: report on, audit and set up GA4 from Claude or ChatGPT.

Safely manage Google Analytics from Claude, ChatGPT or Grok with AdPlug, instead of clicking through GA4's Admin and Explorations. Ask for the weekly report, spot a key event that stopped firing, audit the tracking before the client report goes out, and set up key events and channel groups with your approval. Built for PPC consultants, paid media agencies and in-house marketing teams.

Works with
  • Claude
  • ChatGPT
  • Grok
  • Claude CodeClaude Code
  • + other MCP clients

What Claude, ChatGPT and Grok can do with your Google Analytics.

Reporting

Your weekly GA4 report, from one question.

Ask how last week went. Your AI pulls sessions, key events and key event rate from GA4, compares them with the week before and tells you what moved and why. It also tells you when a key event has stopped firing, so a broken tag doesn't go in the client report as a bad week.

  • Totals are GA4's own, so users are counted once, never added up row by row.
  • Dates run in the property's time zone, and your AI tells you when GA4 is still processing the last day or two.
Google Ads

Do your Google Ads clicks show up in GA4? Ask your AI.

Your AI reads the Google Ads data in GA4 and lines up each campaign's clicks, sessions per click and cost per key event. Then it flags campaigns with a big gap between clicks and GA4 sessions, and Google Ads sessions with no campaign name, with the likely causes to check.

  • Needs GA4 linked to Google Ads, because the numbers come from GA4's own Google Ads data. Your AI can check the link, and preview one if it's missing.
AdPlug's plug mascot, surprised by the gap between clicks and sessions
Data audit

Run a GA4 audit before the client report goes out.

Your AI checks the property for the problems that quietly skew the numbers or break Google's rules: a tag that fires twice, key events set up but silent, payment sites counted as referrals, Unassigned traffic, emails in page URLs and data kept for only 2 months.

  • Each check comes back with what it found, and the fix when something's wrong.
  • Email addresses found in page URLs are masked in the answer, so they don't end up in your chat.
GA4 setup

Set up GA4 from a chat, without clicking through Admin.

Tell your AI what you need, and it previews the change: what's there now, and exactly what it'll send to Google. AdPlug runs a change only from that preview, and only once. Your AI can preview 46 kinds of change, from key events and audiences to channel groups, Google Ads links and data retention.

The usual way, in GA4 Admin

  1. 1Open Admin, find Channel groups under Data display, and create a new group.
  2. 2Add a channel and write its source condition as a regex (twice, after the typo).
  3. 3Reorder the channels so the new one sits above Referral, or Referral keeps those sessions.
  4. 4Switch a report to the new group to check the AI visits landed where you meant.

Then do it all again in the next client's property.

AdPlug's plug mascot, tired from clicking through GA4 Admin

GA4 tracking breaks quietly, so check it before every report.

A tag that fires twice or a key event that goes quiet doesn't throw an error. GA4 keeps reporting, with the wrong numbers. When your AI reads the reports and the property's settings together, you catch it before your client does.

Daniel Popa

Built by Daniel Popa, who runs Google Ads and LinkedIn Ads for B2B clients: 12 years in PPC, $100M+ in ad spend managed.

Plug Google Analytics into your AI.

Connect Google Analytics once, then ask Claude or ChatGPT what changed last week.

Start free with Google Analytics
  • Google's own sign-in
  • No Google Cloud project

Safety

Is it safe to connect Google Analytics to Claude or ChatGPT?

Yes. Google verified AdPlug's app for Google Analytics access, AdPlug runs a change only from its preview, and it never deletes properties or data streams.

Connect Google Analytics
Safeguardsfor your GA4 properties and data
  • Choose who can edit

    Set View only per teammate for Google Analytics. AdPlug then blocks that teammate's AI from changing anything there.

  • Preview every change

    Each preview shows what's there now and the exact request. AdPlug runs the change once, only from that preview.

  • Never deletes properties

    AdPlug can't delete a property or a data stream, and can't change who has access to a property.

  • Reports aren't stored

    Reports and settings pass straight through to your AI, and AdPlug doesn't store them.

  • Disconnect anytime

    Disconnect Google Analytics in AdPlug: it deletes its token and asks Google to revoke its access straight away. Google Ads and Search Console stay connected.

  • Add your team

    On Max and Agency, invite teammates and choose whose AI can change Google Analytics and whose can only report.

Team access controls need Max or Agency.

What Google asks you to allow, and what AdPlug keeps

What Google asks you to allow

  • Read your Google Analytics data, for reports and property settings.
  • Edit your Google Analytics settings, for the changes you approve. It's also the permission Google needs before it shares a property's change history.
  • Your email address, so AdPlug can show which Google account is connected.
  • Both Google Analytics permissions are required. Untick either and AdPlug drops the connection and asks Google to revoke the grant.
  • AdPlug never asks to manage users, so it can't change who has access to a property.

What AdPlug keeps

  • Reports and settings go to your AI and aren't stored. Your property list and each property's fields are kept in memory for up to an hour.
  • A change you preview is kept so it runs exactly as you approved it. It can run for 15 minutes, and it's deleted within two days.
  • Your Google token, encrypted, and your Google email while Google Analytics is connected (each preview is tied to it), plus a log of every tool call with the tool, property, outcome and time.
  • Disconnect Google Analytics in AdPlug and AdPlug deletes the token and asks Google to revoke its grant. To remove AdPlug directly at Google, use myaccount.google.com/permissions.

Source: Google Account Help, Share some access to your Google Account data with apps from other developers, checked 23 November 2026. More in AdPlug's Google API disclosure.

What your AI can do once Google Analytics is connected.

GA4 is where you check what happened after the click. AdPlug gives your AI GA4's reports and settings, plus previewed changes, so it can explain the numbers and fix the setup with your approval.

Property discovery

See every GA4 property you can open.

Accounts, properties and web streams, and whether you can edit each one. Agencies can line up the last 28 days of up to 25 properties in one answer.

Reports

Ask for GA4 reports in plain English.

Up to 9 dimensions and 10 metrics, with filters, pivots, realtime and comparisons with the period or year before.

Ready-made analyses

Answer the usual GA4 questions in one go.

16 analyses, from channels and landing pages to anomalies, ecommerce and retention, most of them against the period before.

AI assistant traffic

See what ChatGPT, Claude and Perplexity send you.

Sessions and key events from each assistant, AI traffic's engagement and key event rate against the whole site, and the pages it lands on.

Funnels

Build funnels without opening an Exploration.

Event or page steps, open or closed, with presets for ecommerce, checkout, sign-up and lead funnels.

Tracking audit

Check the data before you trust it.

Tags firing twice, silent key events, payment-site referrals, missing transaction IDs, Unassigned traffic and short data retention.

Settings and changes

Read GA4 Admin, and change it with your approval.

Admin settings from streams and key events to links and change history, plus 46 kinds of change, each previewed first.

Audit trail

Every change captured for the day a client asks.

AdPlug logs each tool call with the tool, property, outcome and time.

All 10 Google Analytics MCP tools, and the 46 kinds of change they can make.

AdPlug's Google Analytics MCP tools
ToolWhat it does
google_analytics_list_propertiesEvery GA4 account and property your Google login can open, with web streams and their G- IDs (up to 50 properties a call) and, where Google says, whether you can edit. For one property: its settings, key events, Google Ads links, retention and the last 28 days. For agencies: up to 25 properties, the last 28 days against the 28 before
google_analytics_reportGA4 reports: up to 9 dimensions and 10 metrics checked against the property's own fields, date presets in its time zone, comparisons with the previous period or year, filters, pivots, realtime and GA4's conversion performance report
google_analytics_metadataEvery dimension and metric the property has, custom and calculated ones included, and whether they work together
google_analytics_insights16 ready-made analyses, most with GA4's own totals and a comparison with the period before: overview, channels, sources, landing pages, pages, campaigns, Google Ads, key events, anomalies, ecommerce, AI traffic, site search, retention, devices, geography, and new vs returning
google_analytics_funnelGA4 funnel reports: event or page steps, open or closed, steps within a time limit or directly followed, breakdowns, next action and trends, with presets for ecommerce, checkout, sign-up and lead funnels
google_analytics_auditCan you trust the data? Checks tagging, traffic, data quality and settings: double tagging, silent key events, payment-site referrals, unrecognised UTM mediums, emails in URLs, duplicate transaction IDs, thresholding, 2-month retention and the Google Ads link
google_analytics_settingsReads Admin settings: streams, key events, custom definitions, audiences, channel groups, links to Google Ads, BigQuery and other Google products, retention, attribution, Google signals, the tag snippet, change history and quota
google_analytics_preview_mutationShows any of the 46 kinds of change before it runs, with what's there now and the exact request: key events, custom dimensions and metrics, calculated metrics, audiences, channel groups, annotations, data streams, event rules, Measurement Protocol, Google Ads and BigQuery links, and property settings
google_analytics_execute_mutationMakes the change you approved, once, from its preview. It refuses if the Google login changed since the preview
adplug_get_statusWhat's connected, and what your plan allows

Google Analytics prompts for Claude and ChatGPT.

The kind of question you ask when leads dip, a client asks where the traffic went, or a number just looks wrong.

  • Analyse my GA4 over the last 30 days by channel, landing page and key event: what's converting, what isn't, and whether the tracking holds up. Give me the top 5 fixes ranked by impact, and what you'd do about each.

  • Compare my GA4 property last week against the week before: sessions, key events and key event rate by channel. What moved, and why?

  • Each morning, check my GA4 properties against a normal day: sessions, key events that stopped firing and landing pages that dropped. Flag only what needs me.

  • Turn last month's GA4 into a client-ready PDF: traffic and key events by channel against the month before, and what we change next.

Copy one into Claude, ChatGPT or Grok once Google Analytics is connected, and swap anything in brackets for your own.

Connect the Google Analytics MCP to Claude, ChatGPT or Grok in three steps.

  1. 1

    Connect Google Analytics

    In AdPlug (sign-up is free), open Connections, click Connect Google Analytics and sign in with the Google account that has access to your properties. Allow both permissions on Google's screen, and your AI can work on every property that account can open.

  2. 2

    Copy the server URL

    This is AdPlug's Google Analytics MCP server:

    https://api.adplug.app/mcp/google-analytics

    Google Analytics has its own connector and isn't on AdPlug's all-platforms URL, https://api.adplug.app/mcp, which is for ad platforms. If you run ads too, add both connectors to the same AI, so one chat sees your ads and GA4.

  3. 3

    Paste it into your AI

    Pick your AI from the tabs and follow its steps. Then ask it something about your GA4 property.

    Every click, with screenshots: connect Google Analytics to Claude, ChatGPT or Grok Bot.

  1. 1
    Open Add custom connector in ClaudeOpen Claude Or open Plugins in Claude, click Add, then Add custom connector
  2. 2
    Paste this as the name
    AdPlug - Google Analytics
  3. 3
    Paste this as the URL, then click Continue
    https://api.adplug.app/mcp/google-analytics
  4. 4
    Keep the sign-in settings Claude detects and click Add
  5. 5
    Click Connect if Claude asks, sign in with your AdPlug email and click Approve

Claude's Free plan allows one custom connector.

AdPlug's plug mascot, happy once Google Analytics is connected

That's it. Try: “Check my Google Analytics for the last 30 days and tell me what needs my attention.”

Google Analytics MCP, frequently asked.

What is a Google Analytics MCP server?

A Google Analytics MCP server is a connector that lets an AI assistant such as Claude, ChatGPT or Grok read your GA4 reports and settings through Google's Analytics APIs, and on some servers change those settings too. MCP, the Model Context Protocol, is a plug socket for AI. AdPlug's Google Analytics MCP server is hosted at https://api.adplug.app/mcp/google-analytics, so you sign in with Google instead of setting up a Google Cloud project.

Is GA4 MCP the same as Google Analytics MCP?

Yes. GA4 is the only Google Analytics left, since Universal Analytics stopped processing data on 1 July 2023 (1 July 2024 for paid 360 properties), so a GA4 MCP and a Google Analytics MCP are the same thing. AdPlug's Google Analytics MCP works on GA4 properties.

Does Google have an official Google Analytics MCP server? Is it read-only?

Yes. Google's official Google Analytics MCP server is free, open source and read-only unless whoever runs it switches its write tools on. As of 23 November 2026, the latest version (googleanalytics/google-analytics-mcp 1.1.0, released 6 November 2026) has 10 read tools and three opt-in tools that create annotations, custom dimensions and key events. It runs on your own computer by default, set up with Python, a Google Cloud project and Google Cloud credentials, so ChatGPT and Claude on the web need it hosted somewhere they can reach.

Should I use Google's official Analytics MCP server or AdPlug?

Use Google's if you're happy to run a free server yourself and mostly need reports. Use AdPlug if you'd rather sign in with Google and paste one URL into Claude, ChatGPT or Grok, or you want the GA4 audit, open or closed funnels, 16 ready-made analyses and previewed changes across 46 kinds of change. Both read the same GA4 data through Google's APIs.

Is there an official Google Analytics connector in Claude?

No. As of 23 November 2026, Claude's connector directory has no Google Analytics connector from Google or Anthropic. Google's own server works in Claude Desktop and Claude Code if you run it yourself, and on claude.ai you can add a hosted server such as AdPlug's as a custom connector.

Is there an official Google Analytics plugin in ChatGPT?

No. As of 23 November 2026, ChatGPT's plugin directory has no Google Analytics plugin from Google or OpenAI. OpenAI Ads Manager can import GA4 data for ad attribution (in beta), but that doesn't let you ask ChatGPT about your property. For that, add a hosted server such as AdPlug's as a custom MCP server on a paid ChatGPT plan.

Does Grok Bot have its own Google Analytics connector?

Yes. On 19 November 2026 someone on Grok Bot's product team at SpaceXSI (formerly xAI) announced official Google Analytics and Google Ads connectors for Grok Bot. You can also add AdPlug's server to Grok Bot as a custom connector: ask your Bot to add a custom MCP server named AdPlug - Google Analytics with the URL https://api.adplug.app/mcp/google-analytics, then approve AdPlug's sign-in.

What is the Google Analytics MCP server URL?

AdPlug's Google Analytics MCP server is at https://api.adplug.app/mcp/google-analytics. It's a connector of its own and isn't part of AdPlug's all-platforms URL, https://api.adplug.app/mcp, which covers ad platforms only, so add it next to your ad connector if you use one. It needs an AdPlug account with Google Analytics connected.

Do I need a Google Cloud project or API credentials?

No. You sign in on Google's own screen and allow two Google Analytics permissions, with no Google Cloud project, API key, service account or JSON key file to set up. Google verified AdPlug's app for that access on 23 November 2026, so the consent screen shows AdPlug's name and logo with no unverified-app warning.

How do I connect Google Analytics to Claude or Claude Code?

Connect Google Analytics in AdPlug first, then add the server. In Claude, open Plugins, click Add, then Add custom connector, name it AdPlug - Google Analytics and paste https://api.adplug.app/mcp/google-analytics (Claude's Free plan allows one custom connector). In Claude Code, run claude mcp add --transport http --scope user adplug-google-analytics https://api.adplug.app/mcp/google-analytics, then type /mcp to sign in.

How do I connect Google Analytics to ChatGPT?

Connect Google Analytics in AdPlug, then add AdPlug's server to ChatGPT as a custom MCP server, which needs a paid ChatGPT plan such as Plus. Open Plugins, click Add, then Add custom MCP server, name it AdPlug - Google Analytics, paste https://api.adplug.app/mcp/google-analytics, leave Authentication on OAuth, tick "I understand and want to continue", click Create as a plugin, then Connect (newer versions of ChatGPT say Continue to AdPlug - Google Analytics). What ChatGPT lets you change depends on your ChatGPT plan.

Can Claude or ChatGPT change my GA4 settings? How do I approve changes?

Yes, on a paid AdPlug plan. Every change starts as a preview that shows what's there now and the exact request. AdPlug runs it once, only from that preview, and refuses if the Google login changed in between. To make your AI ask before each change, set the execute tool to Always ask in Claude (Needs approval only waits for you in Manual mode), or set the plugin to Allow read-only tools in ChatGPT, where changes also need a plan that runs write tools. Each change counts as one AI edit: 200 a month on Pro, unlimited on Max and Agency.

What will AdPlug never do in Google Analytics?

AdPlug never deletes a property or a data stream, and it can't change who has access to a property or remove users, because it never asks Google for the user-management permission. What it can remove, such as a key event, an annotation or a Google Ads link, goes through the same preview first.

Can AdPlug run a GA4 audit?

Yes. Ask your AI to audit a property and it checks tagging (a tag firing twice, key events set up but silent, event names GA4 rejects), traffic (Unassigned and "(not set)" sessions, unrecognised UTM mediums, self-referrals and payment-site referrals), data quality (emails in URLs, duplicate or missing transaction IDs, thresholding) and settings (2-month retention, the Google Ads link, Google signals). Each check comes back with what it found, and the fix when something's wrong. Settings it flags, such as data retention, can then be changed from a preview.

Can I work across several GA4 properties, or my clients' properties?

Yes. Your AI can work on every GA4 property your Google login can open and find any of them by name. For agencies, one answer can line up the last 28 days of up to 25 properties against the 28 days before. AdPlug connects one Google login per user for Google Analytics, so connect the one your clients have given access to.

Why are the numbers different from what I see in GA4?

Differences come from the dates, the time zone or data GA4 is still processing, or from GA4's own limits on a report. AdPlug uses the property's time zone, ends most date presets yesterday as GA4 does (today and this-week presets include today), and says when a window includes the last day or two, which GA4 can take 24 to 48 hours to process. Totals are GA4's own (users counted once, never added up row by row), and when GA4 flags sampling, thresholding or "(other)" rows, the answer says so.

Can AdPlug show how much traffic ChatGPT, Claude and Perplexity send my site?

Yes. AdPlug's AI traffic analysis counts sessions and key events from ChatGPT, Perplexity, Claude, Gemini, Copilot and other AI assistants, with their share of all sessions. It then compares AI traffic as a whole with the whole site on engagement and key event rate, and lists the pages it lands on. Treat it as a floor: some assistants send no referrer, so some of their visits land in Direct. To see AI assistants as their own channel in GA4's reports, your AI can set up a channel group for them, previewed first.

Is there a free Google Analytics MCP?

Yes. Google's own server is free and open source, and you run it yourself. AdPlug's Free plan is $0, and Google Analytics can be its one platform: you get 500 requests in your first 5 days, then 50 a month, and changes are previewed but not applied. Pro, at $29 a month, gives you 5,000 requests and 200 AI edits a month, and every other platform.

Does it work with Universal Analytics?

No. Universal Analytics stopped processing data on 1 July 2023 (1 July 2024 for 360 properties), so AdPlug works with GA4 properties, which is what Google Analytics is today.

Your next GA4 report

Skip Monday's GA4 export.

Ask Claude or ChatGPT how last week went, and catch broken tracking before it reaches a client report.

  • Free for GA4 reports
  • No card needed
  • No Google Cloud project