Google Gsc MCP server
Google Search Console MCP: search analytics, URL inspection, site management.
1 stars
Reviews
Write oneNobody 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 postsRead from the package source without running it. The installed server may list more.
gsc_get_client_contextGet the current GSC client context based on working directory. Call this first to confirm which Search Console property you're working with.
gsc_inspectionInspect a URL to check if it is indexed in Google Search. Returns index status, mobile usability, and rich results data.
gsc_list_sitesList all verified sites/properties in Google Search Console.
gsc_search_analyticsQuery 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
- 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
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
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-gscFrom source
git clone https://github.com/mharnett/mcp-search-console.git
cd mcp-google-gsc
npm install
npm run buildConfiguration
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.
- 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.)
- Export your client credentials:
export GOOGLE_GSC_CLIENT_ID=...apps.googleusercontent.com
export GOOGLE_GSC_CLIENT_SECRET=...- Mint a refresh token (opens your browser, uses PKCE + access_type=offline):
node get-refresh-token.cjsDo not redirect this command's stdout to a shared log -- it prints the refresh token to stdout by design.
- 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.
SEO SkillFree Google Search Console MCP: your real GSC, Google Analytics and keyword data for AI agents.not reviewedEstablishedA
Google Ads + Meta Ads + SEO/GEO MCPGoogle Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AInot reviewedEstablishedA- Google Search ConsoleGoogle Search Console: SEO audits, performance queries, URL inspection, indexing checks.not reviewedGrowingB
- SEO Tools: Google Search ConsoleGoogle Search Console: Search Analytics, URL Inspection, sitemaps (read-only, OAuth/service acct).not reviewedGrowingB
- Google Search ConsoleGoogle Search Console MCP for analytics, indexing, sitemaps, and SEO diagnostics.not reviewedGrowingB