Connect Search Console to Claude: The Google Cloud Setup, Decoded
Connecting Search Console to Claude sends SEOs into Google Cloud, consent screens and JSON keys. What each screen means, where it breaks, and a route without it.
You can connect Google Search Console to Claude without Google Cloud if a hosted connector handles the Google sign-in. The do-it-yourself route takes about 12 steps across four places, and most of them were built for app developers.
- WHY IT IS HARD: Google never shipped a Search Console MCP server, and the API accepts only OAuth or a service account. Every DIY route makes you register your own app in Google Cloud.
- THE SCARY SCREENS: The OAuth consent screen, the scope picker, the unverified app warning and the service account JSON key. Each has a safe answer: read-only scope, Testing mode for one person, Restricted user for robots.
- WHERE IT BREAKS: Testing apps get refresh tokens that expire after 7 days. Servers can report their tools as registered while every call fails. A service account returns 403 until someone adds it in Search Console.
- GA4 IS A SECOND JOB: Google's official Analytics MCP server runs locally with pipx and gcloud credentials, and it never joins its data to Search Console.
Developers with one personal site can DIY in an evening. For client work, use a connector that asks for read-only access and keeps the credentials off your laptop.
CrawlRaven exists partly because of the setup this post describes: it connects Search Console and GA4 with a read-only Google sign-in, joins them, and serves them to Claude and other AI clients over OAuth. Below is every Google Cloud screen the DIY route puts in front of you, so you can decide which route fits. Try CrawlRaven free for 7 days: 1 website, no credit card →
You have lived in Search Console for years. You know what a Domain property is, why its numbers never match GA4, and which report to open when traffic drops. Then a tutorial tells you to open the Google Cloud console and create a project, and suddenly you are registering a software app.
Here is the short answer. You can connect Google Search Console to Claude without touching Google Cloud, if a hosted connector handles the Google sign-in for you. The do-it-yourself route works too, but it takes about 12 steps across four different places, and most of them were designed for engineers shipping apps.
Search Console in Claude: the DIY route against a hosted connector
- 1Create a project
- 2Enable the Search Console API
- 3Configure the OAuth consent screen
- 4Add yourself as a test user
- 5Choose the scopes
- 6Create an OAuth client or a service account
- 7Download the JSON credential
- 8Invite the service account email as a user
- 9Install Python or Node and a runner (pipx, uvx, npx)
- 10Edit claude_desktop_config.json
- 11Restart Claude
- 12Sign in past the unverified app screen
- 1Sign in with Google and approve read-only Search Console and GA4 access
- 2Add mcp.crawlraven.com/mcp as a custom connector
- 3Approve the scopes the connection may use
This post decodes every one of those screens: what Google is actually asking, the safe answer for an SEO, and the places the setup quietly breaks a week later. If you have already picked a route, the client-by-client instructions live in how to connect Claude to an SEO MCP server.
Why connecting Search Console to Claude is hard
Three facts stack on top of each other. None of them is anyone's fault, but together they turn a five-minute job into an afternoon.
- Google never shipped a Search Console MCP server. Google publishes official MCP servers for products such as BigQuery, Maps and Google Analytics, and Search Console is missing from the list. I covered that gap in the server Google never shipped.
- The API has no simple key. The Search Console API authorizes through OAuth scopes or a service account, so every wrapper needs Google credentials that you create first.
- Google Cloud is built for developers. It assumes you are publishing an app to other people, so it asks about user types, publishing status, verification and key management.
Demand is climbing anyway. US searches for “google search console mcp” went from 110 a month in November 2025 to 880 in October 2026 (DataForSEO, US, November 2026). The r/TechSEO thread “Anyone connected GSC with Claude Code” runs past 60 comments, and one r/HeyTony post titles its API pull “(zero coding background)” like a stunt. For a lot of SEOs, it is one.
Every Google Cloud screen, decoded
Here is what each screen in the DIY setup is really asking. The decoder below is the short version; the five that cause the most trouble get their own section after it.
Seven Google screens, what each is really asking, and the safe answer
The consent screen makes you an app publisher
The OAuth consent screen is the page you will see when you sign in to your own app, and Google makes you design it first: app name, support email, user type. For a personal setup, pick External, add your own Google account as a test user, and leave the app in Testing.
Testing is where the first trap sits. Google caps a Testing app at 100 test users, and it issues refresh tokens that expire after 7 days to any Testing app requesting more than basic profile scopes. Search Console access counts, so your connection works on Monday and fails the following Monday with nothing changed.
Google warns you about your own app
On your first sign-in, Google may show an unverified app screen before the consent screen, because nobody at Google has reviewed the app. You created that app ten minutes ago, so the warning is about you. For your own project, continuing is the expected move.
The habit is the problem. An r/TechSEO thread titled “Google Search Console API ‘Not verified by Google’” still ranks years later, because the screen looks exactly like the phishing warnings SEOs are trained to respect. Click through it only for a project you created yourself.
OAuth client or service account
The credentials screen asks you to choose between two very different keys, and most tutorials choose for you without saying why.
- OAuth client (Desktop app). You sign in as yourself in a browser and the server stores a token on your machine. Its reach is exactly your own Search Console access. Best for one person on one laptop.
- Service account. A robot Google account with an email ending in .iam.gserviceaccount.com and a downloadable JSON key. It runs without you, which is why automation tutorials prefer it.
Treat that JSON key like a password, because it works like one: whoever holds the file can act as the account until the key is deleted. Google agrees. Organizations created on or after May 3, 2024 get a “Disable service account key creation” policy by default, so on many Google Workspace accounts the download button simply refuses.
Inviting a robot into Search Console
Creating the service account grants it nothing. You still open Search Console, go to Settings, then Users and permissions, and add the robot's email like a coworker, once per property. Only an owner can do it, and until then every call returns a 403 that reads like a broken key. The roles are covered in Search Console users and permissions.
The terminal and the config file
The last leg happens on your own computer. A local MCP server needs a runtime (Python with pipx or uv, or Node with npx), then an entry in Claude Desktop's claude_desktop_config.json, which you reach through Settings, Developer, Edit Config. One missing comma breaks every server in the file, and Claude only notices changes after a restart.
The permission question SEOs actually worry about
Underneath the anxiety sits one sensible question: what could an AI agent do with this access? Two settings decide it, the scope on the token and the Search Console role of the account behind it. The agent gets the narrower of the two.
What an AI agent can do with Search Console access
webmasters.readonlywebmastersOwner · Full · RestrictedGoogle defines two scopes for the Search Console API. webmasters.readonly is “Read-only access”. webmasters is “Read/write access”, which lets a client submit and delete sitemaps and add or remove properties. A reporting workflow has no use for the second one.
Some open-source servers ask for it anyway. An InformGrowth teardown of the popular mcp-gsc package found it hard-codes the full webmasters scope and sends it on every token refresh, so a read-only grant fails with a generic error. If you sign in as yourself, read-only scope on your own account is enough. If a server insists on full scope, give it a separate Restricted user.
Five ways it breaks after you think it works
The DIY setup rarely fails loudly. It fails on a schedule, or it reports success while returning nothing. These are the failure modes the setup guides and teardowns document, with the fix for each.
- It stops working after 7 days. The app is still in Testing, so the refresh token expired. Reconnect, or move the app out of Testing and accept Google's verification rules.
- Claude says it is connected, and every answer is empty. Some servers register their tools at startup and read the credential only on the first call. InformGrowth documents one reporting “12 tool(s) registered” while every call failed. Ask for your property list first.
- “Authentication failed” with no detail. The same teardown traces this generic message to a scope mismatch, where the package asks for a scope the token never received. Compare the consent-screen scope with the one the README expects.
- A 403 on every call. The service account exists but nobody added it to the property. Add its email under Users and permissions in Search Console.
- “Property not found” for a site you own. The API names Domain properties sc-domain:example.com and URL-prefix properties by their full URL, and Scalekit calls the encoding of that value a trap. Copy the exact name from the property list.
Each fix is small once you know it. The trouble is that each failure looks like a different, bigger problem while it is happening.
Why a do-it-yourself Search Console MCP breaks, and what CrawlRaven does instead
These are not steps. Any one can hit you on its own, in any order.
- Shows up on setup day403 on every callThe service account was never added to the Search Console property.With CrawlRavenNo service account. You sign in as yourself, so every property you can see is already there.
- Shows up on setup day“Property not found”Domain properties are named sc-domain:example.com. URL-prefix ones use the full URL.With CrawlRavenClaude picks the site from your CrawlRaven site list, so you never type a property ID.
- Shows up on the first questionConnected, but every answer is emptyTools registered at startup. The credential failed on the first real call.With CrawlRavenNothing runs on your laptop. Ask “which sites do I have in CrawlRaven?” and the answer proves the connection.
- Shows up on the first question“Authentication failed”The token holds a different scope from the one the package asks for.With CrawlRavenNo scopes to match. You approve read-only access once, on Google’s own screen.
- Shows up on day 7It worked last week and now it does notThe app is still in Testing, so Google expired the refresh token.With CrawlRavenCrawlRaven runs the Google app and refreshes the token, so there is no weekly reconnect.
Then you do it all again for GA4
Google Analytics does have an official MCP server, which is why people assume the job is half done. Look at what it asks for.
- It runs locally. The server is a Python package you launch with pipx on your own machine, and it needs Python 3.10 or later.
- It needs two more APIs. Enable the Google Analytics Admin API and the Google Analytics Data API in your Cloud project.
- It signs in through Application Default Credentials. In practice that means the gcloud command-line tool, authenticated with the analytics.readonly scope.
- Write tools are off by default. Creating or changing GA4 resources needs an explicit --allow-write flag and a separate edit scope, which is a sensible default.
An r/mcp thread titled “Google Analytics MCP is available but only locally” asks the obvious question: why no remote server? And once both servers run, they still never meet. Matching a Search Console query to GA4 sessions and conversions is a join you do by hand, in the chat, every time. The numbers rarely line up on the first try either.
What you can ask Claude with each source connected
- “Which queries lost impressions this month?”
- “Which pages sit at positions 8 to 20?”
- “Where is CTR low for the position?”
- “Which landing pages lost organic sessions?”
- “Which pages convert best?”
- “Where do visitors leave fastest?”
- “Which pages lost clicks and conversions together?”
- “Which queries bring visitors who buy?”
- “Which ranking pages fail to keep visitors?”
When the DIY route is worth it
The open-source route is free, every line of code is readable, and for some people it is the right answer. It fits when one of these is true.
- You already write code. The Cloud console is familiar and the steps take an evening.
- You need a feature hosted connectors skip. For example, a specific URL Inspection workflow on one property.
- It is one personal site. A token that expires next Monday costs you a reconnect and nothing else.
For an occasional question you may need no server at all. A regex filter in the Performance report answers a lot, and the GSC regex generator writes the pattern for you.
For client properties, I would keep agency work off a credential file in someone's Downloads folder, a token on a 7-day Testing clock and a wrapper with one unpaid maintainer. That is three single points of failure in a workflow your clients never agreed to. Use DIY to learn how the API works, then move client data somewhere with an owner.
The route with no Google Cloud project
A hosted connector moves the developer work to the vendor. The vendor registers the app with Google, stores the tokens and keeps the server running. You keep the part that should have been the whole job: sign in and approve.
Here is how that looks in CrawlRaven, which joins Search Console and GA4 before your AI client ever sees them.
- Connect Google inside CrawlRaven. Sign in with the Google account that can see your properties and approve read-only access. CrawlRaven requests webmasters.readonly for Search Console and analytics.readonly for GA4 (see connecting Search Console).
- Add one URL to your AI client. Paste https://mcp.crawlraven.com/mcp as a custom connector in Claude, ChatGPT, Cursor or Claude Code.
- Approve the scopes in your browser. Sign in to CrawlRaven and choose what the connection may see. There is no key, token or config file to paste (details in the MCP docs).
Then ask in plain language: which pages lost clicks this month, and did their GA4 conversions fall with them? Both sources answer in the same conversation, already joined, so the model reasons over one dataset from the first question.
| Question | DIY Search Console wrapper | Google's Analytics MCP | CrawlRaven |
|---|---|---|---|
| Google Cloud project | Required | Required | None |
| Terminal or config file | Yes | Yes | No |
| Credential on your machine | Yes | Yes | No |
| Search Console data | Yes | No | Yes |
| GA4 data | No | Yes | Yes |
| Sources joined for you | No | No | Yes |
| Google scope requested | Depends on the package; some ask for full read and write | analytics.readonly by default | Read-only for both |
| Cost | Free software, your time | Free software, your time | 9-tool free preview; paid plans from $29/month |
CrawlRaven has limits worth knowing before you connect. MCP cannot start an audit, crawl pages or fetch arbitrary URLs, and it cannot edit your website or your Google settings. The free preview covers one pinned site, a fixed 28-day window and 20 tool calls a day; paid plans start from $29/month. Other hosted options are compared in the best SEO MCP servers.
The consent-screen check: six questions before you click Allow
Whichever route you choose, run this check on any screen that asks for access to Search Console or GA4.
- Is the scope read-only? Look for webmasters.readonly and analytics.readonly. A reporting tool has no reason to ask for more.
- Whose app is this? The name on the consent screen should match the tool you meant to connect.
- Where will the credential live? On the vendor's servers, on your laptop, or in a file you were told to download.
- Which Google account am I using? Pick the one that sees only the properties this connection needs.
- How do I revoke it? Your Google account lists every connected third-party app, and a good tool documents its own disconnect path too.
- Where does the data go next? Anything an MCP tool returns is processed by your AI client and its model provider under their policies.
If a screen fails two of these, close the tab. Search Console will still be there tomorrow.
Quick answers to the next question
Each of these has its own short page, answer first:
- Do I need Google Cloud to use Search Console with Claude?
- Why did my Search Console MCP stop working after a week?
- Which Search Console permission should I give an AI tool?
- What does “Google hasn't verified this app” mean?
- Can ChatGPT read my Google Search Console data?
- How do I connect GA4 to Claude without code?
Primary sources
- Google: Using OAuth 2.0 to access Google APIs (refresh token expiration for Testing apps)
- Google Cloud Help: OAuth app audience and test users (the 100 test user limit and 7-day authorizations)
- Google Cloud Help: Unverified apps
- Google Cloud: Secure by default organizations (service account key creation policy)
- Google Search Central: Authorizing requests to the Search Console API (scope definitions)
- Search Console Help: Managing owners, users, and permissions
- GitHub: googleanalytics/google-analytics-mcp
- Model Context Protocol: Connect to local MCP servers
- InformGrowth: Google Search Console MCP setup errors
- Scalekit: Google Search Console MCP vs API for AI agents
Frequently asked questions
Do I need Google Cloud to connect Search Console to Claude?
Only on the do-it-yourself route. A self-hosted Search Console MCP server needs a Google Cloud project, the Search Console API enabled, an OAuth consent screen and credentials you create. A hosted connector registers the app with Google itself, so you sign in with Google, approve access and paste one server URL into Claude.
Is it safe to give Claude access to my Search Console?
It is as safe as the scope you grant and the account behind it. Grant the read-only webmasters.readonly scope, which Google describes as read-only access, and the agent can read reports but change nothing. Anything a tool returns is then processed by your AI client and its model provider under their own policies, so connect only clients you trust with that data.
Why does Google say my Search Console app is not verified?
Because you created it. When you build your own OAuth app in Google Cloud for a community MCP server, Google has not reviewed it, so it shows an unverified app screen before the consent screen. For a project you made yourself minutes earlier, continuing is expected. Treat the same warning on someone else's app as a reason to stop.
Which Search Console API scope should I choose?
webmasters.readonly for anything that reports or analyzes. Google defines two scopes: webmasters.readonly for read-only access and webmasters for read and write access, which adds actions such as submitting or deleting sitemaps. Some open-source servers request the full scope by default, so check the README before you approve.
Why did my Search Console MCP stop working after a week?
Your OAuth app is almost certainly still in Testing. Google issues refresh tokens that expire after 7 days to Testing apps that request anything beyond basic profile scopes, and the Search Console scope counts. Reconnect to get a new token, or move the app out of Testing, which brings Google's verification requirements into play.
What is a service account, and why does it need to be a Search Console user?
A service account is a robot Google account with an email ending in .iam.gserviceaccount.com and a downloadable JSON key, used so a server can run without you signing in. Creating it grants no access. A property owner must add its email in Search Console under Users and permissions, ideally as a Restricted user, or every API call returns a 403.
Can I connect Search Console and GA4 to Claude together?
Yes, but on the DIY route it is two separate setups. Google's official Analytics MCP server runs locally with pipx and Application Default Credentials and needs the Analytics Admin and Data APIs enabled, and it never sees Search Console data. A connector that already joins both, such as CrawlRaven, answers questions about Search Console queries and GA4 outcomes in one conversation.
Does CrawlRaven need a Google Cloud project or an API key?
No. You connect Google inside CrawlRaven with a normal Google sign-in that requests read-only Search Console and GA4 access, then add https://mcp.crawlraven.com/mcp to Claude, ChatGPT, Cursor or Claude Code and approve scopes in the browser. There is no key, token or config file to paste. Eligible free accounts get a 9-tool preview on one site, and paid plans start from $29/month.
Search Console in Claude, without the Google Cloud headache
No Cloud project, no consent screen, no service account and no key file on your laptop. CrawlRaven holds the Google connection, joins Search Console with GA4 and a crawl of your site, and hands Claude one dataset to reason over.
- 1Connect Google in CrawlRaven
Sign in with the Google account that sees your properties. Approve read-only access.
- 2Add one URL to Claude
Paste mcp.crawlraven.com/mcp as a custom connector. Works in ChatGPT, Cursor and Claude Code too.
- 3Approve in your browser and ask
Sign in once, choose what the connection may see, then ask in plain language.
- ✓Read-only Google scopes
- ✓No API key, JSON file or terminal
- ✓Cannot edit your site or Google settings
- ✓Revoke any time from your Google account
15+ years of growing SaaS websites through SEO | Author, The Complete SEO Audit Checklist
Aditi has spent 15+ years helping SaaS companies scale organic traffic through technical SEO and content strategy. She is the author of the CrawlRaven SEO audit checklist used by agencies and in-house teams to systematically improve search performance.