Community研究與資料分析github.com

Google Search Console 自動化 (透過 Rube MCP / Composio)

透過 Rube MCP (Composio) 自動化 Google Search Console 任務:查詢搜尋分析、列出網站、檢查網址、提交 Sitemap、監控搜尋成效。務必先搜尋工具以取得最新的結構描述。

Composio) 是什麼?

這個技能讓 AI 代理可以透過 Rube MCP (Composio) 直接與 Google Search Console 互動,實現常見的 SEO 和網站管理任務自動化。它支援查詢搜尋分析(包含點擊數、曝光次數、點擊率和排名),檢查網頁的索引狀態、管理 Sitemap 以及列出所有已驗證的網站。代理可以執行「前 10 大搜尋查詢」報告、按日期追蹤成效趨勢,或依國家和裝置進行細分。本技能遵循 MCP 工具呼叫模式:透過 `RUBE_SEARCH_TOOLS` 取得當前的結構描述,使用 `RUBE_MANAGE_CONNECTIONS` 管理授權,然後直接呼叫像 `GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY` 這樣的工具。支援 URL 前綴屬性(完整 URL)和網域屬性(`sc-domain:example.com`)格式,並提供處理資料延遲、分頁和正確網站 URL 格式的指引,以確保操作準確。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/google-search-console-automation

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 Google Search Console

透過 Rube MCP (Composio) 查詢搜尋分析、檢查網址、管理 Sitemap 以及監控搜尋成效。

工具套件文件:composio.dev/toolkits/google_search_console

先決條件

  • 必須連接 Rube MCP(RUBE_SEARCH_TOOLS 可使用)
  • 使用工具套件 google_search_console 透過 RUBE_MANAGE_CONNECTIONS 建立活躍連線
  • 在 Google Search Console 中驗證網站擁有權或具備適當的權限
  • 請務必先呼叫 RUBE_SEARCH_TOOLS 以取得目前工具結構描述

設定

取得 Rube MCP:在客戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。不需要 API 金鑰 —— 只需加入端點即可使用。

  1. 確認 RUBE_SEARCH_TOOLS 有回應,以驗證 Rube MCP 是否可用
  2. 使用工具套件 google_search_console 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 如果連線狀態不是 ACTIVE,請依照傳回的驗證連結完成設定
  4. 在執行任何工作流程前,確認連線狀態顯示為 ACTIVE

核心工作流程

1. 列出所有已驗證的網站

使用 GOOGLE_SEARCH_CONSOLE_LIST_SITES 來取得使用者擁有或可存取的所有網站。

工具:GOOGLE_SEARCH_CONSOLE_LIST_SITES
參數:(無需參數)
回傳:包含 siteUrl 和 permissionLevel 的網站項目清單

2. 查詢搜尋分析

使用 GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY 取得搜尋成效資料,包括點擊數、曝光次數、點擊率及排名。

工具:GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY
參數:
  - site_url (必填):網站網址(例如 "https://www.example.com/" 或 "sc-domain:example.com")
  - start_date (必填):開始日期,格式為 YYYY-MM-DD
  - end_date (必填):結束日期,格式為 YYYY-MM-DD
  - dimensions:依 ["query", "page", "country", "device", "date", "searchAppearance"] 進行分組
  - search_type:"web"(預設)、"image"、"video"、"news"、"discover"、"googleNews"
  - dimension_filter_groups:維度濾鏡(運算子:equals、notEquals、contains、notContains、includingRegex、excludingRegex)
  - row_limit:最大行數(1-25000,預設 1000)
  - start_row:分頁偏移量(預設 0)
  - aggregation_type:"auto"、"byPage"、"byProperty"、"byNewsShowcasePanel"
  - data_state:"final"(預設)、"all"、"hourly_all"

3. 檢查網址

使用 GOOGLE_SEARCH_CONSOLE_INSPECT_URL 檢查特定網址的索引狀態和問題。

工具:GOOGLE_SEARCH_CONSOLE_INSPECT_URL
參數:
  - inspection_url (必填):要檢查的完整網址(例如 "https://www.example.com/page")
  - site_url (必填):屬性網址(例如 "https://www.example.com/")
  - language_code:BCP-47 語言代碼(預設:"en-US")

