1. Conduid
  2. Scraping
  3. Search Console
MCP server · Scraping

Search Console

Multi-account Google Search Console MCP: analytics, URL inspection, sitemaps across named accounts.

Unclaimed scraping
37Low

Scored yesterday · breakdown

About Search Console

Search Console is an MCP server in the Scraping category: multi-account Google Search Console MCP: analytics, URL inspection, sitemaps across named accounts.

Install

Claude Code
claude mcp add search-console -- npx -y mcp-search-console
npx
npx -y mcp-search-console
uvx
uvx mcp-search-console-multi
pip
pip install mcp-search-console-multi

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (8)

search_console_api_get_crawl_errorGet details of a specific crawl error.

Parameters not published.

search_console_api_get_sitemapGet details of a specific sitemap.

Parameters not published.

search_console_api_list_crawl_errorsList crawl errors.

Parameters not published.

search_console_api_list_sitemapsList all sitemaps for a property.

Parameters not published.

search_console_api_list_sitesLijst alle sites waarvoor de gebruiker toegang heeft.

Parameters not published.

search_console_api_mark_crawl_error_fixedMark a crawl error as fixed.

Parameters not published.

search_console_api_mobile_friendly_testRun a mobile-friendly test on a URL.

Parameters not published.

search_console_api_searchanalytics_queryGet search analytics data. Also supports hourly data via HOUR dimension and HOURLY_ALL dataState.

Parameters not published.

Ask AI

✦

Ask AI about Search Console

Powered by Claude · Grounded in docs

I know everything about Search Console. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Google Search Console MCP

A Model Context Protocol (MCP) server for managing Google Search Console properties, sitemaps, and search analytics.

Installation

npm install -g mcp-search-console

Or use directly via npx:

npx mcp-search-console

Requirements

  1. A Google Cloud project with the Search Console API enabled
  2. A service account with appropriate permissions for Search Console
  3. A credentials.json file for the service account

Configuration

Specify the path to your Google service account credentials. This can be done in two ways:

Option 1: Environment Variable

Set the GOOGLE_APPLICATION_CREDENTIALS variable:

export GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json

Option 2: .env File (optional)

Create a .env file with:

GOOGLE_APPLICATION_CREDENTIALS=path/to/credentials.json

Available Functions

The MCP provides the following Search Console functions:

Sites

  • search_console_api_list_sites – List all sites with access

Sitemaps

  • search_console_api_list_sitemaps – List all sitemaps for a property
  • search_console_api_get_sitemap – Details of a specific sitemap

Search Analytics

  • search_console_api_searchanalytics_query – Retrieve search analytics data
    • Also supports hourly data (from April 2025) via the HOUR dimension and HOURLY_ALL dataState

Example: Querying Hourly Data

To query hourly data, use the following parameters in your request:

{
  "tool": "search_console_api_searchanalytics_query",
  "parameters": {
    "siteUrl": "https://example.com",
    "requestBody": {
      "startDate": "2025-04-07",
      "endDate": "2025-04-07",
      "dataState": "HOURLY_ALL",
      "dimensions": ["HOUR"]
    }
  }
}

This returns results with timestamps per hour:

{
  "rows": [
    {
      "keys": ["2025-04-07T00:00:00-07:00"],
      "clicks": 17610,
      "impressions": 1571473,
      "ctr": 0.011206046810858348,
      "position": 10.073871456906991
    },
    {
      "keys": ["2025-04-07T01:00:00-07:00"],
      "clicks": 18250,
      "impressions": 1602341,
      "ctr": 0.011389563095440307,
      "position": 9.897654321098765
    }
    // ... more hours
  ]
}

You can also combine the HOUR dimension with other dimensions such as COUNTRY, DEVICE, etc.:

{
  "tool": "search_console_api_searchanalytics_query",
  "parameters": {
    "siteUrl": "https://example.com",
    "requestBody": {
      "startDate": "2025-04-07",
      "endDate": "2025-04-07",
      "dataState": "HOURLY_ALL",
      "dimensions": ["HOUR", "COUNTRY"]
    }
  }
}

Crawl Errors (Legacy)

  • search_console_api_list_crawl_errors – List crawl errors
  • search_console_api_get_crawl_error – Details of a specific crawl error
  • search_console_api_mark_crawl_error_fixed – Mark as fixed

Mobile Usability

  • search_console_api_mobile_friendly_test – Run a mobile-friendly test on a URL

Using with Claude

This MCP works with Claude or other MCP Clients. Create a claude-mcp-config.json with, for example:

{
  "mcpServers": {
    "google-search-console": {
      "command": "npx",
      "args": ["mcp-search-console"],
      "cwd": "/tmp",
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "/path/to/your/credentials.json"
      }
    }
  }
}

Replace /path/to/your/credentials.json with the actual path to your Google service account credentials file.

Important Notes for Claude Configuration

  1. The cwd parameter is important - it ensures the MCP runs in a clean directory
  2. No .env file is needed when using this configuration with Claude
  3. The NO_COLOR environment variable prevents color codes in the output, which can cause JSON parsing errors in Claude
  4. Upload the claude-mcp-config.json file to Claude when starting a new conversation

License

ISC

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Search Console

How do I install Search Console?

Run claude mcp add search-console -- npx -y mcp-search-console, then add the server to your MCP client's configuration.

Is Search Console safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Search Console still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.