Search Console MCP

Google Search Console MCP: Setup and the Best GSC MCP Servers

How a Google Search Console MCP (GSC MCP) server works, how to set one up in Claude, ChatGPT or Cursor, and 11 servers compared on price, write access and GA4. Real sessions from our own site.

Start free

Search Console tools are in every plan and use zero credits.

Claude

Example, illustrative numbers

Which of my pages are close to page one in Search Console?

harborrank.get_search_console_performance
harborrank.inspect_urls

Three pages sit just off page one with real impressions:

  1. /pricing: 1,240 impressions at position 9.4, with a 0.8% click rate.

  2. /blog/invoice-templates: 860 impressions at position 11.2.

  3. /features/reminders is indexed, but its title doesn't use the words people search.

Want title and description rewrites for the first two?

A Google Search Console MCP server lets Claude, ChatGPT or Cursor read your Search Console data: which queries bring clicks and why a page isn't indexed. You ask in a sentence and the assistant calls the Search Console API for you. Google doesn't publish one, so you either run an open-source server with your own Google Cloud project or connect a hosted one with Google sign-in.

HarborRank is a hosted one. You connect the property once, the assistant gets three read-only Search Console tools that use no credits, and the same connection adds keyword, SERP, backlink, site audit and rank-tracking tools. This page covers how these servers work, how to set one up, eleven of them compared, and six investigations we ran on our own site with real numbers.

The short answer

If you wantUse
No Google Cloud project, plus keywords, SERPs, backlinks and rank tracking in the same chatHarborRank: 7-day free trial, then from $29/month
Free and local, and you'll set up a Google Cloud projectA self-hosted server such as mcp-gsc

The full comparison, with write access and what each one charges, is further down.

What a Search Console MCP can and can't do

Every server, hosted or local, calls the same Google API, so they all share its limits.

What it can do:

  • Read performance data: clicks, impressions, CTR and average position, grouped by query, page, country, device, date or search appearance, for up to 16 months back.
  • Filter with regex. The API accepts RE2 regular expressions on any dimension, so "queries of four words or more" or "everything that isn't my brand" is one call.
  • Inspect URLs: index status, last crawl, the canonical Google picked, robots.txt state and rich-result checks for one URL at a time.
  • Manage sitemaps and properties, on servers that ask for write access. HarborRank doesn't.

What it can't do:

  • Request indexing for ordinary pages. The "Request indexing" button in Search Console has no API. Servers that offer an indexing tool use IndexNow, which Google doesn't read, or Google's separate Indexing API, which Google limits to job-posting pages and livestream videos, at 200 requests a day by default. Google says it can only be used for those pages, and abusing it can get your access revoked. To get a normal page recrawled, fix the page, then click Request indexing in Search Console yourself.
  • Filter by position. The API sorts by clicks and can't return "positions 8 to 20". The assistant pulls the rows and filters them itself.
  • Show every query. Google leaves out queries too few people searched, for privacy. On our site, more than half of the clicks in one month had no query attached (details below).
  • Inspect a whole site. URL Inspection allows 2,000 inspections a day and 600 a minute per property, so a 5,000-page site takes three days; inspect the pages that matter. Performance reads allow 1,200 queries a minute per property, which an assistant won't reach.

Setup in HarborRank

  1. Sign up for HarborRank and start the 7-day free trial, which includes the Search Console tools. Basic is $29/month after the trial unless you cancel; Pro and Agency are charged right away. Cancel before the trial ends if it isn't right for you: charges after the trial aren't refundable. Pro and Agency can be refunded within 7 days of the first charge if less than 10% of that month's credits have been used.
  2. In onboarding, click Connect Search Console and choose the property. HarborRank's own Google app handles the OAuth, with the read-only webmasters.readonly scope.
  3. Add the MCP endpoint to your client and approve the HarborRank login when it opens.

The endpoint:

https://app.harborrank.com/mcp

Claude Code

claude mcp add --transport http --scope user harborrank https://app.harborrank.com/mcp

