Connect Claude to GA4 and Search Console without giving it the keys
The safe setup is boring: a read-only identity, a scoped connection, and a readout prompt that refuses to guess.
You can get Claude reading your GA4 and Search Console data today. There are three ways to do it, and the one most people reach for first is the worst: they sign in with their own Google account, the one that owns the property, click Allow on every scope, and move on. Now an AI tool holds the same access as the person who can delete the property.
The usual take is that the connector is the hard part. It isn't. The connector is plumbing. The parts that matter are which identity Claude connects as, and what you let it say about the numbers once it can see them. Get those two right and the plumbing is interchangeable.
What "the keys" actually means
When you authorise anything against a Google account, the tool inherits that account's permissions. If you are an Administrator on the GA4 property and an Owner in Search Console, so is whatever you just connected, within the scopes it asked for.
The fix is not to trust the tool harder. Connect as an identity that cannot do damage even if everything goes wrong.
| Surface | Role to grant | What it can do | What it cannot do |
|---|---|---|---|
| GA4 property | Viewer | See reports and settings | Edit config, change users, create audiences |
| Search Console property | Restricted user | View most data | Change settings, add users, submit removals |
| Google API scopes | analytics.readonly, webmasters.readonly | Read through the API | Write anything |
If a connector asks for edit or manage scopes to produce a report, that is your answer. Close the tab.
Three ways in, ranked by how much I trust them
Exports. Download the CSVs, drop them in a Project or a Cowork folder. Zero standing access and zero credentials, and it is completely fine for a monthly readout. The flaw is that it is manual, so it stops happening in week three.
A read-only connector. This is the proper answer for anything recurring. Look in Claude under Customize (or Plugins), then Connectors, and see what is listed for analytics. The directory changes often, so I am not going to promise you a specific one. If nothing fits, Claude accepts custom connectors, and Claude Code can run an MCP server locally against a service account. Google publishes an open-source analytics MCP server. Check its README for the scopes it requests before you install it.
Claude in Chrome. It reads the GA4 and Search Console interface in your logged-in browser. It is good for a one-off question like "why did this page drop". It is the worst option for standing access, because it runs as you, with your full permissions. Use a browser profile signed into the viewer account, not your owner account.
Build the read-only identity first
Do this once and every route above gets safer.
1. Create a dedicated identity. Use a service account in a Google Cloud project if you are going the API route, or a separate Google account such as reporting@yourdomain if you are going the browser or OAuth route. 2. In GA4, go to Admin, then Property access management, and add that identity as Viewer. Grant it at the property level, not the account level. 3. In Search Console, go to Settings, then Users and permissions, and add it as Restricted. 4. If you made a service account, enable the Analytics Data API and the Search Console API in that project. Store the key file somewhere that is not a shared drive. 5. Write down where the key lives and who can revoke it. Future you will not remember.
The honest failure mode is that service account keys are long-lived files. If one leaks, it works until someone deletes it. A leaked Viewer key exposes your traffic data, which is bad. A leaked Editor key lets someone rewrite your config, which is a much worse week.
The handoff file that keeps Claude honest
Access is half the job. The other half is stopping Claude from turning thin data into confident sentences. I keep one file next to the connection, and every analytics session starts by reading it.
# analytics-access.md
## What you are connected to
- GA4 property: [PROPERTY NAME], read-only (Viewer)
- Search Console property: [DOMAIN], read-only (Restricted)
## Rules
- You have read access only. Never attempt to change settings, and
never ask me for broader access. If a task needs it, say so and stop.
- Every number you report must come from a query you ran in this
session. State the date range and the dimension next to it.
- If a number is not available, write [MISSING: REAL NUMBER] and say
which report would contain it. Do not estimate.
- Search Console data lags by a couple of days and keeps roughly
16 months of history. Do not compare ranges that fall outside that.
- GA4 may threshold or sample. If a report is flagged as either, say so
in the first line of your answer.
- Never call a change a cause. Say "moved at the same time as" unless
I gave you the change log.
## Known events (I maintain this)
- [DATE]: [site change, campaign, tracking change]
The "Known events" section does more work than it looks. Without it, Claude will explain a traffic dip with whatever sounds plausible. With it, Claude has to check your actual change log first.
Turn it into a Skill
If you run this more than twice, package it. Make a folder called analytics-readout containing a SKILL.md:
---
name: analytics-readout
description: Produce a read-only weekly readout from GA4 and Search
Console. Use when asked for a traffic, search or performance summary.
---
1. Read analytics-access.md before querying anything.
2. Pull the last 7 full days and the 7 days before that.
Exclude the most recent 2 days of Search Console data.
3. Report: sessions by channel, top 10 landing pages by change,
top 10 queries by click change, pages losing impressions.
4. For each mover, check Known events. If nothing matches, write
"no known cause" and stop there.
5. Any figure you could not retrieve becomes [MISSING: REAL NUMBER].
6. End with three questions a human should investigate, not three
recommendations.
To install it in Claude, zip the folder, go to Customize (or Plugins), then Skills, click +, then Create skill, then Upload a skill, and upload the zip. Code execution has to be on under Settings, then Capabilities. In Claude Code, put the folder in ~/.claude/skills/, or in .claude/skills/ inside a repo to share it with the team.
If you would rather not write your own, the Performance Readout Skill is free at /skills/, no email gate. It follows the same refuse-first rule, so start there and bolt the access file onto it.
Make it recurring
Once the Skill works by hand, set it up as a Cowork scheduled task for Monday morning. Point it at the folder holding analytics-access.md and have it save the readout as a dated file.
Do not skip running it by hand for two or three weeks first. A scheduled task that is quietly wrong is worse than no report, because people stop checking it.
Where it still goes wrong
It reads the wrong property. If the viewer identity can see staging and production, Claude will sometimes pick the wrong one. Grant access to one property only.
(not set) and thresholded rows. Claude will sum around the gaps and present a total. The access file tells it to flag these. Check that it does.
Query data is not session data. Search Console clicks and GA4 organic sessions never match. If Claude tries to reconcile them into one number, that number is fiction.
Scope creep. Someone will ask Claude to "just fix the conversion event while you are in there". It can't, and that is the whole point of the setup.
Where this goes next
Start with the Performance Readout Skill at /skills/ and the free prompts at /free/. Then work through the Data Analysis and SEO sections of the library, which are all free with no email asked. The triage and reporting prompts there assume exactly this kind of read-only feed.
If your readouts end up in client reports or public claims, look at Guardrails at /guardrails/. It puts a human approval step between a number Claude pulled and a number you published.
Grab the 24 free Claude Skills.
Voice Extractor, Competitive Teardown, SERP-Informed Brief, Performance Readout and 20 more. Upload the zip in Claude (Customize, or Plugins, then Skills) or drop the folder into ~/.claude/skills/ for Claude Code. No email, no catch.