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 Tage gratis · keine Kreditkarte · EU-Hosting
Frag Google alles
Teste einen echten Prompt gegen Google Search Console via AnythingMCP — Claude ruft die Tools auf, liefert die Antwort. Drück Enter auf deine eigene Nachricht, um auf Cloud zu installieren.
Google auf Cloud installierenClaude ist KI und kann Fehler machen. Bitte Antworten gegenprüfen.
Setup in 2 Minuten
- 1Free Trial auf cloud.anythingmcp.com starten.
- 2Im Connector-Store auf Google Search Console klicken. Credentials einfügen.
- 3MCP-API-Key generieren und KI-Client auf die MCP-URL zeigen.
Anleitungen für Google
Schritt-für-Schritt-Setup für die wichtigsten KI-Clients.
Google Search Console einrichten
Direkt aus der Connector-Definition: wo du die Credentials findest, welche Rechte sie brauchen und mit welcher API dieser Adapter spricht. Vom Connector-Autor auf Englisch bereitgestellt.
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.
Deine KI ist zwei Klicks von Google Search Console entfernt.
Connector installieren, Credentials einfügen, KI fragen. 7 Tage gratis, keine Kreditkarte.