Skip to main content
Glama
Search Console MCP

Search Console MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GSC_SITE_URLNoDefault property, so you do not have to name it. Example: sc-domain:example.com
GSC_CONFIG_DIRNoWhere the saved sign-in lives. Default: ~/.config/search-console-mcp, or %APPDATA%\search-console-mcp on Windows
GSC_ALLOW_WRITENotrue enables submit_sitemap and delete_sitemap and requests the read/write scopefalse
GSC_BRAND_TERMSNoComma-separated brand names, to keep brand searches out of opportunity lists and to split branded from non-branded traffic
GSC_OAUTH_CLIENT_FILENoPath to an OAuth "Desktop app" client secret file, used by auth login
GSC_SERVICE_ACCOUNT_KEYNoPath to a service account JSON key
GSC_SERVICE_ACCOUNT_JSONNoThe key itself as a JSON string, for hosts without a file system
GOOGLE_APPLICATION_CREDENTIALSNoGoogle's standard variable, honoured when the two above are not set

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 and SEO analysis for the properties the connected Google account can read.

Getting started: call list_sites if you do not know the property. Every tool accepts site_url as an exact property name, a bare domain or any page URL on the site.

Choosing a tool: get_performance_overview for the big picture; compare_periods, find_declining_pages and detect_traffic_anomalies to explain change; find_quick_wins, find_ctr_opportunities, find_keyword_cannibalization and find_content_gaps to find work worth doing; analyze_page before editing a page; inspect_url, inspect_urls and audit_sitemap_indexing for indexing questions; search_analytics for any custom query.

Reading the data:

  • Dates are in Pacific Time. Without dates, tools use the 28 days ending on the latest day Google has complete data for (usually 3 to 4 days ago). end_date accepts "today" and "yesterday"; a period that reaches past the last complete day returns partial numbers for those days and says so.

  • position is the average topmost position; lower is better.

  • ctr_pct values are percentages (3.2 means 3.2%).

  • Rows broken down by query exclude anonymised queries, so they sum to less than the totals.

  • Results are JSON. Tables are {"columns": [...], "rows": [[...], ...]}.

  • URL inspection is limited to 2,000 calls per day per property; prefer the sampling tools over inspecting everything.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_sitesA

Lists every Search Console property the connected Google account can read, with its type and permission level. Call this first when you do not know the exact property name.

search_analyticsA

Runs a raw Search Console performance query: clicks, impressions, CTR and average position, broken down by any mix of query, page, country, device, date, hour and search appearance, with filters. Use it for anything the specialised tools do not cover. Rows come back sorted by clicks unless order_by says otherwise.

get_performance_overviewA

One-call snapshot of a property: total clicks, impressions, CTR and position against a comparison period, the trend over time, and the top queries, pages, countries, devices and search appearances. The best starting point for a report or before digging into a specific question.

compare_periodsA

Compares two periods row by row for one dimension (queries, pages, countries, devices or search appearances) and returns the biggest gainers and decliners plus what is new and what disappeared. Use it to explain why traffic moved.

find_quick_winsA

Finds "striking distance" keywords: queries where a page already ranks just below the top results (positions 4 to 20 by default) and is being seen. These are the cheapest rankings to improve. Returns each query with its page and an estimate of the extra clicks from reaching the target position, plus the pages with the most combined potential.

find_ctr_opportunitiesA

Finds results that rank well but are clicked much less than their position should earn, judged against the site's own CTR-by-position curve. These are candidates for a better title, meta description or structured data. Returns the underperforming pages (rolled up across their queries) and the individual query and page pairs, each with the clicks being missed.

find_keyword_cannibalizationA

Finds queries for which two or more pages of the site each take a meaningful share of the impressions, which often means the pages compete with each other. Returns each query with the competing pages, their share of impressions and their positions, ordered by how many impressions are split away from the strongest page.

find_declining_pagesA

