MCP 服務

透過 Model Context Protocol 把 Claude、Cursor 或你自己的 Agent 接入 SEO API。API 列表裡的每個介面都是一個工具。

MCP 服務

遠端 MCP 服務網址是 https://seo-api.org/mcp,基於 Streamable HTTP(無狀態、JSON 回應)。提供兩個工具:帶 domain 參數的 get_domain_data,回傳內容與 REST 回應的 data 完全一致;以及 get_credit_balance。計費與 REST 相同。

Claude Code
claude mcp add --transport http seo-api https://seo-api.org/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Cursor、Windsurf、Claude Desktop 以及其他讀取 mcpServers 配置的客戶端:

mcp.json
{
  "mcpServers": {
    "seo-api": {
      "url": "https://seo-api.org/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

工具

  • get_domain_data查詢一個網域的註冊時間、網域年齡、註冊商、月度流量、排名與流量來源。 打開 API 頁面 →
  • get_sitemap_changes監控任意網站的 sitemap,每天拿到它新增和下線的頁面。 打開 API 頁面 →
  • get_credit_balance查詢 API key 所屬帳號的剩餘點數,不扣點數。 打開 API 頁面 →