Google Search Console
Google Search Console for AI agents: search performance (queries, pages, countries, devices, clicks, impressions, CTR, position), URL inspection, sitemaps and properties, plus a built-in SEO playbook. 11 tools, OAuth2.
7-day free trial · No credit card · EU-hosted
Ask Google anything
Try a real prompt against Google Search Console via AnythingMCP — Claude calls the tools, returns the answer. Press Enter on your own message to install on Cloud.
Install Google on CloudClaude is AI and can make mistakes. Please double-check responses.
Setup in 2 minutes
- 1Start a free trial on cloud.anythingmcp.com.
- 2Click Google Search Console in the connector store. Paste credentials when prompted.
- 3Mint an MCP API key and point your AI client at the generated MCP URL.
Guides for Google
Step-by-step setup for the most popular AI clients.
Setting up Google Search Console
From the connector definition itself: where to find the credentials, what they need to be allowed to do, and which API this adapter talks to.
This connector wraps the Google Search Console API (searchconsole.googleapis.com): Search Analytics (clicks, impressions, CTR, average position), the URL Inspection API (index status, canonical, crawl, rich results), sitemaps and property management. 11 tools.
Start with gsc_seo_playbook. It costs no API call and returns ready-made recipes (period comparison, striking-distance keywords, cannibalisation, traffic-drop diagnosis, indexing audit…) with the exact request bodies to send.
Setup (one-time, about 10 minutes)
- Open https://console.cloud.google.com, pick or create a project, then APIs & Services → Library → enable Google Search Console API.
- APIs & Services → OAuth consent screen: choose Internal if you are on Google Workspace (simplest), otherwise External. For External, set the publishing status to In production: while an app is in Testing, Google revokes its refresh tokens after 7 days and the connector stops working every week. For your own use, the "unverified app" warning can be clicked through.
- APIs & Services → Credentials → Create credentials → OAuth client ID → application type Web application → add the authorized redirect URI
<your AnythingMCP URL>/api/mcp-oauth/callback(on AnythingMCP Cloud:https://cloud.anythingmcp.com/api/mcp-oauth/callback). - Paste the client ID and secret into
GOOGLE_CLIENT_IDandGOOGLE_CLIENT_SECRETand install the connector. - On the connector page, click Authorize with Provider and sign in with a Google account that has access to your Search Console properties. The refresh token is stored encrypted and access tokens are renewed automatically.
Scope: the connector asks for https://www.googleapis.com/auth/webmasters (read and write), because it can also submit sitemaps and add properties. For a read-only setup, change the scope to https://www.googleapis.com/auth/webmasters.readonly in the connector's OAuth settings, re-authorize, and disable gsc_submit_sitemap, gsc_delete_sitemap, gsc_add_site and gsc_remove_site.
Properties (site_url)
- Always call
gsc_list_sitesfirst and reuse thesiteUrlexactly as returned.https://example.com/,https://www.example.com/andsc-domain:example.comare three different properties. - A domain property (
sc-domain:) covers every protocol and subdomain. To look at one subdomain or folder, keep the domain property and filter onpage. permissionLevelsiteUnverifiedUsermeans no data access: every data call on that property returns 403.
Search Analytics (gsc_query_search_analytics)
startDateandendDateare required,YYYY-MM-DD, in Pacific Time. There are no relative dates: work them out from today's date. History goes back 16 months.- Fresh data:
dataState: "all"includes the last 2-3 days, which are still incomplete (what the Search Console UI shows)."final"returns only finalised days."hourly_all"together with thehourdimension gives hourly data for about the last 10 days. - Dimensions:
query,page,country,device,searchAppearance,date,hour. With no dimensions you get one totals row. - Rows come back sorted by clicks, descending (by date when
dateis a dimension). The API cannot sort by impressions, CTR or position: raiserowLimit(max 25,000 per call, page withstartRow) and sort the result yourself. ctris a fraction (0.034 = 3.4%).positionis the average rank, 1 = top.- Filters:
dimensionFilterGroups: [{"groupType": "and", "filters": [{"dimension": "page", "operator": "contains", "expression": "/blog/"}]}]. Operators:equals,notEquals,contains,notContains,includingRegex,excludingRegex(RE2 syntax). Countries are ISO 3166-1 alpha-3 in lower case (ita,deu,usa); devices areDESKTOP,MOBILE,TABLET. - Anonymised queries are left out of rows grouped by
query, so their sum is lower than the property total. For site totals, query without dimensions. type:web(default),image,video,news,discover,googleNews. Discover and Google News have noquerydimension and no position.
URL Inspection (gsc_inspect_url): one URL per call, and the URL must belong to the property. Quota: 2,000 inspections per day and 600 per minute per property. It returns Google's indexed view (verdict, coverage state, last crawl, Google-selected vs declared canonical, robots.txt, fetch state, rich results) plus inspectionResultLink to the report in the Search Console UI. It does not trigger a recrawl: the API has no "request indexing" call.
Sitemaps: gsc_list_sitemaps shows each sitemap's last submission and download, pending state, errors, warnings and submitted URL counts. The indexed counts in contents are no longer populated by Google; use URL Inspection or the page-indexing report for index coverage.
Errors: 403 means the Google account has no access to that property (or a read-only scope for a write call); 404 on a property usually means site_url is not spelled exactly like in gsc_list_sites; 429 means the per-minute quota, so wait and retry.
Your AI is two clicks away from Google Search Console.
Install the connector, paste your credentials, ask your AI a question. 7-day free trial, no credit card.