4. 列出 Sitemap

使用 GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS 取得網站已提交的所有 Sitemap。

工具:GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS
參數:
  - site_url (必填):網站網址(例如 "https://www.example.com/")
  - sitemap_index:要從中列出 Sitemap 的特定 Sitemap 索引網址

5. 提交 Sitemap

使用 GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 註冊或重新提交 Sitemap 以供索引。

工具:GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP
參數:
  - site_url (必填):網站網址或網域屬性(例如 "sc-domain:example.com")
  - feedpath (必填):完整的 Sitemap 網址(例如 "https://www.example.com/sitemap.xml")

6. 取得 Sitemap 詳細資訊

使用 GOOGLE_SEARCH_CONSOLE_GET_SITEMAP 取得特定已提交 Sitemap 的資訊。

工具:GOOGLE_SEARCH_CONSOLE_GET_SITEMAP
參數:
  - site_url (必填):網站網址
  - feedpath (必填):要取得詳細資訊的 Sitemap 網址

常見模式

  • 成效監控:在日期範圍內使用 dimensions: ["date"] 搭配 GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY,以追蹤每日搜尋成效趨勢。
  • 熱門查詢報告:使用 dimensions: ["query"] 搭配 GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERY,找出點擊次數最多的搜尋詞。
  • 頁面層級分析:使用 dimensions: ["page"] 找出成效最佳的頁面,再使用 dimensions: ["query", "page"] 查看哪些查詢為各個頁面帶來流量。
  • 索引稽核:使用 GOOGLE_SEARCH_CONSOLE_INSPECT_URL 檢查重要頁面的索引狀態。
  • Sitemap 管理:使用 GOOGLE_SEARCH_CONSOLE_LIST_SITEMAPS 驗證已提交的 Sitemap,再使用 GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 提交新的或更新後的 Sitemap。
  • 國家 / 裝置細分:使用 dimensions: ["country", "device"] 了解搜尋流量的地理和裝置類型分佈。
  • 過濾特定查詢:使用 dimension_filter_groups 搭配 contains 或 includingRegex 運算子,專注於特定的關鍵字群組。

已知陷阱

  • 網站網址格式很重要:URL 前綴屬性使用完整的網址,包含通訊協定和結尾斜線(例如 https://www.example.com/)。網域屬性使用 sc-domain: 前綴(例如 sc-domain:example.com)。使用錯誤的格式將導致回傳空結果或錯誤。
  • 日期範圍限制:資料通常會有 2-3 天的延遲。data_state: "all" 包含可能仍在變動的最新資料。hourly_all 僅適用於過去 3 天內的日期。
  • 行數限制與分頁:API 回傳的結果會按點擊數排序(若依日期分組則按日期排序)。若要取得完整資料,請使用 start_row 搭配 row_limit 進行分頁。
  • 每次請求最多 25,000 行:即使使用分頁,每次請求最多也只能回傳 25,000 行。對於非常大的資料集,請縮小日期範圍或加入維度濾鏡。
  • 檢查網址必須與網站相符:inspection_url 必須是 site_url 屬性下的頁面。跨屬性的檢查將會失敗。
  • Sitemap 必須可存取:GOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAP 要求 Sitemap 檔案在指定的網址上必須可公開存取,且格式為正確的 XML。
  • 結果按點擊數排序:預設情況下,分析結果按點擊數降序排列,但依 date 分組時則按日期升序排列。

快速參考

動作工具關鍵參數
列出網站GOOGLE_SEARCH_CONSOLE_LIST_SITES(無)
搜尋分析GOOGLE_SEARCH_CONSOLE_SEARCH_ANALYTICS_QUERYsite_url、start_date、end_date、dimensions
檢查網址GOOGLE_SEARCH_CONSOLE_INSPECT_URLinspection_url、site_url
列出 SitemapGOOGLE_SEARCH_CONSOLE_LIST_SITEMAPSsite_url
提交 SitemapGOOGLE_SEARCH_CONSOLE_SUBMIT_SITEMAPsite_url、feedpath
取得 Sitemap 資訊GOOGLE_SEARCH_CONSOLE_GET_SITEMAPsite_url、feedpath

技術支援:Composio

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相關技能