
Searchdock Cli
io.github.xplormityaiv0.1.3更新於 Oct 11, 2026
Read-only Google Search Console analytics, URL inspection and sitemaps via SearchDock CLI.
概覽
讓助理以唯讀方式存取 Google Search Console:搜尋分析、網址檢查與網站地圖狀態。
- 功能
- 透過本機 stdio 伺服器提供五個唯讀 MCP 工具:searchdock_sites、searchdock_analytics、searchdock_sitemaps、searchdock_inspect 與 searchdock_report。分析資料涵蓋點擊、曝光、點擊率、平均排名,以及依查詢字詞、頁面、日期、裝置或國家/地區的細分,並可依品牌字詞篩選。網站地圖工具回報 Google 的處理狀態,檢查工具則回傳 Google 收錄的指定網址版本。報告可針對指定網址合併產生,並寫入新的 JSON 檔案。
- 適用情境
- 適合讓助理回答網站 Google 搜尋表現的問題、檢查特定網址是否被收錄,或在不開啟 Search Console 介面的情況下追蹤網站地圖處理情形。它是報告與檢查工具,不是完整的技術 SEO 稽核,也無法要求重新收錄或測試即時網址。
- 執行需求
- 以本機 stdio 程序執行;所有發行方式(包括 Python 啟動器)都需要 Node.js 22 或以上版本。存取 Google 需要你自己的 Google Cloud 專案、啟用 Search Console API,並提供桌面應用程式類型的 OAuth 用戶端 JSON,還需完成一次瀏覽器授權。未包含共用開發者憑證,也未宣告任何環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Searchdock Cli,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
SearchDock CLI — Google Search Console CLI
Read Google Search Console analytics, inspect indexed URLs, and monitor sitemaps from your terminal or AI agent.
SearchDock is open source, runs locally, and requests read-only Google access. Use the same core through npm, Python, MCP, a Codex or Claude Code plugin, or a standalone agent skill. Bing Webmaster Tools support is planned.
Set up with your agent
Copy this prompt into your coding agent:
Installation commands
Node.js 22 or later is required for every distribution.
The Python package is a launcher containing the exact same JavaScript runtime. It has no separate Google implementation. If you install both packages, use python -m searchdock_cli to select the Python launcher explicitly.
Install both skills for Codex in the current project:
Replace codex with claude-code, cursor, opencode, or your supported agent. Add --global only for installation across projects. Skills do not install the CLI or authorize Google access. Plugin, MCP and manual setup.
To run from source:
Connect Google Search Console
Create a Google OAuth Desktop app client in your own Google Cloud project, enable the Search Console API, and download the client JSON. See Google setup for the steps and testing-mode limits. No shared developer credentials are included.
Google opens a local browser consent flow. SearchDock uses PKCE, validates the callback state, and listens only on 127.0.0.1. It requests webmasters.readonly and keeps the refresh token in your operating system's per-user configuration directory, outside this repository. Credentials are stored as permission-protected local JSON, not encrypted by SearchDock. See privacy.
Commands
--json writes machine-readable results to stdout and errors to stderr with a nonzero exit status. --output saves JSON to a new file and refuses to overwrite an existing one. Keep private reports out of Git yourself. CSV is not yet supported. For URLs containing commas, use the MCP urls array or the JavaScript API for batch inspection.
Report windows default to 28 days ending three days before today in Pacific Time, to allow for Search Console processing. You can specify exact dates. Finalized data may still lag. Pagination supports up to 100,000 requested rows, but Google's API returns top rows and omits some anonymized query data. Missing rows do not prove zero demand; zero impressions make average position meaningless.
AI agents and MCP
SearchDock provides five read-only MCP tools: searchdock_sites, searchdock_analytics, searchdock_sitemaps, searchdock_inspect, and searchdock_report. Authenticate locally first; MCP tools do not start consent or change account settings.
Add this stdio server to any compatible MCP client:
For a source checkout, set command to node and args to ["/absolute/path/searchdock-cli/dist/cli.cjs", "mcp"]. Windows clients that launch npx.cmd through a shell may need command: "cmd" and args: ["/c", "npx", "--yes", "[email protected]", "mcp"]. Use your client's Windows configuration guidance.
Plugins use the same pinned npm version:
In Claude Code:
This one-step command requires Claude Code 2.1.275+. Earlier versions can use /plugin marketplace add xplormityai/searchdock-cli, then /plugin install searchdock@searchdock --scope project.
For standalone skills, copy both skills/searchdock and skills/searchdock-setup into your agent's skills directory. Codex uses ~/.agents/skills/; Claude Code uses ~/.claude/skills/. Install the CLI separately. Both skills are included in the plugin. The repository includes portable Agent Plugins, Codex and Claude manifests; local stdio plugins are not automatically listed in hosted plugin directories.
You can also install the skill with the open skills installer:
SearchDock is published in the official MCP Registry under io.github.xplormityai/searchdock-cli. Release workflows update its metadata using GitHub OIDC.
What the Google API can and cannot tell you
SearchDock's report flags returned sitemap errors/warnings, pending processing and non-PASS verdicts for the URLs you inspect. It is not a complete technical SEO audit, and it does not provide invented SEO/AEO/GEO scores.
JavaScript API
The provider registry declares capabilities separately. Bing can be added as an adapter without changing the CLI, MCP or Python distribution model. Provider-specific differences must remain explicit. See architecture.
Develop and release
Release instructions cover npm/PyPI accounts, OIDC trusted publishing, versioning and GitHub release artifacts. Package creation alone does not publish anything.
Built by Xplormity Collective. MIT license.
來源:README.md,提交 d091292
工具
0版本歷史
1- v0.1.3最新Oct 11, 2026

