Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Google Gsc

by mharnettversion 1.0.1i★ –iRuns on your computer
Registry nameio.github.mharnett/google-gsc

Install

Overview

Description from the maker (original English)

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

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Marketing & social media
  • You need to fill in: GOOGLE_APPLICATION_CREDENTIALS

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: GOOGLE_APPLICATION_CREDENTIALS

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "google-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add google-gsc --env GOOGLE_APPLICATION_CREDENTIALS=your-value -- npx -y mcp-google-gsc

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-gsc": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "google-gsc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-google-gsc"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • GOOGLE_APPLICATION_CREDENTIALS required env
    Path to service account JSON credentials file

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 7, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account mharnett, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Marketing & social mediai

  • More stars than 0% of the other 3566 servers in this category
  • Published to the registry more recently than 5% of the other 3566 servers in this category
  • Basic checks equal to or better than 100% of the other 3566 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Google Gsc safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: GOOGLE_APPLICATION_CREDENTIALS

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.0.1) reached the registry 7 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

An MCP server retrieving transcripts of YouTube videos

Runs on your computer★ 495MITUpdated 10 days ago
Install

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

Runs on your computer★ 244MITUpdated 10 days ago
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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 authenticated account (OAuth user or 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.

mcp-gsc supports two authentication modes. Pick whichever fits your setup. Neither requires any file living at a hardcoded machine-local path -- credentials come from environment variables (or a config.json you create).

Which mode to use:

  • Service Account (Mode B) -- recommended for unattended / server / headless use. A service account has no interactive login to expire or re-consent, so it is the right fit for always-on deployments. The one setup requirement is that the service account's email must be granted access on each Search Console property you want to query (see Mode B).
  • User OAuth (Mode A) -- for personal / interactive use, where you want to authorize with your own Google login.

Precedence when both are configured: if a service-account keyfile is explicitly set (GOOGLE_APPLICATION_CREDENTIALS, or credentials_file in config.json), it wins over any OAuth refresh token or stored OAuth credentials. If neither is configured, the server fails loudly at startup with an onboarding message rather than silently guessing -- there is no machine-local default and no silent runtime failover between modes.

Mode A: User OAuth (bring your own Google account)

Use this if you want to authorize with your own Google login (the account that has Search Console access). Best for personal / interactive use.

  1. In the Google Cloud Console, create an OAuth 2.0 Client ID of type Desktop app and enable the Search Console API. (For a Desktop-app client, Google accepts any http://localhost loopback redirect -- you do not need to pre-register a port.)
  2. Export your client credentials:
   export GOOGLE_GSC_CLIENT_ID=...apps.googleusercontent.com

export GOOGLE_GSC_CLIENT_SECRET=...

3. Mint a refresh token (opens your browser, uses PKCE + `access_type=offline`):
   node get-refresh-token.cjs

Do not redirect this command's stdout to a shared log -- it prints the refresh token to stdout by design.

  1. Copy the printed line into your environment:
   export GOOGLE_GSC_REFRESH_TOKEN=...

The server reads GOOGLE_GSC_CLIENT_ID, GOOGLE_GSC_CLIENT_SECRET, and GOOGLE_GSC_REFRESH_TOKEN from the environment at runtime.

Alternatively, run the guided helper npx mcp-gsc-auth, which performs the same PKCE OAuth flow, lets you pick a default Search Console property, and writes the result to a per-user credentials file.

Mode B: Service Account (recommended for unattended / server use)

Use this for server / headless / always-on contexts -- it is the recommended path when no human is present to complete or refresh an interactive login.

  1. Create a Google Cloud service account with Search Console API access and download its JSON key file.
  2. Grant the service account's email access on each Search Console property you want to query (add it as a user in Search Console). Without this grant on the property, the service account can authenticate but will see no sites.
  3. Point the server at the key file via an environment variable (no hardcoded path):
   export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/service-account-key.json
OAuth scope

Both modes request a single, read-only scope: https://www.googleapis.com/auth/webmasters.readonly. All four tools are reads -- nothing writes -- so the server never asks for read/write access.

The scope is defined once in config.json under oauth.scope (see config.example.json). The OAuth helper and the runtime read the same value, so they never drift. If config.json is absent (e.g. a fresh install), the committed read-only default is used.

Multi-client config (optional)

To map working directories to Search Console properties, create a config.json in the project root (see config.example.json):

{

"oauth": { "scope": "https://www.googleapis.com/auth/webmasters.readonly" }, "clients": { "my-project": { "name": "My Project", "folder": "/path/to/project", "site_url": "https://example.com/" } } }

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

ToolDescription
gsc_get_client_contextDetect the GSC property from your working directory based on config mapping
gsc_list_sitesList all verified Search Console properties accessible to the authenticated account
gsc_search_analyticsQuery search performance data (clicks, impressions, CTR, position) with dimension and filter support
gsc_inspectionInspect 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

Ask PopNx