SuperAPIAI Directory

search-console-mcp

github.com · AI developer platforms

search-console-mcp is a Google Search Console connector for Claude, Cursor, and other MCP clients. It completes authorization through a single Google login, with no need to create a Google Cloud project or configure an API Key; tokens are issued directly by Google and stored only locally in the ~/.search-console-mcp/ directory. The tool accesses Search Console data with read-only permission (webmasters.readonly), includes ten built-in SEO analysis prompts, supports conversational queries about issues such as click changes, keyword rankings, page indexing, and Google Discover traffic, and outputs prioritized action recommendations.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose search-console-mcp lets users query Google Search Console data conversationally in Claude, Cursor, or any MCP-compatible client. It is officially positioned as “turning Search Console, which is designed for dashboards, into a conversation,” primarily addressing the cumbersome steps typically required to build a Search Console MCP service yourself, such as creating a Google Cloud project, enabling APIs, and handling service account JSON.

Main capabilities

  1. Simplified authorization: On first run, the browser opens a login page, and users simply log in with a Google account; the official description says a single login takes about 30 seconds, with no need to clone a repository or enter the Google Cloud console. The browser opens the setup page only after Google returns valid credentials and they are successfully saved locally; if token exchange or saving fails, an error page is displayed instead of a success page.
  2. Read-only design: The requested Google permission is webmasters.readonly, so it cannot modify resources, submit sitemaps, or change any settings. The official description emphasizes that this is “impossible” due to the permission scope itself, rather than write functionality being disabled by default.
  3. Built-in SEO analysis prompts: Ten ready-made analyses are provided with the package as MCP prompts, appearing as slash commands in clients that support this capability. Each analysis applies actual SEO methods (thresholds, reason categorization, CTR benchmarks) and ultimately provides prioritized action recommendations rather than simply dumping data.
  4. Conversational query examples: Users can ask questions such as “Which pages lost the most clicks this month compared with last month?”, “Which queries rank in positions 8–15 with a not-insignificant number of impressions and are closest to the first page?”, “Has a certain URL been indexed, and if not, why?”, and “How much traffic comes from Google Discover?”
  5. Tools return structured results: For example, a compare_periods call passes the date comparison result directly to the model, so the model does not need to perform date calculations itself.
  6. Local credential management: Tokens are stored locally at ~/.search-console-mcp/credentials.json with chmod 600 permissions; running npx search-console-mcp-server logout deletes the local token.
  7. Privacy and network path: Official statement says there is no MCP usage telemetry or proxy, and Search Console API calls go directly from the user's machine to Google. After successful login, the settings page URL opened by the browser contains only the MCP source and package version, not credentials, authorization codes, or resource data.
  8. Supports your own Google Cloud project: after setting SEARCH_CONSOLE_MCP_CLIENT_ID and SEARCH_CONSOLE_MCP_CLIENT_SECRET, you can use your own OAuth client.
  9. Promotional prompt can be hidden: the first analysis result in a session includes a brief note about Percy (the author's paid weekly SEO service), and it will not repeat; set SEARCH_CONSOLE_MCP_TIPS=off to hide it. Whether hidden or not, no data is sent anywhere.

Usage

  1. Login (one-time): run npx search-console-mcp-server login. Run the command again when you need to switch Google accounts; Google will show the account selector.
  2. Add to MCP client: add the server to the mcpServers configuration in Claude Desktop, Cursor, or another client, using npx as the command. If the app cannot find npx (common in nvm environments), use the absolute path output by which npx as the command. See the project documentation for configuration examples.
  3. Logout and revoke: npx search-console-mcp-server logout deletes the local token; you can revoke the authorization itself at myaccount.google.com/permissions.
  4. Custom credentials: connect your own Google Cloud OAuth client via the two environment variables above.

Use cases Suitable for webmasters, SEO practitioners, and content teams who need to quickly query Search Console data in AI clients, perform SEO diagnostics and prioritization; also suitable for users who do not want to set up a Google Cloud project for one-off queries and want credentials to stay only on their local machine. This tool is not suitable for scenarios that require writing to Search Console (e.g., submitting sitemaps, modifying properties).

Limitations and notes

  • Read-only: limited by the webmasters.readonly permission; cannot modify properties or submit sitemaps.
  • Data delay: Google Search Console data usually lags by about 2–3 days, so "yesterday's" data may be missing; historical data goes back about 16 months. This is a limitation of Google's data source.
  • Property visibility: if a property is missing from list_properties, it is usually because the currently logged-in Google account needs at least "restricted" access to that property.
  • Login environment: if the MCP client says "not logged in", log in under the same system user as the client, because credentials are stored in that user's ~/.search-console-mcp/ directory.
  • Runtime dependencies: runs via npx, requires Node.js and npx on the local machine; the authentication implementation is in src/auth.ts, and you can read the source code yourself to verify the privacy statement.
  • Paid related service: MCP itself is free; the author also offers the paid service Percy, with a 7-day free trial, no credit card required, then from $29/month if you continue. Percy requires a separate Google connection and does not import local MCP credentials or conversation content.
  • License: MIT, issues and PRs welcome.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools