Back to MCP directory
publicPublicdnsLocal runtime

ScapeGraph

ScrapeGraph MCP Server是一个生产就绪的模型上下文协议服务器,提供与ScrapeGraph AI API的无缝集成,使语言模型能够利用先进的AI驱动网页抓取功能。

article

README

🚀 ScapeGraph MCP 服务器

ScapeGraph MCP 服务器是一个经过生产验证的 模型上下文协议 (MCP) 服务器,可与 ScapeGraph AI API 实现无缝集成。它能让语言模型借助先进的 AI 驱动网络抓取功能,具备企业级可靠性。

ScapeGraph 工坊集成

许可证: MIT Python 3.10 smithery 徽章

🚀 快速开始

要使用此服务器,您需要先获取一个 ScapeGraph API 密钥,具体步骤如下:

  1. 打开浏览器,访问 ScapeGraph 仪表盘
  2. 创建账户并生成您的 API 密钥。

✨ 主要特性

该服务器提供以下企业级工具:

  • markdownify(website_url: str):可将任意网页转换为干净、结构化的 Markdown 格式。
  • smartscraper(user_prompt: str, website_url: str):利用 AI 从任意网页中提取结构化数据。
  • searchscraper(user_prompt: str):执行 AI 驱动的网络搜索,得到结构化且可操作的结果。

📦 安装指南

自动化安装(通过 Smithery)

您可以使用 Smithery 进行自动化安装,命令如下:

npx -y @smithery/cli install @ScrapeGraphAI/scrapegraph-mcp --client claude

Claude Desktop 配置

更新您的 Claude Desktop 配置文件,添加以下设置(位于右上角的指针页面),记得在配置中添加您的 API 密钥:

{
    "mcpServers": {
        "@ScrapeGraphAI-scrapegraph-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli@latest",
                "run",
                "@ScrapeGraphAI/scrapegraph-mcp",
                "--config",
                "\"{\\\"scrapegraphApiKey\\\":\\\"YOUR-SGAI-API-KEY\\\"}\""
            ]
        }
    }
}

配置文件的位置:

  • Windows:%APPDATA%/Claude/claude_desktop_config.json
  • macOS:~/Library/Application\ Support/Claude/claude_desktop_config.json

安装说明(Windows 和 macOS)

在 Windows 或 macOS 系统上,您可以使用以下命令进行安装:

npm install -g @smithery/cli@latest
smithery install @ScrapeGraphAI/scrapegraph-mcp --manual

然后按照提示完成安装。

📚 详细文档

常见问题

如何获取 API 密钥?

访问 ScapeGraph 仪表盘 创建账户并生成 API 密钥。

支持哪些操作系统?

目前支持 Windows 和 macOS 系统。

错误处理

如果遇到错误,请参考 常见问题解答 或联系我们的支持团队。

📄 许可证

此项目遵循 MIT 许可证。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client