
Google Search Console
com.getmcpads由 getmcpads.com 發布v2.1.2更新於 Nov 8, 2026
Google Search Console MCP server: 20 read tools, no write tools.
概覽
唯讀的 Google Search Console MCP 伺服器,提供 20 個工具,用於搜尋成效分析、索引、網站地圖與 SEO 分析。
- 可以做什麼
- 列出並檢視資源、權限層級與憑證健康狀態
- 查詢 Search Analytics,並在執行前驗證指標、維度與搜尋類型的組合
- 檢查單一或多個網址的索引狀態、檢索資訊、行動裝置可用性與複合式搜尋結果
- 列出網站地圖、讀取網站地圖健康狀態並追蹤網站地圖變化
- 執行 SEO 分析:兩個期間的得失比較、查詢分群、關鍵字互相競爭、搜尋類型比較、複合式結果趨勢、索引監控清單與大型網站取樣計畫
- 讀取內建資源,了解指標、維度、篩選器、相容性規則與工作流程範例
- 適用情境
- 適合讓助理調查自有網站的自然搜尋成效、索引問題與網站地圖健康狀態,並回答以變化為主的問題,例如兩個期間之間哪些查詢或網頁出現下滑,同時不給予寫入權限。
- 執行需求
- 透過 npm 套件 @getmcpads/google-search-console-mcp-server 以 stdio 在本機執行,需要 Node.js 22.23.4、24.22.1 或 26.12.1(或這些版本線中更新的版本)以及支援 stdio 的 MCP 用戶端。需要已啟用 Search Console API 的 Google Cloud OAuth 用戶端所提供的 GSC_CLIENT_ID、GSC_CLIENT_SECRET 與 GSC_REFRESH_TOKEN,或改用短期有效的 GSC_ACCESS_TOKEN。可選 GSC_SITE_URL 與 GSC_SITE_URLS。需要連線至 Google API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Google Search Console,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Google Search Console MCP server
Bring your search performance into the conversation.
Investigate queries, pages, indexing and sitemaps through a read-only MCP server.
[Release] [CI] [Smithery] [License: Apache 2.0] [Node]
Watch the film · What's new · Install · Tool reference · Try hosted getmcpads
[Watch the getmcpads film: every ad account in one conversation with your AI assistant]
The film shows hosted getmcpads with sample data. Its MCP Apps, from creative galleries and alerts to Google Sheets exports and bulk launches, belong to the hosted product. This repository provides the standalone native API tools.
20 read tools · Read-only by design.
Run locally with your own platform credentials and a client that supports stdio MCP, such as Claude Desktop, Claude Code or Cursor. Your requests go directly to the platform. For managed connections, including supported ChatGPT setups, use the hosted option.
What's new
v2.1.1: Zod 4 security update · October 26, 2026
- Update
zodto 4.6.7. Every Zod release before 4.6.6 is covered by the high-severity advisory GHSA-mrhx-c7xc-m3w5: validating an oversized constrained collection can exhaust memory, and no Zod 3 release carries the fix.npm audit --omit=devreports no vulnerability again. - Keep the Zod 3 validation behaviour. A parameter default is still validated and completed before use, so an omitted object must still supply its required fields.
- Keep each parameter's own description when the parameter is optional or has a default. Zod 4 stores a description on the wrapped schema only, so the shared fallback description could otherwise replace it.
- Tool names, parameters and descriptions published over MCP are unchanged.
server-card.jsonis regenerated with Zod 4's JSON Schema output, which spells some constraints differently.
Earlier releases
Source synchronization: SOURCE_SYNC.md.
Upgrade notes
Requires Node.js 22.23.4, 24.22.1 or 26.12.1, or a newer release of one of these lines. Older releases lack the October 2026 security fixes, and the server prints a warning on stderr when it starts on one. CI covers Node 22, 24 and 26.
This release makes no breaking change to the configuration. One change is announced for 3.0.0: GSC_SITE_URLS is optional in 2.x and becomes required. When set, every tool is limited to the listed properties, and GSC_SITE_URL must be one of them. When unset, the server starts as before and prints one line on stderr recommending it. The 20 tools, their schemas and the bounded reporting limits are unchanged.
Install this release
This is a GitHub source release. npm and MCP Registry versions are published separately. The commands below select this exact version; unpinned npx examples later in this document select the version currently available on npm.
Configure your MCP client to run node with the absolute path to dist/cli.js and the platform credentials documented below.
Prefer a managed connection? Use Google Search Console with hosted getmcpads. Connect your account, select the data your assistant may access and use the hosted MCP connection. See the site for current features and plans.
What you get
What it does beyond fetching rows
Search Console answers questions about rows. Most real questions are about change: which queries did we lose, which pages compete for the same term, is indexing drifting.
These tools do that work rather than leaving it to the model:
One thing to know before you trust a number
Search Console returns a top N, not a site total.
When you query with a dimension such as query or page, the API returns the highest
ranked rows up to your row limit, ordered by clicks. Summing the clicks of those rows does
not give you the site total: the long tail is missing, and on a large site it can be most
of the traffic.
To get a real total, query without dimensions. To compare periods, compare like with like: same dimensions, same row limit, same search type.
gsc_query_search_analytics reports what it actually returned, and gsc_validate_query
checks a combination before it runs. But the arithmetic mistake is yours to avoid, and it is
the most common one in Search Console analysis.
Two other limits worth carrying in your head:
- Roughly 16 months of history. Anything older is gone, not slow.
- Data settles over about three days.
gsc_get_data_freshnesstells you what is final.
Read-only, and why it stays that way
There are no write tools, and no environment variable that adds any. The Search Console API can submit and delete sitemaps, add and remove properties, and request indexing. This server exposes none of that.
The scope it asks for reflects that: webmasters.readonly, not webmasters. Even if the
model tried, the token cannot write.
Our ad platform servers, where writes make sense, do have them, guarded by a mandatory preview: Meta Ads · Google Ads · TikTok Ads
The hosted version at getmcpads.com keeps the same rule: Search Console stays read-only there too.
Getting credentials
Three values, obtained once.
1. OAuth client
In a Google Cloud project, enable the Google Search Console API, then create an OAuth client under APIs & Services → Credentials. Choose Desktop app for local use. Note the client ID and client secret.
2. Refresh token
Run the OAuth consent flow once, signed in as a Google account that owns or can read your
properties, and keep the refresh token. Request webmasters.readonly and nothing more.
📖 Google OAuth for installed apps
The refresh token does not expire. Use an OAuth client dedicated to this server so you can revoke it on its own.
For a quick trial you can set GSC_ACCESS_TOKEN to a short-lived token instead, but it
expires within the hour and is useless for daily work.
If setting up an OAuth client is more than you want to do for one property, getmcpads.com handles the consent flow for you and gives you the same tools behind a hosted endpoint.
3. Site URL, optional
Set GSC_SITE_URL to avoid passing it on every call. Both property forms work:
List what you can reach with gsc_list_sites, and run gsc_health_check as your first
call. It verifies the credentials without printing any secret.
Setup
Claude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. Ask it: "which queries did we lose last month?".
Claude Code
Cursor
.cursor/mcp.json in your project, same shape as the Claude Desktop config above.
From source
Configuration
Either the three OAuth values, or GSC_ACCESS_TOKEN. The server refuses to start with neither.
Tools
Every tool is listed below. See server-card.json for complete parameter and output schemas.
20 read tools
7 resources
Security
- The client secret and refresh token are never logged, at any log level, or written to disk.
- A revoked refresh token is reported once. When Google answers
invalid_grant, every later call returns the same message with the steps to authorize again, and the server stops asking Google for a token until it restarts. - Properties can be limited. With
GSC_SITE_URLSset, a call naming another property is refused before any request, andgsc_list_siteslists only the allowed properties. - Three hosts are contacted, and only three:
searchconsole.googleapis.comandwww.googleapis.comfor the API,oauth2.googleapis.comfor the token refresh. A test fails the build if a fourth host appears in the source. - No fetch follows a redirect. Every outbound call sets
redirect: "error", so a redirect cannot forward a bearer token or client secret to another host. A test fails the build if any fetch omits this. - The scope is
webmasters.readonly. The token itself cannot write. - No telemetry. The server makes no network call other than to Google.
Full policy: SECURITY.md.
Looking for a managed, multi-platform version?
Try hosted Search Console if you want to use this source without operating a local server. getmcpads also connects advertising, Search Console and GA4 through one MCP URL. Source availability and plan limits are listed on the site; connecting an account is still required.
- Follow the Search Console connection guide.
- Select the account or property your assistant may read.
- Connect Claude, ChatGPT or Codex.
- Try a read-only review: “Find which pages and queries account for a change in organic clicks. State missing data and do not change anything.”
See the current hosted tool catalogue and pricing before choosing a paid plan. This Apache 2.0 adapter remains independently useful with your own credentials.
Contributing
Issues and pull requests are welcome. See CONTRIBUTING.md. Please read SECURITY.md before reporting anything security-related.
Licence
Apache License 2.0. See also NOTICE.
Google and Google Search Console are trademarks of Google LLC. This project is not affiliated with, endorsed by, or sponsored by Google LLC. It is an independent client of a public API.
MCP contracts and desktop bundle
Every tool declares read/write annotations, parameter descriptions and a structured output schema. Successful calls expose the payload as structuredContent.result; errors retain isError: true. The generated server card contains definitions only.
Run npm run bundle -- /path/to/output to build a .mcpb desktop bundle from the current catalog. Credentials are entered locally during installation. This server remains read-only.
More from getmcpads
Meta Ads · Google Ads · Google Analytics 4 · TikTok Ads · Pinterest Ads · X Ads
Maintained by Emmanuel at getmcpads. Questions: [email protected].
來源:README.md,提交 9c7df6a
工具
0版本歷史
4- v2.1.1Oct 26, 2026
- v2.1.0Oct 23, 2026
- v2.0.1Sep 23, 2026
- v1.0.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分