
Google Search Console
io.github.PixFrixSystems由 GitHub 帳號 PixFrixSystems 發布v0.1.0更新於 Nov 14, 2026
Google Search Console data and SEO analysis: performance, quick wins, indexing and sitemaps.
概覽
將 AI 助理連接到 Google Search Console,取得搜尋成效、索引與網站地圖資料,並附帶內建 SEO 分析。
- 可以做什麼
- 列出資源並取得成效總覽、自訂搜尋分析查詢、期間比較、流量異常與品牌流量拆分
- 找出優化機會:快速提升關鍵字、低點擊率頁面、關鍵字自我競爭、下滑頁面、內容缺口及單一 URL 分析
- 檢查索引與網站地圖:檢查單一或最多 50 個 URL、稽核網站地圖索引狀況、列出網站地圖
- 在明確開啟寫入後可提交或移除網站地圖
- 執行六個預設提示工作流程,例如每週 SEO 報告、流量下滑診斷與內容更新計畫
- 適用情境
- 適合對自己在 Search Console 中擁有的網站進行 SEO 工作:診斷流量變化、排出優先改善的關鍵字與頁面、檢查索引與網站地圖健康度。適合代理商、企業內部 SEO 或希望直接取得分析而非原始匯出的開發者。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js 22 或更新版本。需要可存取目標 Search Console 資源的 Google 帳號,並提供服務帳戶 JSON 金鑰(路徑放在 GSC_SERVICE_ACCOUNT_KEY,或金鑰本身放在 GSC_SERVICE_ACCOUNT_JSON),或使用 OAuth 桌面用戶端登入。需在 Google Cloud 中啟用 Google Search Console API,並需要連線至 Google API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Google Search Console,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Search Console MCP
An MCP server that connects Claude, Cursor and other AI assistants to Google Search Console.
It gives the assistant the raw data (search performance, URL inspection, sitemaps) and does the analysis on top: which keywords are one push from page one, which pages rank but are not clicked, which pages compete with each other, what lost traffic and why, and how much of your sitemap is indexed.
It runs on your machine, talks only to Google's API, and is read-only unless you switch writing on.
What you can ask
- "How did organic search do in the last 28 days compared with the month before?"
- "Which keywords are we close to ranking on page one for?"
- "Which pages rank in the top 10 but hardly get clicked? Suggest better titles."
- "Traffic dropped last week. What happened?"
- "Are any of our pages competing for the same keyword?"
- "Is https://example.com/pricing indexed? If not, why not?"
- "How much of our sitemap is indexed, and what is wrong with the rest?"
- "Pick the five blog posts most worth refreshing and write a brief for each."
What to use it for goes through each of these: what runs, what comes back and what to do with it.
Why this one
- It analyses, not only fetches. The opportunity tools return a ranked list of things to act on, with the numbers behind each.
- Estimates come from your own site. Expected click-through is measured on your data, not taken from a generic table.
- It says what the numbers do not show. Row caps, samples, hidden queries, incomplete days and empty comparison periods are stated in every result.
- Forgiving inputs. Say
example.comor paste a page URL. Leave out the dates and you get the last 28 complete days. - Read-only by default, with errors that tell you how to fix them and a
doctorcommand that checks the setup.
Quick start
You need Node.js 22 or newer and a Google account with access to the Search Console properties you want to use.
1. Get Google credentials
Both ways are free. The authentication guide has every click.
Service account: in Google Cloud enable the Google Search Console API, create a service account, download a JSON key, then in Search Console add the service account's email under Settings > Users and permissions for each property.
Your own account: in Google Cloud enable the Google Search Console API, create an OAuth client of type Desktop app, download its JSON, then run:
2. Add the server to your assistant
Claude Code
If you signed in with auth login, leave out the --env line.
Claude Desktop
Open Settings > Developer > Edit Config and add:
Restart Claude Desktop afterwards.
Cursor
Add to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
VS Code
Add to .vscode/mcp.json:
Any other MCP client
The server speaks MCP over stdio. Run npx -y @pixfrix/search-console-mcp as the command and pass the environment variables from Configuration.
On Windows, use forward slashes or doubled backslashes in JSON paths (C:/keys/gsc.json). If your client cannot start npx directly, use "command": "cmd" with "args": ["/c", "npx", "-y", "@pixfrix/search-console-mcp"].
3. Check that it works
If a step fails, doctor says what to change. Then ask your assistant: "List my Search Console properties."
Documentation
Tools
Performance
Opportunities
Indexing and sitemaps
Prompts
Clients that support MCP prompts (Claude Desktop and Claude Code show them as slash commands) get six ready-made workflows:
Configuration
Everything is set through environment variables. Only credentials are required.
Credentials are looked up in this order: GSC_SERVICE_ACCOUNT_JSON, GSC_SERVICE_ACCOUNT_KEY, GOOGLE_APPLICATION_CREDENTIALS, a saved auth login, then Google's Application Default Credentials.
Troubleshooting
Run doctor first: it tests credentials, sign-in, API access and property permissions in order and explains the first failure.
Privacy and security
- The server runs locally as a child process of your MCP client. It contacts
googleapis.com, and your own site whenaudit_sitemap_indexingreads a sitemap. There is no telemetry. - Credentials stay on your machine. A browser sign-in is stored as a refresh token in
GSC_CONFIG_DIR. Delete it withauth logout. - The default scope is read-only. Search data returned by the tools becomes part of your conversation with the AI assistant, under that assistant's own privacy terms.
See SECURITY.md to report a vulnerability.
Development
The tests run against a stand-in for Google's API, so they need no credentials. With credentials, npm run live-check -- --site example.com runs every read-only tool against a real property and checks that the numbers agree with each other.
Contributions are welcome. See CONTRIBUTING.md.
License
Built and maintained by PixFrix. This project is not affiliated with or endorsed by Google. Google Search Console is a trademark of Google LLC.
來源:README.md,提交 04a70ca
工具
0版本歷史
1- v0.1.0最新Nov 14, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分