gsc-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GSC_DEMO | No | Set to 1 to use synthetic demo data | |
| GSC_TOOLS | No | Load only some tools, to save tokens: families `core`, `insights`, `indexing`, `write`, or tool names | |
| GSC_PROFILE | No | Use one saved account instead of all of them | |
| GOOGLE_API_KEY | No | Optional key for `page_speed` when the shared PageSpeed quota runs out | |
| GSC_HTTP_TOKEN | No | Token used to authenticate the remote/HTTP server; it won't listen on a public interface without a token | |
| GSC_ALLOW_WRITES | No | Set to 1 to enable tools that change things | |
| GSC_DEFAULT_SITE | No | Property to use when a request doesn't name one | |
| GSC_ALLOWED_SITES | No | Comma-separated list; the AI can only see these properties | |
| GSC_SERVICE_ACCOUNT | No | Service account key path or JSON |
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 data for the user's own sites. Start with site_overview for 'how is my site doing', diagnose_traffic_drop for drops, and the find_* tools for recommendations. If a tool says Search Console is not connected, call connect_account. Only report numbers the tools return, and say which date range they cover. Position is an impression-weighted average. Finalized data lags about 3 days.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| connect_accountA | Check whether Search Console is connected and, if not, start Google sign-in. Returns a link for the user to open. Use this whenever another tool says Search Console is not connected. |
| list_sitesA | Every Search Console property this account can access, with permission level. Use it when you do not know which site the user means. |
| site_overviewA | One-call health check: clicks, impressions, CTR and position against the previous period and last year, top queries and pages with changes, devices, countries, and how much traffic Google hides as anonymous queries. Best first tool for 'how is my site doing'. |
| all_sites_overviewA | Clicks, impressions, CTR and position for every property side by side, with change against the previous period. Use it for agencies or anyone with several sites. |
| search_analyticsA | Raw Search Console performance data grouped by any dimensions, with filters. Pages past Google's 25,000-row limit automatically and says when results were cut off. Use dimensions ["hour"] for hourly data from the last 10 days, or ["date"] for a daily trend. |
| compare_periodsB | Biggest winners and losers between this period and the previous one (or the same period last year), by query, page, country, device or search appearance. |
| diagnose_traffic_dropA | Explains why clicks changed: finds the day the trend broke, checks it against Google's confirmed algorithm updates, and splits the change into lost pages, ranking drops, CTR drops (same rank, fewer clicks) and lower search demand. Use for 'why did my traffic drop?'. |
| find_content_decayA | Pages losing clicks steadily over several months, fitted with a trend line so one bad month is not flagged. Each page gets a likely cause (ranking, CTR, or demand). These are the best candidates for a content refresh. |
| find_opportunitiesA | Quick wins: queries (or pages) ranking just off the top spots with real impressions, ranked by extra clicks if they reached the target position. The estimate uses this site's own CTR curve, not an industry average. |
| find_low_ctrB | Pages or queries that rank well but get clicked much less than this site normally does at that position. Usually fixed by a better title and meta description. |
| find_cannibalizationA | Queries where two or more of your pages split the impressions, so they compete and usually both rank worse. Scored with a concentration index (0 means one page owns the query) and ranked by impressions at stake. |
| brand_splitA | Splits clicks into branded searches (people looking for you) and non-branded (SEO-earned), with change against the previous period. Uses Google's own brand classification when available, otherwise a brand regex. |
| section_reportA | Rolls pages up into folders (/blog/, /products/, ...) with clicks, impressions and change, so you can see which part of the site is growing or shrinking. |
| page_reportA | Everything about a single URL: clicks and position against the previous period, the queries it ranks for (with changes), devices, countries, and its index status. |
| analyze_queriesA | Breaks the site's queries into intents (question, comparison, commercial, transactional, local, branded, informational), shows long conversational AI-style searches, and clusters queries into topics. Use it to plan content or to see what people really ask. |
| find_anomaliesA | Days where clicks or impressions broke sharply from the same weekday in the previous four weeks: sudden drops, spikes, or tracking gaps. Good for monitoring and 'did anything weird happen?'. |
| update_impactA | How each confirmed Google core, spam and other ranking update over the last 16 months affected this site: average daily clicks and position in the two weeks before it started against the two weeks after it finished. |
| page_speedA | Core Web Vitals from real Chrome users (LCP, INP, CLS at the 75th percentile, pass or fail) plus a Lighthouse lab score and the biggest fixes, for one or more URLs. Takes 10 to 30 seconds per URL. |
| inspect_urlB | Google's index status for up to 100 URLs: indexed or not and why, last crawl, Google-chosen vs declared canonical, robots, rich results. Google allows about 2,000 inspections per property per day. |
| audit_indexingA | Finds pages that are in your sitemap but get no search impressions, then inspects them to show why Google is not showing them (not indexed, canonical points elsewhere, crawled but not indexed, ...). |
| list_sitemapsB | Sitemaps submitted for a property, with when Google last read them, errors, warnings and how many URLs they list. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| seo_report | A plain-English report on how the site is doing and the 5 things to do next. |
| why_traffic_dropped | Find when and why clicks fell, and what to do about it. |
| quick_wins | Keywords close to page one, and exactly what to change on each page. |
| indexing_check | Find pages Google is not showing and why. |
| content_refresh_plan | Which old pages to update first and how. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 21 tools
Each tool targets a distinct analysis type and descriptions include explicit 'use this for...' guidance (e.g. find_opportunities vs find_low_ctr vs find_cannibalization are cleanly separated by intent). The only real overlap cluster is the change-over-time family (diagnose_traffic_drop, find_content_decay, find_anomalies, compare_periods, update_impact), where an agent could occasionally pick the wrong lens, but the descriptions disambiguate well.
There is a clear verb_noun camp (connect_account, list_sites, search_analytics, compare_periods, find_*, inspect_url, audit_indexing, list_sitemaps) mixed with a noun-only camp (site_overview, all_sites_overview, page_report, section_report, brand_split, page_speed). Both styles are readable and mostly semantic, but the mix means there is no single predictable pattern an agent can rely on to guess a name.
21 tools is on the heavy side, but this is a broad analytics domain (acquisition, indexing, CWV, sitemaps, multi-site) where each tool maps to a genuinely different analysis rather than filler. A few could arguably be folded together (e.g. find_low_ctr into find_opportunities, page_report into section_report), which keeps it below a 5.
Coverage is strong across the GSC lifecycle: auth, property listing, performance queries, period comparison, diagnostics, indexing inspection, CWV, and sitemap listing, with sensible multi-site support. Gaps are minor but real: sitemap submission/edit is missing (list only), and there is no way to record annotations or export/share a report, though agents can work around both.