Claude Desktop

  1. Open Settings → Connectors.
  2. Click Add custom connector.
  3. Paste https://app.harborrank.com/mcp.

ChatGPT

Open HarborRank in ChatGPT's plugin directory, add it, then sign in to HarborRank when it opens and approve access.

To connect it by URL instead:

  1. Open Settings → Plugins and choose Add.
  2. Paste https://app.harborrank.com/mcp as the server URL and keep OAuth as the authentication.
  3. Confirm ChatGPT's warning about custom MCP servers.
  4. Sign in to HarborRank when it opens and approve access.

Cursor

  1. Open Cursor Settings → Tools & Integrations → MCP Tools.
  2. Click New MCP Server (this opens mcp.json) and add:
{
  "mcpServers": {
    "harborrank": {
      "url": "https://app.harborrank.com/mcp"
    }
  }
}

Codex CLI

codex mcp add harborrank --url https://app.harborrank.com/mcp

Other clients that support remote HTTP MCP servers with OAuth should work the same way. The MCP docs list the clients we have tested.

Setup for a self-hosted server

If you'd rather run mcp-gsc or another open-source server, the Google side takes these steps:

  1. Create a project in Google Cloud Console and enable the Google Search Console API.

  2. Choose how the server signs in. An OAuth client (Desktop app type) signs in as you and sees every property you can. A service account is a robot user with its own email address, better for scripts and teams.

  3. For a service account, copy its email (it ends in iam.gserviceaccount.com), open Search Console, then Settings → Users and permissions → Add user, and add it with Restricted access. This is the step people skip. Without it, every call fails with a permission error that many servers show as "no data".

  4. Point the server at the credentials file in your client's MCP config. For mcp-gsc in Claude Desktop, with an OAuth client:

    {
      "mcpServers": {
        "gscServer": {
          "command": "/FULL/PATH/TO/uvx",
          "args": ["mcp-search-console"],
          "env": {
            "GSC_OAUTH_CLIENT_SECRETS_FILE": "/full/path/to/client_secrets.json"
          }
        }
      }
    }

    With a service account, set GSC_CREDENTIALS_PATH to the key file and GSC_SKIP_OAUTH to "true" instead.

  5. Test with one question you already know the answer to, such as last week's clicks, and compare it with the Search Console interface.

Six investigations on our own site

These are real sessions on harborrank.com, a young site, with the calls and the numbers as they came back.

1. 18 pages Google had never fetched

On September 25, 2026 we pointed the tools at our own site. The sitemap had been submitted a week earlier, and traffic was flat. Two tools told us why.

First, the inspection:

inspect_urls({
  "projectId": "your-project-id",
  "urls": [
    "https://harborrank.com/",
    "https://harborrank.com/pricing",
    "https://harborrank.com/features/site-audit",
    "https://harborrank.com/blogs/dark-queries"
  ]
})

The homepage came back healthy:

{
  "url": "https://harborrank.com/",
  "indexStatusResult": {
    "verdict": "PASS",
    "coverageState": "Submitted and indexed",
    "lastCrawlTime": "2026-09-21T08:43:46Z",
    "googleCanonical": "https://harborrank.com/",
    "userCanonical": "https://harborrank.com/"
  }
}

Every other URL came back like this:

{
  "url": "https://harborrank.com/pricing",
  "indexStatusResult": {
    "verdict": "NEUTRAL",
    "coverageState": "URL is unknown to Google"
  }
}

Across two calls we inspected 19 URLs, and 18 came back unknown. Google had never fetched them, even with the sitemap submitted. Search Console counted 4 impressions and no clicks in the 28 days before.

A new domain with no inbound links gets its homepage crawled and little else until other sites link to it. So the next task became directory listings and outreach instead of another blog post.

2. One query, two pages

By October the site had data, so we asked: "Is any query sending impressions to more than one of my URLs?" The assistant grouped September 24 to October 22, 2026 by query and page and filtered to queries containing "mcp". That returned 34 query-page rows. Two queries showed up twice:

QueryPageImpressionsAvg. position
se ranking mcp/features/mcp2782.6
se ranking mcp/docs/mcp688.8
seranking mcp/features/mcp1357.1
seranking mcp/docs/mcp666.7

We left both pages alone. Both sit past position 55, these are searches for a competitor's product, and a split only costs you when both pages compete for page one or two. The rule we use now: act on a split when the better page ranks inside the top 20 and the query is one you want.

3. The long tail: 481 queries, zero clicks

In November we asked which long-tail searches, four words or more, we show up for. That's a regex on the query:

get_search_console_performance({
  "projectId": "your-project-id",
  "dateRange": "last_3_months",
  "dimensions": ["query", "page"],
  "filters": [
    { "dimension": "query", "operator": "includingRegex", "expression": "^([^ ]+ ){3,}[^ ]+$" }
  ]
})

The same filter in the Search Console interface, for August 4 to November 4, 2026: 481 queries, 2,920 impressions, 0 clicks, average position 81.7. Google was showing us for hundreds of specific questions, always on page eight or nine.

Grouped by topic, the long-tail queries among the top 1,000 the API returned looked like this:

TopicQueriesImpressionsAvg. position
Backlink questions ("how to check how many backlinks a site has")2821,67689.5
Search Console MCP ("google search console mcp server")639080.1
Competitor trials and prices ("ahrefs free trial without credit card")2719962.8
Claude and AI SEO ("claude code for seo")1911570.9
Rank tracking227575.2
Not real searches39181n/a
Everything else2475n/a

Eight of the "not real" queries were spreadsheet header rows pasted into Google ("keyword,position,previous position,search volume…"), and 31 were numbered, machine-made queries ("13403: agency rank tracking"). They inflate impressions and can make a page look closer to page one than it is. Leave them out with a second filter: { "operator": "excludingRegex", "expression": ",|^[0-9]+: " }.

What we did with it: the backlink questions landed on a tool page that doesn't answer them, and the Search Console MCP searches landed on an older version of this page. Both got rewritten for the questions people actually typed.

4. Brand vs non-brand: 110 of 111 clicks

Over the same three months, Search Console reported about 1,000 queries for the site. Three of them were our brand name ("harborrank", "harborrank seo", "harbor rank"), and they brought 110 of the 111 clicks. Every other query together brought one.

A healthy-looking total can hide this. Filter the brand out to see it:

{ "dimension": "query", "operator": "excludingRegex", "expression": "harbou?r ?rank" }

If your non-brand clicks are near zero, the people clicking already knew you. Search isn't finding you new customers yet, and better titles won't fix that; content and links will.

5. "Crawled, currently not indexed" to indexed in a day

On November 4, inspecting /semrush-alternatives returned "coverageState": "Crawled - currently not indexed", last crawled that morning. Google had read the page and decided it wasn't worth indexing. Requesting indexing on an unchanged page asks Google to repeat the same judgment.

So we rebuilt it: prices checked on each vendor's own page, a competitor check we ran ourselves, and answers to the questions the top results cover. It was redeployed on November 5, and we clicked Request indexing in Search Console. Google recrawled it at 12:18 UTC the same day. Two days later the inspection read:

{
  "url": "https://harborrank.com/semrush-alternatives",
  "indexStatusResult": {
    "verdict": "PASS",
    "coverageState": "Submitted and indexed",
    "lastCrawlTime": "2026-11-05T12:18:33Z",
    "googleCanonical": "https://harborrank.com/semrush-alternatives"
  }
}

6. This page, climbing from position 85 to 62

The page you're reading is our test case. On November 26 we asked: "Is /google-search-console-mcp moving, and on which searches?" That took two calls filtered to this page's URL, one grouped by query and one by date:

get_search_console_performance({
  "projectId": "your-project-id",
  "dateRange": "last_28_days",
  "dimensions": ["date"],
  "filters": [
    { "dimension": "page", "operator": "equals", "expression": "https://harborrank.com/google-search-console-mcp" }
  ]
})

