google_search_console_inspect_url
Inspect URL (Google Search Console)
GoogleDescription
Get detailed indexing and crawl status for a specific URL using the Google Search Console URL Inspection API. Args: inspection_url (string, required): Fully-qualified URL to inspect. Must be under the site_url property. site_url (string, required): The Search Console property that contains the URL (e.g. https://example.com/ or sc-domain:example.com). language_code (string, optional): IETF BCP-47 language code for translated issue messages (e.g. en-US). Returns: verdict (PASS/FAIL/NEUTRAL), coverage state, robots.txt state, indexing state, page fetch state, last crawl time, crawled as (mobile/desktop), Google canonical URL, user canonical URL, sitemap references. Note: Use google_search_console_list_sites first to discover valid site_url values.
Usage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "google_search_console_inspect_url",
"arguments": {
"inspection_url": "https://example.com/page",
"site_url": "https://example.com/",
"reason": "Check if page is indexed"
}
}
}
hopkin google ch-console-inspect-url
| Flag | Type | Required | Description |
|---|---|---|---|
--site-url | string | Required | The Search Console property URL (e.g. sc-domain:example.com or just example.com). |
--refresh | boolean | Optional | Force a fresh fetch from the API, bypassing cache |
{
"mcpServers": {
"google-search-console": {
"url": "https://gsc.mcp.hopkin.ai",
"transport": "sse"
}
}
}
- Inspect URL
- With language
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
site_url |
string |
Required | The Search Console property URL (e.g. sc-domain:example.com or just example.com).minLength: 1 |
reason |
string |
Required | Why this tool call is neededminLength: 1, maxLength: 500 |
Optional parameters (1)
| Name | Type | Required | Description |
|---|---|---|---|
refresh |
boolean |
Optional | Force a fresh fetch from the API, bypassing cache |
Examples
Inspect URL
{
"inspection_url": "https://example.com/page",
"site_url": "https://example.com/",
"reason": "Check if page is indexed"
}
hopkin google ch-console-inspect-url --inspection-url https://example.com/page --site-url https://example.com/
With language
{
"inspection_url": "https://example.com/page",
"site_url": "https://example.com/",
"language_code": "en-US",
"reason": "Check indexing with English messages"
}
hopkin google ch-console-inspect-url --inspection-url https://example.com/page --site-url https://example.com/ --language-code en-US