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 分