Scrapingdog

io.github.Darshan972由 GitHub 帳號 Darshan972 發布v0.1.1更新於 Nov 10, 2026

Scrapingdog web-scraping & SERP APIs: web scrape, Google, Amazon, LinkedIn, YouTube, and more.

概覽

AI 產生的概覽

把 Scrapingdog 的網頁擷取與搜尋結果 API 包裝成 35 個 MCP 工具,可抓取網頁、搜尋引擎、電商平台與社群平台資料。

可以做什麼
以本機 stdio MCP 伺服器執行,將 Scrapingdog 每個 API 產品對應成一個工具,涵蓋一般網頁擷取、Google 系列(搜尋、地圖、新聞、趨勢、購物、學術、職缺、財經、Lens、飯店、專利、圖片)、Amazon、Walmart、eBay、LinkedIn、X、YouTube、Bing、百度、通用搜尋、ChatGPT 端點,以及會回傳圖片的截圖工具。工具參數由宣告式端點登錄檔產生,並以輸入 schema 提供給用戶端。資料來自 Scrapingdog 的代管 API。
適用情境
當助理需要即時網頁或搜尋引擎資料、電商或社群媒體查詢,或網頁截圖,而且你已有或願意購買 Scrapingdog 訂閱時適用。適合研究、監控與內容蒐集類工作流程,而非本機檔案或程式碼任務。
執行需求
需要 Node.js 18 或更新版本,並在本機安裝 npm 套件 scrapingdog-mcp,以 stdio 程序方式建置並啟動。必須提供 Scrapingdog API 金鑰,從環境變數 SCRAPINGDOG_API_KEY 讀取。選用變數 SCRAPINGDOG_API_BASE 與 SCRAPINGDOG_TIMEOUT_MS 可覆寫 API 基礎網址與單次請求逾時。需要能連線至 Scrapingdog API 的網路。
安裝前請注意
SCRAPINGDOG_API_KEY 中的金鑰是可計費憑證,不要放入共用設定或對話紀錄。Scrapingdog 用量通常按額度或次數計費,呼叫工具會消耗付費配額。請求會把目標網址與查詢內容傳送給第三方 Scrapingdog 伺服器。擷取內容可能受網站條款與著作權限制。文件說明 amazon_reviews 工具目前對任何輸入都回傳 HTTP 400。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Scrapingdog,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Scrapingdog MCP Server

The Model Context Protocol server for the Scrapingdog APIs, hosted at https://mcp.scrapingdog.com/mcp.

It gives an AI assistant 35 tools for live web data — Google SERPs, Maps, News, Shopping, Lens, Amazon, LinkedIn, YouTube, X, Walmart, eBay, screenshots and a general-purpose scraper — each backed by the corresponding Scrapingdog endpoint.

There is nothing to install. Point your client at the URL and send your own API key.

Connect

Get an API key from the Scrapingdog dashboard, then:

Claude Code

bash
claude mcp add --transport http scrapingdog https://mcp.scrapingdog.com/mcp \  --header "Authorization: Bearer YOUR_API_KEY"

Cursor / Windsurf / any client with an mcp.json

json
{  "mcpServers": {    "scrapingdog": {      "url": "https://mcp.scrapingdog.com/mcp",      "headers": { "Authorization": "Bearer YOUR_API_KEY" }    }  }}

claude.ai — Settings → Connectors → Add custom connector, URL https://mcp.scrapingdog.com/mcp, authentication "API key", paste your key.

Check it by hand

bash
curl -s https://mcp.scrapingdog.com/mcp \  -H "Authorization: Bearer YOUR_API_KEY" \  -H "Content-Type: application/json" \  -H "Accept: application/json, text/event-stream" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Calls are billed to the key you send, at the same credit cost as the REST API. A tool's description states what it costs.

How it works

MCP client ──Authorization: Bearer <key>──> mcp.scrapingdog.com ──api_key=<key>──> api.scrapingdog.com

The server is stateless: every request builds its own MCP server and transport from the key on that request and tears them down with the response. One process serves many customers without a session map, so a key never outlives the request it came on and cannot leak into another caller's session. npm run smoke asserts exactly that, among other things.

Keys are verified against Scrapingdog's own /account endpoint (which resolves user keys and team member keys, and costs no credits), cached briefly. If that check is unreachable the request is let through, because the API itself still enforces the key on every tool call — an outage in the verifier must not take the whole MCP surface down. No database credentials are needed anywhere in this service.

Layout

PathWhat it is
src/endpoints.tsThe 35 endpoints, declared. Adding an API means appending one object here — no handler code.
src/server.tsBuilds the MCP server and derives each tool's schema from that registry
src/client.tsThe HTTP client for api.scrapingdog.com
src/auth.tsAPI-key verification and caching
src/http.tsThe hosted entry point (Streamable HTTP)
src/index.tsA stdio entry point, for local development only
deploy/nginx/The mcp.scrapingdog.com vhost
ecosystem.config.cjspm2 app definition
scripts/smoke.mjsPre-deploy checks against a stubbed API

Local development

bash
npm cinpm run buildnpm run smoke          # stubs the API: no key needed, no credits spent
npm run dev            # the HTTP server on http://127.0.0.1:8731/mcpSCRAPINGDOG_API_KEY=... npm run dev:stdio   # stdio, for poking at one tool

Inspect it interactively:

bash
npx @modelcontextprotocol/inspector# transport: Streamable HTTP, url: http://127.0.0.1:8731/mcp,# header: Authorization: Bearer <your key>

Settings live in .env.example.

Deploying

The server runs on its own box, separate from the API servers, so a problem here cannot affect api.scrapingdog.com.

First time, on a bare Ubuntu box:

bash
git clone https://github.com/Darshan972/Scrapingdog-mcp.git ~/Scrapingdog-mcpcd ~/Scrapingdog-mcp && bash deploy/setup-server.sh

That installs Node (from .nvmrc), pm2, nginx and the vhost, builds and starts the app, opens the firewall, and issues the TLS certificate — skipping the certificate with a clear message if DNS doesn't point here yet. It is safe to re-run.

After that, every push to main typechecks, builds, runs the smoke suite and only then rolls out with pm2 reload (.github/workflows/deploy.yml). Needs three repository secrets: MCP_SERVER_HOST, MCP_SERVER_USER, MCP_SSH_PRIVATE_KEY.

The deploy health check requires /healthz to answer 200 and an unauthenticated POST /mcp to answer 401, so a deploy that accidentally opened the gateway fails instead of going green.

The app binds 127.0.0.1 so nginx is the only route in. Don't change that on a public host: the key check lives in this process, so an exposed port is an open proxy to the API.

License

MIT

來源:README.md,提交 42fd5e2

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分