Skip to content

How to Connect Claude to Google Search Console (GSC): Step-by-Step Guide

Key points

Connect Google Search Console MCP to Claude or any other AI assistant with this 6-step walkthrough. The setup is free and takes about 20 minutes withan OAuth key in Google Cloud, open-source mcp-search-console server, and an AI assistant's desktop app.

  • Step 1: Create the key in Google Cloud.
  • Step 2: Store the key safely.
  • Step 3: Install the server once with uv.
  • Step 4: Add it to Claude Desktop.
  • Step 5: Restart Claude and sign in.

A Google Search Console MCP server gets you access to real clicks, impressions, CTR, rankings and indexing data inside Claude. You interact with your own data with plain words and Claude pulls the numbers from your own property and answers with them.

Google does not offer an official MCP server for Search Console (GSC). This guide is free, open source, runs on your own machine and is read-only by default.

You can also do the same process to connect ChatGPT, Hermes, or any other AI chatbot with MCP capabilities to GSC.

Personally, I set it up on Windows with Claude Desktop.

Before you Start

You need three things:

  • A Google account with access to the Search Console property you want to query
  • Claude Desktop installed on your computer
  • Google Cloud access

I recommend keeping an AI assistant open next to you while you do this. This guide shows you the process. It will support you and guide you on details that might go wrong, or help you on unforseen errors and customizations.

For example, you might want to set this up on Linux, a Mac, or a cloud server. It’s the same process but may require some changes.

What a Google Search Console MCP actually is

MCP stands for Model Context Protocol. It’s an open standard that lets an AI assistant call tools on your behalf. An MCP server is a small program that sits between Claude and a service, in this case the Search Console API.

The flow is simple:

  1. You ask Claude a question.
  2. Claude picks the right tool on the MCP server.
  3. The server calls the Search Console API with your Google sign-in.
  4. Claude gets the rows back and answers with them.

The server I use is mcp-search-console on PyPI. It exposes tools for search analytics, page and query breakdowns, period comparisons, URL inspection, indexing checks and sitemaps.

Step 1: Create the key in Google Cloud

Claude needs permission to read your Search Console data. That permission comes from an OAuth client you create in Google Cloud. It’s free*, and you can export your data from there.

  1. Open the Google Cloud console and sign in with the account that owns your Search Console property.
  2. Create a project. Any name works, for example “Claude GSC”.
  3. Go to APIs & Services > Library, search for Google Search Console API and click Enable.
  4. Open Google Auth Platform (the old “OAuth consent screen”). Fill in the app name and your email, and choose External as the audience.
  5. Under Audience > Test users, add your own Google email. Skip this and the sign-in in step 5 fails.
  6. Under Clients, click Create client, pick Desktop app as the application type, and create it.
  7. Download the JSON file. That file is your key.

*Bigger accounts, sites, and heavy usage may require a paid plan, but for most sites this won’t go past those limits.

Ask Claude: “Walk me through creating an OAuth client for the Search Console API, one screen at a time. Tell me what to click next after each screenshot I paste.”

Step 2: Store the Key Safely

The server needs to find the key at the same path every time.

  1. Make one fixed folder, for example C:\gsc.
  2. Move the downloaded JSON there and rename it to client_secrets.json.
  3. Turn on file name extensions in File Explorer (View > Show > File name extensions). Windows hides .json by default, so a file that looks right is often called client_secrets.json.json.
  4. Keep the folder out of OneDrive, Dropbox and any Git repo. The file holds your client secret.

Check the path in PowerShell before you move on:

Test-Path C:\gsc\client_secrets.json

True means you’re good. False means the name or the folder is wrong.

Illustration: the key in its folder and Test-Path returning True.

Ask Claude: “Move client_secrets.json from my Downloads folder to C:\gsc and confirm the path with Test-Path.”

Step 3: Install the Server Once with Uv

uv is a fast Python package manager. It installs the server as a standalone tool, so you don’t manage a Python environment by hand.

If you don’t have uv yet, install it from PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Then install the server, pinned to Python 3.12:

uv tool install mcp-search-console --python 3.12

uv reports two executables: mcp-gsc and mcp-search-console. On Windows they live in %USERPROFILE%\.local\bin\. Note the full path to mcp-search-console.exe. You need it in step 4.

