google-gsc-mcp

v0.6.2
io.github.bilalnaseer/google-gsc-mcp Checked 8 hours ago Published 15 days ago

Google Search Console MCP server: search analytics, sitemaps and URL inspection.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

wsp_show_status_gsc Show Status

List every tool this server offers, grouped by category, with the current authentication status. Call it first to learn what is available or to diagnose login problems.

wsp_list_websites_gsc List Websites

List every Search Console property (domain and URL-prefix) the connected account can access. Returns the exact site_url string every other tool requires.

wsp_add_website_gsc Add Website

Add a property to Search Console. Requires WSP_ALLOW_WRITES=true.

ParameterTypeDescription
site_url *stringThe URL of the site (must be exact match e.g. https://example.com, or https://www.example.com, or https://subdomain.example.com/path/, for domain properties use format: sc-domain:example.com)

wsp_remove_website_gsc Remove Website

Remove a property from Search Console. Requires WSP_ALLOW_WRITES=true.

ParameterTypeDescription
site_url *stringThe URL of the site (must be exact match e.g. https://example.com, or https://www.example.com, or https://subdomain.example.com/path/, for domain properties use format: sc-domain:example.com)

wsp_show_website_gsc Show Website

Permission level, verification and ownership details for one property.

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…

wsp_check_url_gsc Check URL

Check a URL's index status, last crawl, canonical, robots and rich results as Google sees it.

ParameterTypeDescription
page_url *stringThe specific URL to inspect
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…

wsp_check_urls_gsc Check URLs

Inspect up to 10 URLs in one call (run concurrently). Same data as wsp_check_url_gsc, one row per URL.

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
urls *stringList of URLs to inspect, one per line (max 10)

wsp_show_traffic_gsc Show Traffic

Totals (clicks, impressions, CTR, position) and a daily trend for the last N days.

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
daysintegerNumber of days to look back (default: 28)

wsp_run_report_gsc Run Report

Flexible search analytics: choose dimensions, date range, search type, filters, sorting and pagination (up to 25,000 rows).

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
data_statestring | nullData freshness — "all" (default, matches GSC dashboard) or "final" (confirmed data only, 2-3 day lag)
dimensionsstringDimensions to group by, comma-separated (e.g., "query,page,device")
end_datestring | nullEnd date in YYYY-MM-DD format (defaults to today)
filter_dimensionstring | nullSingle filter dimension (query, page, country, device). Use 'filters' instead for multiple filters.
filter_expressionstring | nullSingle filter expression value
filter_operatorstringSingle filter operator (contains, equals, notContains, notEquals)
filtersstring | nullJSON array of filter objects for AND logic across multiple dimensions. Overrides filter_dimension/filter_operator/filter_expression when provided. Each object must have 'dimension', 'operator', and 'e…
row_limitintegerMaximum number of rows to return (max 25000)
search_typestringType of search results (WEB, IMAGE, VIDEO, NEWS, DISCOVER)
sort_bystringMetric to sort by (clicks, impressions, ctr, position). Applied client-side to the returned rows, since Google only sorts by clicks.
sort_directionstringSort direction (ascending or descending). For position, ascending puts the best (lowest) average position first.
start_datestring | nullStart date in YYYY-MM-DD format (defaults to 28 days ago)
start_rowintegerStarting row for pagination

wsp_compare_dates_gsc Compare Dates

Compare search performance across two date ranges. Direction: Period 1 is the period you are analyzing and Period 2 is the baseline you compare it against. All deltas are Period 1 relative to Period 2, and the percentage baseline is Period 2. A positive value means Period 1 outperformed Period 2 — more clicks/impressions, higher CTR, or a better (lower) average position. For a current-vs-previous comparison, pass the current period as Period 1 and the previous period as Period 2. Percentages are null when the Period 2 baseline is zero.

ParameterTypeDescription
period1_end *stringEnd date for period 1 / the analyzed period (YYYY-MM-DD)
period1_start *stringStart date for period 1 / the analyzed period (YYYY-MM-DD)
period2_end *stringEnd date for period 2 / the baseline period (YYYY-MM-DD)
period2_start *stringStart date for period 2 / the baseline period (YYYY-MM-DD)
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
dimensionsstringDimensions to group by (default: query)
limitintegerNumber of top results to compare (default: 10)

wsp_find_page_keywords_gsc Find Page Keywords

Queries that drove clicks and impressions to one specific page.

ParameterTypeDescription
page_url *stringThe specific page URL to analyze
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
daysintegerNumber of days to look back (default: 28)
row_limitintegerNumber of rows to return (default: 20, max: 500). Use 5-20 for quick overviews, 50-200 for deeper analysis, up to 500 for comprehensive reports. For bulk exports beyond 500 rows, use wsp_run_report_gs…

wsp_show_sitemaps_gsc Show Sitemaps

List submitted sitemaps with status, URL counts, errors and warnings. Pass sitemap_index to list an index's children.

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
sitemap_indexstring | nullOptional sitemap index URL to list child sitemaps

wsp_show_sitemap_gsc Show Sitemap

Full status and per-content-type breakdown for one sitemap.

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
sitemap_url *stringThe full URL of the sitemap to inspect

wsp_add_sitemap_gsc Add Sitemap

Submit or resubmit a sitemap. Requires WSP_ALLOW_WRITES=true.

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
sitemap_url *stringThe full URL of the sitemap to submit

wsp_remove_sitemap_gsc Remove Sitemap

Unsubmit a sitemap. Already-indexed URLs stay indexed. Requires WSP_ALLOW_WRITES=true.

ParameterTypeDescription
site_url *stringExact GSC property URL from wsp_list_websites_gsc (e.g. "https://example.com/" or "sc-domain:example.com"). Domain properties cover all subdomains — use the domain property as site_url and filter by…
sitemap_url *stringThe full URL of the sitemap to delete

wsp_login_again_gsc Log In Again

Delete the saved OAuth token and open a browser login. Use it to switch Google accounts, fix auth errors, or apply a changed WSP_ALLOW_WRITES setting.