Google Search Console Audit MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GSC_CLIENT_ID | No | OAuth 2.0 Client ID for Google Search Console API | |
| GSC_CLIENT_SECRET | No | OAuth 2.0 Client Secret for Google Search Console API | |
| GSC_REFRESH_TOKEN | No | OAuth refresh token for Google Search Console API |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Google Search Console, read-only.
Property format matters: sc-domain:example.com for a domain property, https://example.com/ (trailing slash) for a URL-prefix one. Call gsc_sites when unsure, gsc_doctor when something fails.
Dates are optional: with none given, tools use the last 28 days ending today (UTC) and data_state=all, which matches the Search Console UI including today's partial data.
Use gsc_audit for a full client-facing report; use the individual tools for specific questions. Every response opens with a # meta ... line: quote those numbers exactly, and do not invent causes for a drop the data does not show.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gsc_sitesA | List every property the authenticated account can read. Call this first when a property string fails: it returns the exact |
| gsc_site_detailsB | Permission level and property type for one property. |
| gsc_queryA | Query the Search Analytics report: clicks, impressions, CTR, position. This is the general-purpose tool. With no dates it covers the last 28 days ending today (UTC), with data_state=all so today's partial data is included, matching what the Search Console UI shows. Example: site_url="sc-domain:example.com", dimensions="query,page", period="last_28_days", row_limit=100. Returns a |
| gsc_performance_overviewA | Site totals for a period, compared with a baseline by default. Start here: it answers "is the site up or down" in one call, with the
percentage change on every metric. |
| gsc_compare_periodsA | Join two periods on one dimension and rank the rows by click delta. Answers "what changed" without the model diffing two tables by hand. Rows present in only one period are kept, with zeros on the missing side; the biggest movers in both directions are returned, worst first. The meta counts how many rows gained and how many lost clicks. When a side was read only up to its row limit, the meta flags it: a row missing there may only be below the cut. |
| gsc_quick_winsA | Queries close enough to the top that a push would pay off. Ranked by the clicks each query would gain at |
| gsc_ctr_gapsA | Rows that rank well but are clicked far less than their position implies. The snippet, not the ranking, is the problem, which makes these the
cheapest fixes available. |
| gsc_cannibalizationA | Queries where several pages of the site compete for the same result. Leaves out brand queries (pass |
| gsc_traffic_dropsA | Pages that lost clicks against the baseline, each with a likely cause.
|
| gsc_content_decayA | Pages sliding down month after month. A period comparison hides this: a page that halves over six months never
shows a sharp drop in any single month-on-month check. Only whole calendar
months are compared, so the month in progress is left out ( |
| gsc_alertsA | What changed sharply enough to be worth a message today. Compares the last |
| gsc_portfolioA | Every accessible property at a glance, ranked worst first. One row per property with the current period, the previous one and a health flag: critical below -30% clicks, warning below -15%. Use it to decide which property to look at before running anything else. |
| gsc_brand_splitA | Brand, non-brand and undisclosed clicks, month by month. Computed over every query with server-side regex filters, so no row limit
applies. |
| gsc_indexing_issuesA | Check whether a batch of URLs is indexed, and why not when they are not. Runs the inspections concurrently and returns one row per input URL, in input
order. A URL that fails gets an Quota: 600 inspections per minute and 2,000 per day, per property. Columns: url, verdict (PASS / PARTIAL / FAIL / NEUTRAL), coverage_state, robots_txt_state, indexing_state, page_fetch_state, crawled_as, last_crawl_time, google_canonical, user_canonical, error. The meta carries a verdict summary. |
| gsc_inspect_urlA | Full URL Inspection for one page: index, mobile, rich results and AMP. Use this when one page needs a diagnosis. For an indexed-or-not sweep across
many URLs use Quota: 600 inspections per minute and 2,000 per day, per property. |
| gsc_sitemapsA | List the sitemaps Google knows about for a property, with errors and warnings. Read-only: submitting or deleting a sitemap needs the read-write scope, which this server never requests. Returns one row per sitemap: path, last submitted and downloaded timestamps, pending flag, index flag, warning and error counts, and the submitted / indexed URL counts when Google reports them. |
| gsc_doctorA | Report the server's configuration and whether Search Console answers. Call this first when something fails: it names the auth mode in use, when the token expires, how many properties the account can read, the cache state and the defaults every other tool applies. Secrets are masked. |
| gsc_auditA | Build a complete, self-contained HTML SEO audit for one property. Collects the period and its baseline (previous period or a year earlier), top queries and pages, devices, countries, the daily trend, six complete months of history, brand totals, sitemaps and an indexing check, then detects issues and builds a prioritised strategy and roadmap. Sections that could not be fetched are named, never shown as clean. English and Italian. Ask the user for the period if they have not named one: the 28-day default is rarely what a client report wants. Returns a compact JSON summary first (KPIs with deltas, issue counts, top quick wins, roadmap), so the findings can be discussed without reading the HTML, followed by the report path or the document itself. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| gsc_weekly_report | Weekly performance review for one property: what moved and what to do. |
| gsc_indexing_audit | Check what Google has indexed for a property and what is blocking the rest. |
| gsc_content_opportunities | Build a content plan from the queries the site nearly ranks for. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 18 tools
The analytical tools (quick_wins, ctr_gaps, traffic_drops, content_decay, alerts, cannibalization) all read Search Analytics data, but each is anchored to a distinct question and the descriptions explicitly contrast them (e.g. month-on-month decay vs. sharp drops vs. alert windows). gsc_indexing_issues and gsc_inspect_url cross-reference each other for batch vs. single-page use, and gsc_sites vs. gsc_site_details differ only mildly (all properties vs. one property's permissions). A handful of boundaries require reading the descriptions, but true misselection risk is low.
Every tool shares the gsc_ prefix and lowercase snake_case, which makes the set immediately recognizable and sorted together. The second element mixes conventions (nouns like gsc_sitemaps, gsc_portfolio vs. verbs like gsc_query, gsc_compare_periods), but the style is uniform enough that names remain predictable.
18 tools sits at the upper end but each maps to a concrete SEO audit question (overview, quick wins, CTR gaps, cannibalization, drops, decay, alerts, brand split, indexing, audit, diagnostics). No tool looks like filler or a duplicate of another; the set is granular rather than bloated.
Coverage across discovery (sites, site_details, portfolio), analytics (query, overview, compare_periods), diagnosis (indexing_issues, inspect_url, sitemaps) and a full audit report is thorough for a read-only audit domain. The only dead end is the deliberately declared read-only scope — no sitemap submission or any mutation — which is documented rather than an oversight.