Finds the pages (or queries) that lost the most clicks against a comparison period and gives a first reading of why: a ranking loss, fewer impressions, or a lower click-through rate. For the worst cases it also lists what lost the most underneath (the queries of a page, or the pages of a query). Use it to plan content refreshes and to investigate traffic drops.

find_content_gapsA

Finds topics the site is visible for but does not serve well: queries with real impressions where the best page ranks beyond the second results page, and question-style queries (who, what, how ...) that suit FAQ sections, how-to content or new articles. Use it to plan new content.

get_brand_splitB

Splits search performance into branded queries (containing the brand name), non-branded queries and anonymised queries, with the change against a comparison period. Non-branded traffic is the part SEO work actually wins, so this separates real organic growth from brand demand.

detect_traffic_anomaliesA

Scans the daily trend for days that differ sharply from the same weekday in the preceding weeks, so the weekly rhythm does not trigger false alarms. Returns the unusual days with the expected value and how the latest week compares with a typical one. Use it for monitoring and as the first step when someone asks "did our traffic drop?".

analyze_pageA

Everything Search Console knows about a single page: its totals against a comparison period, the queries it ranks for with their change, the queries worth optimising for (ranked 4 to 20 with the most impressions), devices, countries, the trend, and its index status. Use it before rewriting or refreshing a page.

inspect_urlA

Asks Google how it sees one URL: whether it is indexed and why not, the canonical Google chose against the declared one, when it was last crawled and as which device, robots.txt and noindex state, the sitemaps and pages that point to it, and structured data problems. It reports the indexed version, not a live test. Counts against a quota of 2,000 inspections per day per property.

inspect_urlsA

Runs URL inspection for up to 50 URLs of one property and returns a compact table of which are indexed, their coverage state, last crawl and the problems found. Each URL uses one of the 2,000 daily inspections per property.

audit_sitemap_indexingA

Reads the URLs listed in the property's sitemaps, inspects a sample of them and reports how many are indexed, the reasons the others are not, and the affected URLs. This is the closest the API gets to the Page indexing report. Each inspected URL uses one of the 2,000 daily inspections per property, so the sample is small by default.

list_sitemapsB

Lists the sitemaps submitted for a property with their processing state, when Google last read them, error and warning counts, and how many URLs each one submits.

Prompts

Interactive templates invoked by user choice

NameDescription
seo_weekly_reportA short report on how search performance moved in the last 7 days and what caused it.
seo_opportunity_auditFinds the highest-value improvements available right now and turns them into a prioritised plan.
diagnose_traffic_dropWorks out when search traffic dropped, which pages and queries caused it, and the most likely reason.
content_refresh_planPicks the existing pages most worth updating and says what to change on each.
indexing_health_checkChecks sitemaps and a sample of URLs for indexing problems.
optimize_pageA data-backed brief for improving a single page.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 16 tools

Disambiguation4/5

Most tools target clearly distinct analyses or resources (content gaps vs quick wins vs CTR opportunities vs cannibalization), and descriptions emphasize the different signals. The closest overlaps are find_declining_pages vs compare_periods (both surface decliners) and find_quick_wins vs search_analytics, but the specialized 'why' breakdown and raw-vs-diagnostic framing keep them separable.

Naming Consistency5/5

All 16 tools use consistent snake_case verb_noun form. The verbs vary (find, get, detect, analyze, inspect, list, search, compare, audit) but each reflects its action in a predictable way, and plural/singular distinctions (inspect_url vs inspect_urls) are used meaningfully.

Tool Count4/5

16 tools is slightly above the comfortable 3-15 range but each earns its place in a genuinely broad Search Console surface (performance, indexing, sitemaps, diagnostics). A couple of the find_* analyses could arguably be folded into search_analytics, but the count is reasonable for the scope.

Completeness4/5

The read/analysis surface is thorough: performance snapshots, period comparison, indexing inspection (single and batch), sitemap listing and audit, brand split, and anomaly detection are all covered. Minor gaps exist on the write side—no sitemap submission/deletion and no property add/remove—but these are small for an analysis-focused toolset.