1. Conduid
  2. Blockchain
  3. io.github.mharnett/google-gsc
MCP server · Blockchain

io.github.mharnett/google-gsc

Google Search Console MCP: search analytics, URL inspection, site management.

Unclaimed blockchain
37Low

Scored 6 months ago · breakdown

About io.github.mharnett/google-gsc

io.github.mharnett/google-gsc is an MCP server published by mharnett in the Blockchain category: google Search Console MCP: search analytics, URL inspection, site management.

The repository has 2 stars and 0 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add io-github-mharnett-google-gsc -- npx -y mcp-google-gsc
npx
npx -y mcp-google-gsc

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 (4)

gsc_get_client_contextDetect the GSC property from your working directory based on config mapping

Parameters not published.

gsc_inspectionInspect a URL for indexing status, mobile usability, and rich results

Parameters not published.

gsc_list_sitesList all verified Search Console properties accessible to the authenticated account

Parameters not published.

gsc_search_analyticsQuery search performance data (clicks, impressions, CTR, position) with dimension and filter support

Parameters not published.

Ask AI

✦

Ask AI about io.github.mharnett/google-gsc

Powered by Claude · Grounded in docs

I know everything about io.github.mharnett/google-gsc. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-google-gsc

MCP server for Google Search Console -- search analytics, URL inspection, and site management via Claude.

Features

  • Search Analytics -- Query clicks, impressions, CTR, and position with flexible dimension filters (query, page, device, country, date)
  • URL Inspection -- Check indexing status, mobile usability, and rich results for any URL
  • Site Listing -- List all verified Search Console properties accessible to your service account
  • Multi-Client Support -- Manage multiple GSC properties with per-directory config mapping

Installation

From npm

npm install mcp-google-gsc

From source

git clone https://github.com/mharnett/mcp-search-console.git
cd mcp-google-gsc
npm install
npm run build

Configuration

Security: Never share your .mcp.json file or commit it to git -- it may contain API credentials. Add .mcp.json to your .gitignore.

Service Account Setup

  1. Create a Google Cloud service account with Search Console API access
  2. Download the JSON key file
  3. Add the service account email as a user in Google Search Console for each property

Config File

Create a config.json in the project root (see config.example.json for the full structure):

{
  "default_credentials": "/path/to/service-account-key.json",
  "clients": {
    "my-project": {
      "site_url": "sc-domain:example.com",
      "credentials": "/path/to/service-account-key.json"
    }
  }
}

Environment Variable

Alternatively, set GOOGLE_APPLICATION_CREDENTIALS to the path of your service account key file. The config file takes precedence when present.

Usage

Add to your Claude Code .mcp.json:

{
  "mcpServers": {
    "gsc": {
      "command": "node",
      "args": ["/path/to/mcp-gsc/dist/index.js"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "gsc": {
      "command": "npx",
      "args": ["mcp-google-gsc"]
    }
  }
}

Claude Desktop: Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).

Tools

Tool Description
gsc_get_client_context Detect the GSC property from your working directory based on config mapping
gsc_list_sites List all verified Search Console properties accessible to the service account
gsc_search_analytics Query search performance data (clicks, impressions, CTR, position) with dimension and filter support
gsc_inspection Inspect a URL for indexing status, mobile usability, and rich results

gsc_search_analytics

Supports dimensions: query, page, device, country, date. Filter by any dimension with operators like equals, contains, notContains. Date range defaults to the last 28 days.

gsc_inspection

Returns index coverage, crawl status, mobile usability verdict, and rich result details for a specific URL within a property.

Architecture

  • Resilience -- Uses cockatiel for retry with exponential backoff and circuit breaker patterns on all Google API calls
  • Logging -- Structured logging via pino with configurable log levels
  • Response Handling -- Responses truncated at 200KB to stay within MCP transport limits

License

MIT -- see LICENSE.


Built by Mark Harnett / drak-marketing

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

Questions

About io.github.mharnett/google-gsc

How do I install io.github.mharnett/google-gsc?

Run claude mcp add io-github-mharnett-google-gsc -- npx -y mcp-google-gsc, then add the server to your MCP client's configuration.

Is io.github.mharnett/google-gsc 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 io.github.mharnett/google-gsc still maintained?

Yes — the last commit was a month ago. The repository has 2 stars and 0 forks.