gsc-readonly-mcp
Read-only access to Google Search Console: inspect properties, sitemaps, search performance, and URL index status, with no ability to change anything.
List properties —
list_sitesreturns every Search Console property the service account can access.Check sitemaps —
list_sitemapsshows submitted sitemaps with their status (errors, warnings, indexed count).Query search analytics —
search_analytics_queryreturns clicks, impressions, CTR, and position for a date range (start/end date required), grouped by dimensions like query, page, country, device, date, or searchAppearance, with an optional row limit (default 100, max 25,000).Inspect a URL —
inspect_urlchecks index status, Google-reported issues, mobile usability, and the canonical URL for a single URL.Multi-property targeting — every tool accepts an optional
site_url(e.g.sc-domain:example.deorhttps://example.de/) that overrides theGSC_SITE_URLenv default.No write operations — read-only scope (
webmasters.readonly); no submitting or deleting sitemaps, no config changes.
Provides read-only access to Google Search Console data, including tools for listing sites, checking sitemap status, running search analytics queries (clicks, impressions, CTR, position), and inspecting URL index status.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gsc-readonly-mcp show me top search queries for the last 28 days"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.

gsc-readonly-mcp
Read-only MCP server for the Google Search Console API. Search analytics, sitemap status, URL inspection, property listing, nothing else.
Design choice: no write scope, not even gated. No submit_sitemap, no
delete_sitemap, no way to change anything in Search Console. If you need
those, look elsewhere; this project stays deliberately small so it is easy to
audit in one sitting.
Tools
Tool | Does |
| Lists every property the service account can access |
| Sitemap status for a property (errors, warnings, indexed count) |
| Clicks, impressions, CTR, position, grouped by query/page/date/etc. |
| Index status, canonical URL, mobile usability for one URL |
Related MCP server: ga-gsc-analytics
Setup
1. Create a service account and download its JSON key
Google Cloud Console → create or select a project.
APIs & Services → Library → enable Search Console API.
APIs & Services → Credentials → Create Credentials → Service Account.
Open the new service account → Keys → Add Key → Create new key → JSON. The file downloads automatically.
Open the file, note the
client_emailfield (...@...iam.gserviceaccount.com).
2. Grant that service account access in Search Console
Search Console → open the property.
Settings → Users and permissions → Add user.
Paste the
client_emailfrom step 1. Use Full if you needsearch_analytics_query(Restricted users hit a permission error on that endpoint), Restricted is enough forlist_sites/list_sitemaps.
3. Store the key file somewhere outside any git repo
mkdir -p ~/.config/gsc
mv ~/Downloads/your-key-*.json ~/.config/gsc/service-account.json
chmod 600 ~/.config/gsc/service-account.json4. Configure your MCP client
Claude Code:
claude mcp add gsc-readonly \
-e GSC_SERVICE_ACCOUNT_KEY_FILE=~/.config/gsc/service-account.json \
-e GSC_SITE_URL="https://example.de/" \
-- npx -y @brodesigns/gsc-readonly-mcpOr in .mcp.json:
{
"mcpServers": {
"gsc-readonly": {
"command": "npx",
"args": ["-y", "@brodesigns/gsc-readonly-mcp"],
"env": {
"GSC_SERVICE_ACCOUNT_KEY_FILE": "/absolute/path/to/service-account.json",
"GSC_SITE_URL": "https://example.de/"
}
}
}
}GSC_SITE_URL is optional; every tool also accepts a site_url argument that
overrides it, useful if the same MCP server should cover several properties.
Important: use the property URL exactly as Search Console shows it.
Domain properties look like sc-domain:example.de, URL-prefix properties
look like https://example.de/. Passing the wrong form fails silently or
with a permission error even though the account has access.
Why this exists
Built after a security review of an existing community MCP server for the same API turned up a high-severity-looking automated scan result (mostly false positives on legitimate env-var reads, plus non-runtime dev-dependency CVEs) and a feature set larger than needed for read-only SEO workflows. This project intentionally covers less ground in exchange for being small enough to read end to end in a few minutes.
Security
Two runtime dependencies:
@modelcontextprotocol/sdk,google-auth-library(Google's own, minimal auth client),zodfor schema validation.No write scope requested from Google at all (
webmasters.readonly).No telemetry, no network calls beyond the Google APIs listed above.
Scanned with SkillSpector before each release; see SECURITY.md for the latest result, findings reviewed by hand.
License
MIT
Available Tools
4 toolsinspect_urlInspect URLA
Checks the index status of a single URL: is it indexed, what issues does Google report, mobile usability, canonical URL.
Inputs: inspection_url (required), site_url.
list_sitemapsList sitemapsA
Lists all sitemaps submitted to Search Console for a property, including status (errors, warnings, indexed count).
Inputs: site_url.
list_sitesList Search Console propertiesA
Lists every Google Search Console property the service account has access to.
Inputs: no named parameters.
search_analytics_queryQuery search analyticsA
Clicks, impressions, CTR and position for a date range, grouped by dimensions (e.g. query, page). Core tool for SEO decisions.
Inputs: end_date (required), start_date (required), site_url, row_limit, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct read-only resource and action: site properties, sitemaps, analytics aggregation, and single-URL inspection. There is no overlap that would make an agent misselect.
list_sites and list_sitemaps follow a consistent list_ pattern, and inspect_url is a clear verb_noun action. search_analytics_query deviates slightly by placing 'query' after the resource, but the intent remains obvious.
Four tools is well-scoped for a read-only Google Search Console server. Each tool covers a major API surface area without redundancy or unnecessary expansion.
The core read-only Search Console domains are covered: properties, sitemaps, performance data, and URL index inspection. Since write operations are outside the server's stated purpose, there are no meaningful gaps for its intended use.
Maintenance
Related MCP Connectors
Read-only Search Console analytics, URL inspection, indexing diagnostics, and sitemaps.
Read Search Console queries, clicks and positions, and inspect URLs for indexing.
Read-only Google Search Console and Google Analytics for AI agents.
Google Search Console for AI assistants: traffic, rankings, indexing and page checks. Read-only.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides read-only access to Google Search Console data, including search analytics, sitemap status, and URL inspection, for MCP clients like Claude.5 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables read-only access to Google Analytics 4 and Google Search Console data, allowing users to run reports, query search analytics, and generate combined snapshots for reporting.-
- AlicenseAqualityBmaintenanceEnables MCP clients to query Google Search Console search performance, inspect indexing, analyze sitemaps, and run SEO analyses such as cannibalisation detection, query clustering, and wins/losses, all with read-only access.20Apache 2.0
- AlicenseAqualityCmaintenanceEnables read-only access to Google Search Console data, including property discovery, search analytics queries, and URL inspection, through a security-focused interface.31,931 PyPI3MIT