Google Search Console MCP: search analytics, URL inspection, site management.
MCPpedia last refreshed this data
io.github.mharnett/google-gsc is an MCP server that google Search Console MCP: search analytics, URL inspection, site management. Its tool list has not been published yet over stdio and http, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"gsc": {
"args": [
"mcp-google-gsc"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Google Search Console MCP: search analytics, URL inspection, site management.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'mcp-google-gsc' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked mcp-google-gsc against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in analytics / marketing
Search Console, Google Analytics and keyword data for your AI agent.
DataForSEO API modelcontextprotocol server
Newsletters where you pay for the emails you send, not for dormant subscribers, at a fraction of the price of beehiiv and the like. Open source: self-host it, or use mailcheap.ai.
Ask your agent about your own Apple Health data: 194 metrics, 22 tools, local, 0 deps.
MCP Security Weekly
Get CVE alerts and security updates for io.github.mharnett/google-gsc and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for Google Search Console -- search analytics, URL inspection, and site management via Claude.
Claude Code, one line (replace the placeholder values with your own; see Configuration for how to get them):
claude mcp add --env GOOGLE_GSC_CLIENT_ID=YOUR_CLIENT_ID --env GOOGLE_GSC_CLIENT_SECRET=YOUR_CLIENT_SECRET --env GOOGLE_GSC_REFRESH_TOKEN=YOUR_REFRESH_TOKEN --transport stdio mcp-google-gsc -- npx -y mcp-google-gsc
The server is read-only: all four tools are reads and it only asks for the webmasters.readonly scope. For unattended use, set GOOGLE_APPLICATION_CREDENTIALS to a service-account key file instead (see Mode B).
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS), then fully quit and restart Claude Desktop:
{
"mcpServers": {
"mcp-google-gsc": {
"command": "npx",
"args": ["-y", "mcp-google-gsc"],
"env": {
"GOOGLE_GSC_CLIENT_ID": "YOUR_CLIENT_ID",
"GOOGLE_GSC_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"GOOGLE_GSC_REFRESH_TOKEN": "YOUR_REFRESH_TOKEN"
}
}
}
}
Add this to ~/.codex/config.toml:
[mcp_servers.mcp-google-gsc]
command = "npx"
args = ["-y", "mcp-google-gsc"]
[mcp_servers.mcp-google-gsc.env]
GOOGLE_GSC_CLIENT_ID = "YOUR_CLIENT_ID"
GOOGLE_GSC_CLIENT_SECRET = "YOUR_CLIENT_SECRET"
GOOGLE_GSC_REFRESH_TOKEN = "YOUR_REFRESH_TOKEN"
npm install mcp-google-gsc
git clone https://github.com/mharnett/mcp-search-console.git
cd mcp-google-gsc
npm install
npm run build
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:
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.
Use this if you want to authorize with your own Google login (the account that has Search Console access). Best for personal / interactive use.