Install it yourself, once. Many guides point Claude at uvx, which installs the server every time Claude starts. Claude Desktop launches several copies of each server at startup, the installs collide, and the server fails to load.

Ask Claude: “Install mcp-search-console with uv on Python 3.12 and give me the full path to the .exe.”

Step 4: Add it to Claude Desktop

Now you tell Claude where the server and the key live.

  1. In Claude Desktop, open Settings > Developer > Edit Config. That opens claude_desktop_config.json.
  2. Add a gscServer entry inside the existing mcpServers block.
  3. Save the file.
{
  "mcpServers": {
    "gscServer": {
      "command": "C:\\Users\\you\\.local\\bin\\mcp-search-console.exe",
      "env": {
        "GSC_OAUTH_CLIENT_SECRETS_FILE": "C:\\gsc\\client_secrets.json"
      }
    }
  }
}

Replace you with your Windows user name. Backslashes in JSON need doubling.

If you already run other MCP servers, keep one mcpServers block and add gscServer next to the others.

Ask Claude: “Add a gscServer entry to my claude_desktop_config.json inside the existing mcpServers block. Use my .exe and client_secrets.json paths. Keep a single mcpServers block.”

Step 5: Restart Claude and Sign-in

Restart the Claude app.

  1. Quit Claude from the system tray. Closing the window leaves it running in the background, and it won’t load the new config.
  2. Open Claude again.
  3. Ask: “List my Search Console properties.”
  4. A browser window opens for Google sign-in. Pick the account you added as a test user.
  5. Google warns that it hasn’t verified the app. That’s expected: it’s your own app in testing mode. Click Continue and approve read access.

The sign-in runs once. The server stores the token, and Claude lists your properties.

Step 6: Ask Claude About Your GSC

Ask Claude to analyze your rankings, queries, or anything else in natural language. Claude is not an SEO expert, but can help with many of the tasks an SEO expert would perform.

  • “Which pages lost the most clicks in the last 28 days compared to the previous 28?”
  • “Find queries in positions 5 to 15 with high impressions and low CTR. Rank them by opportunity.”
  • “Which queries do two or more of my pages compete for?” (cannibalization)
  • “Check indexing issues on my top 20 pages by clicks.”
  • “Group my queries into topics and show me the topics with impressions but no page that targets them.”

Claude can only read your data, not change anything there.

Search Console + DataForSEO: your data plus market data

GSC tells you what’s happening on your site: real clicks, CTR, positions and indexing. It knows nothing about queries you don’t rank for yet.

DataForSEO fills that gap with market data: search volumes, keyword difficulty and competitors. It has its own DataForSEO MCP server, so Claude uses both in the same conversation.

You can ask it to also create a skill for both and auto-update both skills as it learns, especially to avoid spending too much on APIs for DataForSEO, it’s cheap, but no need to use 3x more than you need!

Together they answer the questions that move pipeline from organic:

  • Which pages to update first, ranked by lost clicks and the volume left on the table
  • Which content gaps to fill, sized by real demand instead of guesses
  • Which queries you’re close to winning, and how hard the competition is

FAQ

Is there an official Google Search Console MCP server?

No. Google publishes the Search Console API but no MCP server for it. Every Google Search Console MCP option is third party. The one in this guide is open source and runs locally.

Is Search Console API free?

Yes. The Search Console API is free, Google Cloud doesn’t need billing for it, and mcp-search-console is open source. You pay only for your Claude plan.

Is my data private?

The server runs on your computer and talks to Google directly. Your Search Console data reaches Claude only when you ask a question, the same way as anything else you share in a chat.

Does it change anything on my site?

No. By default the server asks Google for read-only access (the webmasters.readonly scope). Tools that add sites or delete sitemaps stay off unless you set GSC_ALLOW_DESTRUCTIVE=true in the config.

Does it work on a Mac?

Yes. The steps are the same. The config lives at ~/Library/Application Support/Claude/claude_desktop_config.json, uv installs the server to ~/.local/bin/mcp-search-console, and you quit Claude from the menu bar.

Does it work with ChatGPT or Cursor?

Any client that supports MCP works. The config file and its location differ per client.

Website |  + posts

Nick Malekos is the Head of Growth & Demand Generation at Cyberbit, with a background in SEO, Content Marketing, and Performance. He is specializing in helping SaaS startups and scale-ups grow.

More in SEO