google-gsc-mcp
v0.6.2Google 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.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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.
| Parameter | Type | Description |
|---|---|---|
page_url * | string | The specific URL to inspect |
site_url * | string | Exact 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.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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 * | string | List 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.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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… |
days | integer | Number 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).
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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_state | string | null | Data freshness — "all" (default, matches GSC dashboard) or "final" (confirmed data only, 2-3 day lag) |
dimensions | string | Dimensions to group by, comma-separated (e.g., "query,page,device") |
end_date | string | null | End date in YYYY-MM-DD format (defaults to today) |
filter_dimension | string | null | Single filter dimension (query, page, country, device). Use 'filters' instead for multiple filters. |
filter_expression | string | null | Single filter expression value |
filter_operator | string | Single filter operator (contains, equals, notContains, notEquals) |
filters | string | null | JSON 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_limit | integer | Maximum number of rows to return (max 25000) |
search_type | string | Type of search results (WEB, IMAGE, VIDEO, NEWS, DISCOVER) |
sort_by | string | Metric to sort by (clicks, impressions, ctr, position). Applied client-side to the returned rows, since Google only sorts by clicks. |
sort_direction | string | Sort direction (ascending or descending). For position, ascending puts the best (lowest) average position first. |
start_date | string | null | Start date in YYYY-MM-DD format (defaults to 28 days ago) |
start_row | integer | Starting 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.
| Parameter | Type | Description |
|---|---|---|
period1_end * | string | End date for period 1 / the analyzed period (YYYY-MM-DD) |
period1_start * | string | Start date for period 1 / the analyzed period (YYYY-MM-DD) |
period2_end * | string | End date for period 2 / the baseline period (YYYY-MM-DD) |
period2_start * | string | Start date for period 2 / the baseline period (YYYY-MM-DD) |
site_url * | string | Exact 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… |
dimensions | string | Dimensions to group by (default: query) |
limit | integer | Number 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.
| Parameter | Type | Description |
|---|---|---|
page_url * | string | The specific page URL to analyze |
site_url * | string | Exact 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… |
days | integer | Number of days to look back (default: 28) |
row_limit | integer | Number 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.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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_index | string | null | Optional sitemap index URL to list child sitemaps |
wsp_show_sitemap_gsc Show Sitemap
Full status and per-content-type breakdown for one sitemap.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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 * | string | The full URL of the sitemap to inspect |
wsp_add_sitemap_gsc Add Sitemap
Submit or resubmit a sitemap. Requires WSP_ALLOW_WRITES=true.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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 * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
site_url * | string | Exact 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 * | string | The 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.