loading…
Search for a command to run...
loading…
An MCP server that integrates Google Search Console and Google Analytics 4 to provide unified SEO and web traffic analysis. It allows users to fetch search perf
An MCP server that integrates Google Search Console and Google Analytics 4 to provide unified SEO and web traffic analysis. It allows users to fetch search performance data, merge page metrics, and generate automated trend reports or actionable insights through tool calls.
MCP server for Google Search Console (GSC) + Google Analytics 4 (GA4).
.venv Means.venv is this project's private Python environment.run-local.sh activates .venv so the MCP server runs with the correct package versions.stdio Meansstdio means the MCP client and server communicate through standard input/output streams.run-local.sh, sends tool requests in, and reads JSON responses out.run-local.sh as a stdio server process.run-local.sh prepares .venv, installs dependencies, loads config/.env, and validates config/service-account.json.seo-analytics-mcp) receives tool calls, fetches data from GSC/GA4 using the service account, and computes merged analysis outputs.config/.env and config/service-account.json, then register that machine's run-local.sh path in the MCP client.cp config/.env.example config/.env
cp config/service-account.example.json config/service-account.json
config/.envDEFAULT_GSC_SITE_URL (required format: sc-domain:example.com)DEFAULT_GA4_PROPERTY_IDconfig/service-account.jsonREPLACE_WITH_... fields with real Google service-account values../run-local.sh
The script creates/uses .venv, installs dependencies, loads config/.env, validates credentials, and starts seo-analytics-mcp over stdio.
Use the local launcher script as the MCP server command:
/absolute/path/to/analytics/run-local.sh
Add server:
codex mcp add seo-analytics -- /absolute/path/to/analytics/run-local.sh
Verify:
codex mcp list
Remove:
codex mcp remove seo-analytics
Add server:
claude mcp add -s project seo-analytics -- /absolute/path/to/analytics/run-local.sh
Verify:
claude mcp list
Remove:
claude mcp remove seo-analytics
~/Library/Application Support/Claude/claude_desktop_config.json.mcpServers if present):{
"mcpServers": {
"seo-analytics": {
"type": "stdio",
"command": "/absolute/path/to/analytics/run-local.sh",
"args": []
}
}
}
capabilities to confirm connection.capabilitiesgsc_list_sitesgsc_top_pagesgsc_top_queriesga4_landing_pagesanalytics_merge_page_metricsanalytics_generate_action_itemsanalytics_trend_reportanalytics_data_quality_reportThese screenshots are example outputs produced by using Claude Code with this MCP server. The MCP provides the underlying GSC/GA4 data and analytics tools; dashboard rendering is not generated by default by the server itself. For privacy reasons, values shown in the screenshots are randomized; the actual workflow was executed against real data.

service-account.json still contains placeholder valuesREPLACE_WITH_... fields in config/service-account.json.No such file or directory: .../credentials/service-account.jsonrun-local.sh and uses config/service-account.json.Operation not permitted when Claude Desktop starts MCP~/Documents).System Settings -> Privacy & Security (Files and Folders and/or Full Disk Access) or move the repo to a non-protected path like ~/dev/analytics.Missing property_id and DEFAULT_GA4_PROPERTY_ID is not setDEFAULT_GA4_PROPERTY_ID in config/.env.Missing site_url...DEFAULT_GSC_SITE_URL in config/.env.https://... propertysc-domain:<domain> format to avoid URL-prefix mismatch issues.config/service-account.json or config/.env.config/service-account.example.jsonconfig/.env.exampleДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"seo-analytics-mcp": {
"command": "npx",
"args": []
}
}
}