Google Webtools MCP — Claude Code MCP server: features and setup
This MCP server connects an AI agent to Google Search Console and GA4 for search analysis, URL indexing checks, and analytics reports.
claude mcp add --env GOOGLE_SERVICE_ACCOUNT_KEY=<GOOGLE_SERVICE_ACCOUNT_KEY> --transport stdio google-webtools-mcp -- docker run -i --rm -e GOOGLE_SERVICE_ACCOUNT_KEY ghcr.io/stufently/google-webtools-mcp:1.2.2What Google Webtools MCP does
Google Webtools MCP gives an agent access to Google Search Console and GA4. It can inspect properties and sitemaps, analyze queries and pages, check URL indexing, and retrieve GA4 reports. Responses include summaries and data, with recommendations and limitations added for some tools.
The available tools cover click opportunities, traffic declines, and a weekly SEO report. A local analysis layer evaluates CTR against position, detects trends, and groups queries by intent. The supplied launch commands use Docker and require a GOOGLE_SERVICE_ACCOUNT_KEY value.
Some tools write changes, including creating a GA4 property or data stream. Review those actions before running them, since they alter configuration.
What it helps with
- compare search metrics across two date ranges
- spot pages with CTR below the position benchmark
- check URL indexing and canonical problems
- find queries where multiple site pages compete
- generate a weekly SEO report with prioritized actions
Example prompts for the agent
- Compare search performance across two date ranges and describe the changes.
- Check indexing for these URLs and report any canonical problems.
- Prepare a weekly SEO report with trends and priority actions.
How to install Google Webtools MCP
Platform CLI
claude mcp add --env GOOGLE_SERVICE_ACCOUNT_KEY=<GOOGLE_SERVICE_ACCOUNT_KEY> --transport stdio google-webtools-mcp -- docker run -i --rm -e GOOGLE_SERVICE_ACCOUNT_KEY ghcr.io/stufently/google-webtools-mcp:1.2.2Replace <…> with your own values
Platform CLI
codex mcp add google-webtools-mcp --env GOOGLE_SERVICE_ACCOUNT_KEY=<GOOGLE_SERVICE_ACCOUNT_KEY> -- docker run -i --rm -e GOOGLE_SERVICE_ACCOUNT_KEY ghcr.io/stufently/google-webtools-mcp:1.2.2Replace <…> with your own values
Config file
{
"mcpServers": {
"google-webtools-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_SERVICE_ACCOUNT_KEY",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "<GOOGLE_SERVICE_ACCOUNT_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"google-webtools-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GOOGLE_SERVICE_ACCOUNT_KEY",
"ghcr.io/stufently/google-webtools-mcp:1.2.2"
],
"env": {
"GOOGLE_SERVICE_ACCOUNT_KEY": "<GOOGLE_SERVICE_ACCOUNT_KEY>"
}
}
}
}Replace <…> with your own values
Platform CLI
gemini mcp add -e GOOGLE_SERVICE_ACCOUNT_KEY=<GOOGLE_SERVICE_ACCOUNT_KEY> google-webtools-mcp docker run -i --rm -e GOOGLE_SERVICE_ACCOUNT_KEY ghcr.io/stufently/google-webtools-mcp:1.2.2Replace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Google Webtools MCP
How do I install Google Webtools MCP in Claude Code?
Run `claude mcp add --env GOOGLE_SERVICE_ACCOUNT_KEY=<GOOGLE_SERVICE_ACCOUNT_KEY> --transport stdio google-webtools-mcp -- docker run -i --rm -e GOOGLE_SERVICE_ACCOUNT_KEY ghcr.io/stufently/google-webtools-mcp:1.2.2`. Replace the placeholder with the service account key value.
What does Google Webtools MCP do?
It exposes tools for Google Search Console and GA4, including search analysis, indexing checks, and reporting. Some tools can also create GA4 properties and data streams.
What does Google Webtools MCP need to run?
The launch command uses Docker and the GOOGLE_SERVICE_ACCOUNT_KEY environment variable. The server works with Google Search Console, Google Analytics, and Site Verification APIs.