From October 26 to November 23, 2026, the query call returned 14 searches once numbered, machine-made queries were left out. The top five:

QueryImpressionsAvg. position
google search console mcp33075.1
google search console mcp server7280.5
search console mcp6877.3
gsc mcp5076.2
mcp google search console1775.7

The date call showed the movement. November 12 to 16: 155 impressions at an average position of 85.2. November 19 to 23: 156 impressions at 62.0. Zero clicks in both.

What we read from it:

  • Higher, not wider. Impressions held steady while the position improved by 23 places: Google was showing the page higher to about the same number of searchers.
  • Page seven still gets no clicks. Position 62 is where almost nobody clicks. The work now is getting the main query into the top 20.
  • Single days mislead. November 2 reads position 7.3, but that's 3 impressions. Weight positions by impressions over at least five days before you believe a move.
  • A climbing page gets left alone. We don't edit a page for three weeks once it starts climbing. Change it mid-climb and you can't tell whether the next move came from Google's testing or from your edit.

The totals don't match either: 601 impressions by date, 584 on the query rows. Why the agent's numbers won't add up explains the gap.

What to ask once it's connected

Each of these works in one or two calls.

Find wins on pages Google already shows

  1. "Which queries sit at positions 8 to 20 with over 100 impressions in the last 28 days?"
  2. "Which pages gained impressions in the last 3 months but not clicks?" Usually the title or description isn't earning the click.
  3. "Which long-tail queries, four words or more, do I show up for? Group them by topic."

Find losses

  1. "Which queries lost the most clicks in the last 28 days compared with the 28 before?"
  2. "Which pages had clicks three months ago and almost none now?"

Fix indexing

  1. "Is /pricing indexed? If not, why not?"
  2. "Which of my most important pages did Google canonicalize to a different URL?" The assistant compares googleCanonical with userCanonical.

Check structure

  1. "Is any query sending impressions to two of my URLs?" Two rows for one query is cannibalization.
  2. "How many clicks came from non-brand searches last month?"
  3. "Which countries bring impressions but no clicks?"

With HarborRank, the same conversation can go further: "check the live Google results for that query and tell me what the top three have that my page doesn't" uses the SERP tool on the same connection.

Why the agent's numbers won't add up

For September 24 to October 22, 2026, grouped by date, our property had 74 clicks and 1,347 impressions. Grouped by query, the rows with clicks added up to 35, all of them our brand name. The other 39 clicks, 53%, came from queries Google didn't report.

Google leaves out rare queries on purpose, to protect searchers' privacy, and the API returns the top rows rather than every row. On a small site those hidden queries are most of the long tail. To keep an assistant's answers honest:

  1. Take totals from the date dimension. Summing query rows undercounts, sometimes by half.
  2. Read query data as a sample. It shows which queries you rank for, not each one's full share of traffic.
  3. Expect the last three days to move. Fresh data is partial, so a 7-day window ending today looks like a drop.

Will it flood the context window?

It can. Google's API returns up to 25,000 rows per request, and a few thousand rows of queries and URLs fill a large share of an assistant's context before it starts reasoning. To keep pulls small:

  1. Ask for the grouping you need. "Top queries for /pricing" is the query dimension with a page filter, not query and page across the whole site.
  2. Filter at Google. Regex, page, country and device filters run in the API, so the rows you don't want never reach the chat.
  3. Page through big pulls. HarborRank returns up to 1,000 rows per call and says when more exist; the assistant fetches the next batch with startRow only when the question needs it.

What the three HarborRank tools return

get_search_console_performance returns clicks, impressions, CTR (a 0 to 1 fraction) and average position. Group by up to four of query, page, country, device, date or searchAppearance, and filter with equals, contains, their negations, or includingRegex and excludingRegex. Pick a window from the last 7 days to the last 16 months, or pass explicit dates. Each call returns up to 1,000 rows; when there are more, the response says so and the assistant fetches the next page with startRow. Dates are Pacific Time and the last three days can be incomplete, the same as in Search Console.

