SuperAPIAI Directory

search-console-mcp

github.com · AI developer platforms

Interact with Google Search Console and Bing Webmaster Tools.

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

About this tool

Purpose

search-console-mcp is an MCP (Model Context Protocol)-based server that integrates site data from Google Search Console, Bing Webmaster Tools, GA4, and Google AdSense into a single set of tools, for direct use by AI agents and automated workflows. The problem it solves is that site data is scattered across four different backend systems: to answer questions like "did ad revenue decline because of a traffic drop or a lower RPM," you usually need to log in to four consoles, export four CSVs, and then manually do VLOOKUPs. This tool places the four types of data behind a single set of tools and performs analysis (such as keyword cannibalization, anomaly detection, and revenue attribution) before the data enters the context window.

Main Capabilities

  • Multi-engine data integration: Unified access to Google Search Console, Bing Webmaster Tools, GA4, and Google AdSense.
  • GenAI Query Insights (genai_query_insights): For the regular query data returned by Google and Bing, flags possible generative AI / AI mode / conversational "fanout" queries through custom heuristic logic. No official GenAI citation data API is available, so this feature identifies queries based on prompt verbs, follow-up questions, confirmations, and conversational phrasing.
  • AdSense integration: Through setup --engine=adsense retrieve revenue reports, payments, and account alerts. Enabling AdSense requires a separate authorization adsense.readonly OAuth scope; the existing GSC, Bing, and GA4 configuration remains unchanged until you choose to enable it.
  • Parallel fetch engine (engine: "all"): Multi-engine queries can concurrently fetch Google, Bing, and GA4, reducing latency by more than 50%.
  • Backward compatibility: About 96 legacy tool names (such as bing_sites_list、seo_quick_wins、sitemaps_get、bing_index_now、indexing_submit_url、opportunity_matrix , etc.) remain available through fallback routing.
  • Fluent domain tool architecture: v2.0 provides 7 Fluent Domain Tools, covering SEO, analytics, inspection, and indexing operations.
  • Direct CLI execution: Registered MCP tools can also be executed directly as CLI commands, listing tools and viewing parameters through the run subcommand, and outputting results as JSON, CSV, or ASCII tables.
  • Multi-account support: When an agent queries a site, the server automatically resolves the account that the site belongs to, with no manual switching required; when there are more than 100 accounts, paginated selection is supported.

How to Use

  1. Run the installation command, which opens a browser, authorizes the Google account, and securely stores the credentials.
  2. Add it to your MCP client configuration (Claude Desktop, Cursor, Antigravity, etc.), then restart the client.
  3. Enter natural language questions directly to the agent, for example:
    • "My traffic dropped this week compared with last week; find out exactly when it started and which pages caused it."
    • "Find keywords on example.com that rank 8–15 with 1,000+ impressions."
    • "Check for keyword cannibalization—are two pages competing for the same query?"
    • "Run seo_audit on the top pages: which ones have high search visibility but low click-through rate?"
    • "Run a full SEO health check (site_health_check), split by branded / non-branded."
    • "Compare Google and Bing performance over the last 30 days (compare_engines)."
    • "Use indexing_submit with method: "index_now" to submit the latest URLs to Google and IndexNow."
  4. You can also execute registered tools directly in the CLI through the run subcommand.

Regarding account connection: AdSense does not support service accounts, and the configuration file is encrypted per machine, so you need to authorize once on a machine with a browser and transfer the authorization. The token is stored encrypted on the server and refreshed automatically, so the browser is no longer needed afterward. Installation in an SSH environment can also be done directly: when no browser is detected, setup prints the authorization URL as well as the ssh -L 3000:localhost:3000 Port forwarding instructions.

Service account method: Create a service account in the Google Cloud Console, generate a JSON key, add the service account email as a Search Console user with "Full" or "Restricted" permission, then set export GOOGLE_APPLICATION_CREDENTIALS="/path/to/key.json".

Use cases

Suitable for scenarios where an AI agent needs to automatically query, analyze, and answer questions about SEO, search performance, website traffic, and advertising revenue, for example:

  • Locating and attributing traffic declines
  • Keyword cannibalization detection
  • Quick-win keyword discovery (ranking positions 8–15, high impressions)
  • Page SEO audits and click-through rate analysis
  • Health checks for branded and non-branded keywords
  • Comparison of Google and Bing performance
  • URL indexing submission
  • Revenue report sorting and custom date range analysis

Limitations

  • GenAI Query Insights is custom heuristic logic, not official API data; Google and Bing do not provide GenAI citation data interfaces.
  • AdSense supports only user OAuth, not service accounts; enabling AdSense requires separate approval for the adsense.readonly OAuth scope.
  • Credentials are stored with machine encryption (OS keychain preferred, AES-256-GCM as fallback) and are available only on authorized machines; only refresh_token and expiry_dateare persisted.
  • Specific supported platforms, billing purposes, or pricing information are not yet provided.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools