ScrapeGraph MCP 服务器,提供网页转markdown、AI搜索、智能爬取等工具,支持结构化数据提取与多页面爬取。
ScrapeGraph MCP 服务器
ScrapeGraph MCP 服务器。
https://www.anthropic.com/news/model-context-protocol
特性
| 属性 | 详情 |
|---|---|
| Docker 镜像 | https://hub.docker.com/repository/docker/mcp/scrapegraph |
| 作者 | https://github.com/ScrapeGraphAI |
| 代码仓库 | https://github.com/ScrapeGraphAI/scrapegraph-mcp |
| Dockerfile | https://github.com/ScrapeGraphAI/scrapegraph-mcp/blob/main/Dockerfile |
| Docker 镜像构建方 | Docker Inc. |
| Docker Scout 健康评分 | |
| 验证签名 | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/scrapegraph --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| 许可证 | MIT 许可证 |
可用工具(5个)
| 本服务器提供的工具 | 简短描述 |
|---|---|
markdownify | 将网页转换为整洁、格式化的 markdown。 |
searchscraper | 执行 AI 驱动的网络搜索并返回结构化结果。 |
smartcrawler_fetch_results | 获取 SmartCrawler 操作的结果。 |
smartcrawler_initiate | 发起 SmartCrawler 请求以进行智能多页面网络爬取。 |
smartscraper | 使用 AI 从网页中提取结构化数据。 |
工具详情
工具:markdownify
将网页转换为整洁、格式化的 markdown。
| 参数 | 类型 | 描述 |
|---|---|---|
website_url | string | 待转换网页的 URL |
工具:searchscraper
执行 AI 驱动的网络搜索并返回结构化结果。
| 参数 | 类型 | 描述 |
|---|---|---|
user_prompt | string | 搜索查询或指令 |
num_results | integer 可选 | 要搜索的网站数量(可选,默认:3 个网站 = 30 积分) |
number_of_scrolls | integer 可选 | 在每个网站上执行的无限滚动次数(可选) |
工具:smartcrawler_fetch_results
获取 SmartCrawler 操作的结果。
| 参数 | 类型 | 描述 |
|---|---|---|
request_id | string | 由 smartcrawler_initiate 返回的请求 ID |
工具:smartcrawler_initiate
发起 SmartCrawler 请求以进行智能多页面网络爬取。
SmartCrawler 支持两种模式: - AI 提取模式(每页面 10 积分):根据提示词提取结构化数据 - Markdown 转换模式(每页面 2 积分):将页面转换为整洁的 markdown
| 参数 | 类型 | 描述 |
|---|---|---|
url | string | 起始爬取 URL |
depth | integer 可选 | 最大链接遍历深度(可选) |
extraction_mode | string 可选 | "ai" 表示 AI 提取模式,"markdown" 表示 markdown 转换模式(默认:"ai") |
max_pages | integer 可选 | 要爬取的最大页面数(可选) |
prompt | string 可选 | 数据提取的 AI 提示词(AI 模式必填) |
same_domain_only | boolean 可选 | 是否仅在同一域名内爬取(可选) |
工具:smartscraper
使用 AI 从网页中提取结构化数据。
| 参数 | 类型 | 描述 |
|---|---|---|
user_prompt | string | 数据提取指令 |
website_url | string | 待爬取网页的 URL |
markdown_only | boolean 可选 | 是否仅返回未经 AI 处理的 markdown 内容(可选) |
number_of_scrolls | integer 可选 | 执行的无限滚动次数(可选) |
使用此 MCP 服务器
json{ "mcpServers": { "scrapegraph": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SGAI_API_KEY", "mcp/scrapegraph" ], "env": { "SGAI_API_KEY": "YOUR_SGAI_API_KEY" } } } }
https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 scrapegraph 镜像标签
docker pull docker.xuanyuan.run/mcp/scrapegraph:<标签>
DockerHub 原生拉取命令
docker pull mcp/scrapegraph:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务