inspect_urls runs URL Inspection on up to 10 URLs per call and returns the verdict, coverage state, last crawl time, the canonical Google picked next to the one you declared, robots.txt state, and the mobile and rich-result checks.

get_search_console_sitemaps lists the sitemaps submitted for the property: when Google last read each one, whether it's still pending, its error and warning counts, and how many URLs it submits.

All three are read-only and use no credits, because Google doesn't charge you to read your own data. Google Analytics 4 connects to the same projects; see the Google Analytics MCP. Those reports use credits.

Best Google Search Console MCP servers compared

Google doesn't publish one. Its list of Google-managed MCP servers covers 87 products, from BigQuery to Gmail, and Search Console isn't among them. Google does publish a read-only Analytics MCP server, but it doesn't touch Search Console (both checked November 7, 2026). Every Search Console MCP server is third-party.

Self-hosted servers are free and keep your data on your machine, and you do the Google Cloud setup above. Hosted servers skip that: you sign in with Google and paste one URL, and in exchange your data passes through the provider.

Checked on each project's or vendor's own page, November 7, 2026; GSC Wizard, SearchConsole.ai and mcp-gsc rechecked November 26:

ServerHostingSearch Console accessWrites to your accountAlso includesPrice
mcp-gscSelf-hosted, Python, 2.3k GitHub stars20 tools: analytics, period comparison, URL inspection, sitemapsSubmits sitemaps. Adding or deleting sites and deleting sitemaps is off unless you enable itNothing elseFree
mcp-server-gscSelf-hosted, Node, 283 starsOne analytics tool, up to 25,000 rowsNoneNothing elseFree
search-console-mcpSelf-hosted, Node, 321 starsAnalytics, inspection, sitemapsSitemaps and sites once you grant write access; an indexing tool that submits through IndexNow or the Google and Bing APIsGA4, Bing Webmaster Tools, AdSenseFree
Advanced GSCHostedAnalyticsNot statedSERP and keyword lookups; GA4 from the $40 plan; crawl and backlinks on the $105 plan$15, $40 or $105/month
ContextBolt SEOHostedAnalyticsNoneKeyword, SERP, backlink and audit tools$35/month for 1,000 credits after a 7-day trial; Search Console uses no credits
MarkifactHostedAnalytics, inspectionSitemap changes, behind an approval stepAd platformsFrom $79/month
SitecheckerHostedAnalyticsNot statedGA4, site auditFrom $149/month (its plans page lists MCP from the Standard plan)
GSC WizardHostedAnalyticsSays read-only; its tool list includes IndexNow submissionGA4, Bing, Yandex and Merchant Center, over 100 tools in all; history past 16 months on its full-storage propertiesFrom €17/month (Starter, monthly, excl. VAT) after a 7-day trial
SearchConsole.aiHostedAnalyticsNone, read-onlyNot statedFree to start; no prices on its homepage
ComposioHosted toolkitAnalytics, URL inspection, sitemapsAdds and deletes sites, submits sitemapsHundreds of other app connectorsFree tier, Pro $29/month
HarborRankHostedAnalytics with regex filters, inspectionNone. webmasters.readonly onlyKeyword, SERP, backlink, site audit, rank tracking, Maps and GA4 tools7-day free trial, then from $29/month; Search Console uses no credits

How to choose: if you want it free and local and you manage sitemaps from chat, run mcp-gsc. If you'd rather not run a Cloud project, you work across several machines or clients, or you want keyword, SERP and rank data in the same conversation, connect HarborRank.

Where HarborRank is the weaker pick: it can list sitemaps but can't submit or delete them, it returns 1,000 rows per call where Google allows 25,000, and your data goes through our servers rather than staying on your machine.

Ask your agent about your own Search Console data

Connect your property in HarborRank and run the investigations above on your own site, with no Google Cloud project. Search Console reads use no credits, and the same connection checks live Google results and keyword data for the queries you find. The 7-day trial comes with 1,000 credits for the research tools; Basic is $29 a month after.

Is it safe to connect?

