Google Search Console MCP
OAuth-protected Google Search Console MCP for analytics, URL inspection, sitemap management, indexing requests, and SEO diagnostics. Open-source Cloudflare Workers implementation with 17 tools.
README
mcp-gsc
<!-- Logo (referenced by the Cline/Glama submissions): add assets/logo.png (400x400), then uncomment: <img src="assets/logo.png" alt="mcp-gsc logo" width="120" align="right"> -->
Connect in 30 seconds
Every deployed instance exposes the same endpoint shape:
https://<your-worker>.workers.dev/mcp
Claude Code
claude mcp add --transport http gsc https://<your-worker>.workers.dev/mcp
Cursor
<!-- The config param is base64 of {"url":"https://REPLACE-ME.workers.dev/mcp"}.
When the canonical hosted URL replaces the placeholder, regenerate it with:
node -e "console.log(Buffer.from(JSON.stringify({url:'https://<real-host>/mcp'})).toString('base64'))" -->
ChatGPT — add it as a custom connector; see Connect in your AI client below.
A self-hostable Model Context Protocol (MCP) server for Google Search Console. Connect it to Claude.ai, Cursor, ChatGPT, or any MCP-compatible client and ask your AI assistant about your site's organic search performance — impressions, clicks, top queries, index status, and sitemap health — straight from your own Google account.
It runs on Cloudflare Workers and ships with one-click Google OAuth onboarding: connect the server in your client, sign in with Google once, grant the requested Google Search Console permissions, and you're done. No API keys to copy around and no service-account JSON to manage.
Prefer zero setup? The hosted version — with automatic weekly email digests delivered to your inbox — is at digestseo.com. This repository is the open-source core you can run yourself.
Tools
This server exposes 17 tools. Read-only analytics and reporting tools are marked with MCP's readOnlyHint; the write tools below can change Search Console properties, sitemaps, or indexing state.
| Tool | Access | What it does |
|---|---|---|
get_capabilities |
Read | List every tool this server exposes and report whether your Google connection is currently authenticated (connected / not_connected). Takes no arguments — a good first call for discovery. |
list_sites |
Read | List the Search Console properties the connected Google account can access (siteUrl, permissionLevel). |
query_search_analytics |
Read | Impressions, clicks, CTR, and average position over a date range, with dimensions, filters, pagination, and selectable search type. |
inspect_url |
Read | Google's URL Inspection report for a single page. |
list_sitemaps / get_sitemap |
Read | List submitted sitemaps or retrieve one sitemap's details. |
identify_quick_wins / detect_cannibalization / detect_content_decay |
Read | Surface optimization opportunities, competing pages, and declining content. |
list_indexed_pages / compare_performance |
Read | Analyze pages receiving impressions and compare two periods. |
weekly_digest |
Read | Generate a plain-language seven-day performance report with movers, top pages, and one recommended action. |
add_site / delete_site |
Write | Add or remove a Search Console property. |
submit_sitemap / delete_sitemap |
Write | Submit or remove a sitemap. |
request_indexing |
Write | Request indexing for an eligible URL through the Google Indexing API. |
The server requests Google Search Console and Indexing API scopes. Use a Google account with only the property access you intend to delegate, and review write-tool calls before approving them.
What you can ask
Once connected, ask your assistant things like:
- "What are my top 20 queries by clicks in the last 28 days?"
- "Compare impressions for example.com this month vs last month — which pages dropped?"
- "Is
https://example.com/pricingindexed? When was it last crawled?" - "Which queries does my blog rank position 5–15 for? Those are my quick wins."
- "Give me a weekly digest for
sc-domain:example.comending today." - "Do any of my sitemaps have errors or warnings?"
- "Split my clicks into brand vs non-brand using a regex on the query."
- "How is my site doing in Google Discover vs regular web search?"
Connect in your AI client
Once you've deployed the server (see SETUP.md), connect it by pasting your Worker's /mcp URL into your client:
https://<your-worker>.workers.dev/mcp
- Claude.ai — Settings → Connectors → Add custom connector → paste the
/mcpURL. Leave Client ID and Client Secret blank. On first use, Claude opens a Google sign-in flow; grant read access and the connector turns green. - Cursor — add it as a custom MCP server pointing at the same
/mcpURL. - ChatGPT (with connector/MCP support) — add a custom connector with the
/mcpURL.
Any MCP-compatible client works — they all point at the same /mcp endpoint and share the same OAuth flow.
Setup
Self-hosting means bringing your own Google OAuth credentials and Cloudflare account. The full, copy-pasteable walkthrough is in SETUP.md — including an important note about Google's OAuth verification and the 7-day refresh-token limit while your app is unverified.
Quick shape:
git clone https://github.com/<you>/mcp-gsc.git
cd mcp-gsc
npm install
cp wrangler.example.jsonc wrangler.jsonc # then paste in your KV ids
# set GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET / TOKEN_ENCRYPTION_KEY as secrets
npm run deploy
See SETUP.md for every step in detail.
Development
npm install
npm test # typecheck + offline unit tests (what CI runs)
npm run dev # wrangler dev (local)
npm run test:smoke # structural smoke tests against a deployment
Contributions welcome — see CONTRIBUTING.md.
License
MIT © 2026 DigestSEO.
Built and maintained by Tomi Šeregi, the builder behind digestseo.com — weekly SEO digests for non-technical site owners.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。