KosmoKrator

analytics

Google Search Console MCP Integration for Claude Code

Connect Google Search Console to Claude Code through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Manual OAuth token auth

Connect Google Search Console to Claude Code

Connect local KosmoKrator integrations to Claude Code through one scoped MCP gateway entry.

Add KosmoKrator as a stdio MCP server in the Claude Code project config and select the integrations that should be visible. The gateway is local, scoped to this integration, and starts with --write=deny so Claude Code can inspect read-capable tools without receiving write access by default.

Google Search Console MCP Config for Claude Code

Claude Code can launch the local kosmo binary directly from the project MCP config.

{
  "mcpServers": {
    "kosmokrator-google-search-console": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=google-search-console",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=google-search-console --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Google Search Console instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Google Search Console Tools Visible to Claude Code

Claude Code sees stable MCP tool names generated from the Google Search Console integration catalog.

MCP toolSource functionTypeDescription
integration__google_search_console__gsc_list_sites google-search-console.gsc_list_sites Read List all sites the authenticated user has access to in Google Search Console. Returns site URLs and permission levels.
integration__google_search_console__gsc_get_site google-search-console.gsc_get_site Read Get details for a specific site in Google Search Console, including permission level.
integration__google_search_console__gsc_list_sitemaps google-search-console.gsc_list_sitemaps Read List sitemaps submitted for a site in Google Search Console. Returns sitemap URLs, types, and indexing status.
integration__google_search_console__gsc_get_sitemap google-search-console.gsc_get_sitemap Read Get details for a specific sitemap in Google Search Console, including indexing status and any errors.
integration__google_search_console__gsc_list_search_analytics google-search-console.gsc_list_search_analytics Read Query search performance data from Google Search Console — clicks, impressions, CTR, and average position. Group by dimensions like query, page, country, or device.
integration__google_search_console__gsc_list_url_inspection google-search-console.gsc_list_url_inspection Read Inspect URLs for a site in Google Search Console. Returns indexing status, crawl information, and any detected issues.
integration__google_search_console__gsc_get_current_user google-search-console.gsc_get_current_user Read Get the authenticated user's profile from Google Search Console. Returns email and account information.

Related Google Search Console Pages