MCP.Market

Google Gsc MCP server

by mharnett·io.github.mharnett/google-gsc·v1.0.1·1 stars

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

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
New

1 stars

Reviews

Write one

Nobody has reviewed Google Gsc yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Google Gsc tools (4)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • gsc_get_client_context

    Get the current GSC client context based on working directory. Call this first to confirm which Search Console property you're working with.

  • gsc_inspection

    Inspect a URL to check if it is indexed in Google Search. Returns index status, mobile usability, and rich results data.

  • gsc_list_sites

    List all verified sites/properties in Google Search Console.

  • gsc_search_analytics

    Query Google Search Console search analytics data. Returns clicks, impressions, CTR, and position for queries, pages, devices, countries, or dates.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan11 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 19 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Google Gsc compares

Against every graded SEO MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 88% of 769 SEO servers
Tools
4
the typical SEO server has 6
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
1
more than 65% of 405 SEO servers

What its tools let an agent do: 4 read

Install Google Gsc in Claude Code, Cursor or VS Code

Runs npx -y mcp-google-gsc on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add google-gsc -- npx -y mcp-google-gsc
Add to Cursor

What the publisher says

From the Google Gsc repository's README, as published. We do not edit it. Read it on GitHub

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 (GOOGLEAPPLICATIONCREDENTIALS, or credentialsfile 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=...
  1. 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 GOOGLEGSCCLIENTID, GOOGLEGSCCLIENTSECRET, and GOOGLEGSCREFRESH_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.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Google Gsc: common questions

Is Google Gsc MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Google Gsc safety report
How do I install Google Gsc?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Google Gsc need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is Google Gsc maintained?
The last commit was 56 days ago (2026-09-09). The latest release is v1.0.1.
What can I use instead of Google Gsc?
Servers from other publishers that do the same job: SEO Skill MCP server, Google Ads + Meta Ads + SEO/GEO MCP server and Google Search Console MCP server.
How does Google Gsc compare with other SEO MCP servers?
safety score 92/100 (higher than 88% of 769 SEO servers); tools 4 (the typical SEO server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Google Gsc

Same job from other publishers: the closest match first, then the best rated.

More from mharnett →