Google Search Console MCP CLI
MCP server by thenavidm Verified · npm:@thenavidm
Gives AI agents read and write access to Google Search Console data, including queries, pages, rankings, indexing and sitemaps. It works as an MCP server for Claude Code, Claude Desktop, Cursor and Codex, and as a CLI with the same 19 tools.
Install Google Search Console MCP CLI
Built from the published package, never by AI.
claude mcp add google-search-console-mcp-cli -- npx -y @thenavidm/google-search-console-mcp-cliRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Google Search Console MCP CLI in Claude Code
{
"mcpServers": {
"google-search-console-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-search-console-mcp-cli"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Google Search Console MCP CLI in Claude Desktop
{
"mcpServers": {
"google-search-console-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-search-console-mcp-cli"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
Step-by-step: install Google Search Console MCP CLI in Cursor
{
"servers": {
"google-search-console-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-search-console-mcp-cli"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
Step-by-step: install Google Search Console MCP CLI in VS Code
codex mcp add google-search-console-mcp-cli -- npx -y @thenavidm/google-search-console-mcp-cliStep-by-step: install Google Search Console MCP CLI in Codex
{
"mcpServers": {
"google-search-console-mcp-cli": {
"args": [
"-y",
"@thenavidm/google-search-console-mcp-cli"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Google Search Console MCP CLI in Antigravity CLI
gemini mcp add google-search-console-mcp-cli npx -y @thenavidm/google-search-console-mcp-cliGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install Google Search Console MCP CLI in Gemini CLI
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-search-console-mcp-cli block.
About
Google Search Console MCP Server & CLI connects AI assistants to what Google Search has recorded about your sites. It covers search analytics such as queries, pages, impressions and rankings, plus URL inspection, indexing, sitemaps and property verification. The project is built on Slipway, which generates both the MCP server and the CLI from one definition of each tool, so the two surfaces expose the same tools under the same names.
You install it with npx on Node 22 or newer. You also need a Google credential, set up through a Google Cloud project with an OAuth client ID and secret or a service account. The source says it is for people who manage Search Console properties and want an agent or a script to answer questions about them, such as which queries lost clicks or which pages are not indexed.
Written from the project's README and checked against it.
Tools it gives your assistant
list-sitesLists the exact property strings for your Search Console sites.top-queriesReturns the top search queries for a site, with a limit option.striking-distanceFinds queries a site ranks just off page one.top-pagesReturns the top pages for a site, with output that can be filtered to chosen fields.delete-sitemapRemoves a sitemap from a property. Requires explicit confirmation.loginSigns in with Google and saves a refresh token for later use.doctorChecks the connection and reports which properties it can see.schemaPrints the JSON Schema an MCP client receives for a given tool.
What you need
- Node.js 22 or newer
- A Google Cloud project with OAuth client ID and secret, or a service account
- A Google account with access to Search Console properties
Try asking
- Which queries lost the most clicks this month compared to last?
- Show me pages ranking between 5 and 20. Which are closest to page one?
- Which of my pages get impressions but almost no clicks?
Good to know
- Setting GSC_READ_ONLY=1 removes the 5 write tools, leaving 14.
- While the OAuth app is in Testing status, Google refresh tokens expire after 7 days. The source recommends publishing the app.
- Deleting a property or a sitemap needs an explicit confirmation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Google Search Console MCP CLI
All alternatives →World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.
Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.
Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.
OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.
Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.
Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
Google Search Console MCP CLI: common questions
Does it change my Search Console data?
It has 5 write tools, including deleting sitemaps. Setting GSC_READ_ONLY=1 turns those off, and deletions need an explicit confirmation.
Can I use it without an MCP client?
Yes. The same 19 tools are available as the google-search-console-cli command, which can run in a terminal, script or cron job.
Why did my connection stop working after a week?
The source says this happens when the OAuth app is in Testing status, because refresh tokens expire after 7 days. Publishing the app in Google Cloud avoids it.
How do I install Google Search Console MCP CLI?
In Claude Code run claude mcp add google-search-console-mcp-cli -- npx -y @thenavidm/google-search-console-mcp-cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Search Console MCP CLI the official server?
Google Search Console MCP CLI is published by npm:@thenavidm from its verified domain in the official MCP Registry.
Is Google Search Console MCP CLI free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Google Search Console MCP CLI safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Google Search Console MCP CLI?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Google Search Console MCP CLI work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