Three things decide what a server can do with your account:

  1. The scope it asks for. webmasters.readonly can read data and inspect URLs, nothing else. The full webmasters scope can also add and remove properties and sitemaps. Check the Google consent screen when you connect; it names the access.
  2. Where the token lives. A self-hosted server keeps it on your machine. A hosted server keeps it on its servers, so you're trusting the provider.
  3. Which tools are switched on. Some servers ship write tools but keep them off until you set a flag. Read the README before you enable them.

To cut HarborRank's access, click Disconnect on the project's Search Console card, or remove HarborRank at myaccount.google.com/permissions.

When the agent gets zero rows or an error

What you seeUsual causeFix
Zero rows for every queryThe site is new or Google hasn't crawled itInspect the homepage and key pages; "URL is unknown to Google" means it has no data yet
403, permission deniedA service account that isn't a user on the propertyAdd its iam.gserviceaccount.com email under Settings → Users and permissions
"You don't have access to this property"The property string doesn't matchDomain properties are sc-domain:example.com; URL-prefix properties are https://example.com/ with the trailing slash
Zero rows for the last few daysThe server asks for final data onlyAsk for all data, which includes the last two or three days
A page filter returns nothingPart of the URL is missingFilter on the full address, protocol included, as Search Console stores it
Quota exceeded on inspectionsMore than 2,000 inspections a day, or 600 a minuteInspect the pages that matter; the quota resets daily

FAQ

What is a GSC MCP?

GSC is short for Google Search Console, and MCP (Model Context Protocol) is the standard AI assistants use to call outside tools. A GSC MCP server gives your assistant tools to read your Search Console data, so you can ask about clicks, queries and indexing in plain language instead of clicking through reports.

Is there an official Google Search Console MCP server?

No. Google's list of Google-managed MCP servers covers 87 products but not Search Console, as of November 7, 2026. Google's official Analytics MCP server reads GA4 only. Every Search Console server is either an open-source project you run yourself, such as mcp-gsc, or a hosted service such as HarborRank.

What is the best Google Search Console MCP server?

If you don't want a Google Cloud project and you want more than Search Console in the same chat, HarborRank: one sign-in, three read-only Search Console tools that use no credits, and keyword, SERP, backlink and rank-tracking tools on the same connection. If you want it free and local, run mcp-gsc. The comparison table covers eleven.

Why does my Search Console MCP return no data?

Usually one of three things: the site is too new for Google to have data, a service account was never added as a user on the property, or the property string doesn't match exactly (sc-domain:example.com versus https://example.com/). The last two make Google refuse the call, which some servers show as empty results. The troubleshooting table covers the rest.

Do I need a Google Cloud project?

Only for a self-hosted server. With HarborRank, our Google app handles the connection, so there's no Cloud project, API to enable or OAuth client to configure. You connect a property you already own in Search Console.

What does it cost?

The open-source servers are free, and Google doesn't charge for the Search Console API. On HarborRank, the Search Console tools use no credits and come with every plan and the 7-day free trial. Other tools on the same server use the plan's credits (1,000 during the trial), backlink research needs a paid plan, and plans start at $29/month.

Does it include Google Analytics?

Not in the Search Console tools themselves. HarborRank connects GA4 to the same project, so one conversation can compare Search Console clicks with GA4 conversions; see the Google Analytics MCP. Advanced GSC, Sitechecker and search-console-mcp also include GA4.

Which AI clients work?

Claude Code, Claude Desktop, ChatGPT, Cursor and Codex CLI, with the steps above. Other clients that support remote HTTP MCP servers with OAuth should work the same way; the MCP docs keep the tested list current.

How fresh is the data?

As fresh as Search Console itself. The last two or three days can be incomplete, which is why the preset date ranges end three days back, and history goes back 16 months.

Related guides

Part of seo with ai assistants: SEO MCP servers compared

Investigate how search performance changed

Connect your property in HarborRank, then investigate clicks, rankings, and indexing from your coding agent. HarborRank manages the Google OAuth client, and Search Console reads use zero credits.