Google Search Console MCP
English · Italiano

Eighteen read-only tools over the Google Search Console API, plus a deterministic
white-label HTML audit report an agency can put its own name on and send to a
client, in English or Italian.

Regenerate that report from committed synthetic data, with no credentials:
python scripts/render_sample_report.py --lang en --open
What's new in 4.0
4.0 is about trust: every number the server reports now says what it is based on,
and nothing incomplete is presented as a finding.
- Comparisons hold whole days. Search Console's latest days are partial for a
while, so a 7-day window ending today used to start 15-20% down against the week
before. Comparison tools now end rolling windows on the last day with final data
and report it as
data_through.
- Year over year.
compare="year" on the overview, period comparison, traffic
drops, alerts and the audit. Whole months map to the same months last year;
other ranges move back 52 weeks so weekdays line up.
- Filters everywhere. The analysis tools and
gsc_compare_periods accept the
same filters and type as gsc_query: analyse /blog/, one country, mobile
only, or Discover.
- Brand vs non-brand, done properly. The new
gsc_brand_split tool, and the
audit, compute the split over every query with server-side regex filters and
report the clicks Google does not disclose as a third share. Brand terms match
whole words only.
- No more false alarms. Content decay compares complete months only. A page
below a row limit is no longer reported as lost. A failed URL Inspection is no
longer an indexing problem. Cannibalisation leaves out brand queries and queries
one page clearly owns.
- A sounder report. One definition of a low CTR, thresholds per kind of row,
inspection of the pages that lost clicks, a "pages in steady decline" section, a
"how to read this report" section, translated verdicts, darker default colours
and accessible charts and tables. The pagination advice no longer recommends
canonicalising to page one.
Upgrading from 3.x: see the breaking changes at the top of the
changelog.
Install
Claude Code
/plugin marketplace add acamolese/google-search-console-mcp
/plugin install google-search-console@acamolese
The plugin brings the MCP server, five skills (weekly review, cannibalisation
check, indexing audit, content opportunities, white-label client audit) and a
config prompt for the three credentials.
Claude Desktop
Download google-search-console.mcpb from the
latest release
and open it. It needs uv installed. Or edit the
config file directly:
{
"mcpServers": {
"google-search-console": {
"command": "uvx",
"args": ["mcp-google-search-console"],
"env": {
"GSC_CLIENT_ID": "...",
"GSC_CLIENT_SECRET": "...",
"GSC_REFRESH_TOKEN": "..."
}
}
}
}
Cursor, Codex, Gemini CLI, Zed
Any MCP client takes the same three lines: command uvx, argument
mcp-google-search-console, and the three GSC_* environment variables.
# Codex
codex mcp add google-search-console -- uvx mcp-google-search-console
# Gemini CLI
gemini mcp add google-search-console uvx mcp-google-search-console
Docker
docker build -t mcp-gsc .
docker run --rm -p 127.0.0.1:8765:8765 \
-e GSC_CLIENT_ID -e GSC_CLIENT_SECRET -e GSC_REFRESH_TOKEN \
-v "$PWD/reports:/reports" mcp-gsc
The container speaks streamable HTTP on /mcp. It has no authentication of its
own: keep it on loopback or behind a reverse proxy.
Authentication
The OAuth scope is webmasters.readonly and nothing else. No tool in this server
can modify a property, a sitemap or anything else in Search Console.
Credentials are resolved in this order:
GSC_AUTH_MODE if set (oauth, service_account, adc)
GSC_SERVICE_ACCOUNT_FILE or GSC_SERVICE_ACCOUNT_JSON
GSC_CLIENT_ID + GSC_CLIENT_SECRET + GSC_REFRESH_TOKEN
- A token file in
~/.config/mcp-google-search-console/
- Application Default Credentials
OAuth, once