ScrapeGraph MCP Server

Official

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides tools to convert any webpage into clean, structured markdown format through the markdownify function

  • Supports Python 3.10 for the implementation of the server that integrates with ScapeGraph AI

ScrapeGraph MCP 服务器

一款生产就绪的模型上下文协议(MCP) 服务器,可与ScapeGraph AI API 无缝集成。该服务器使语言模型能够充分利用先进的 AI 驱动的 Web 抓取功能,并具备企业级可靠性。

可用工具

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

  • markdownify(website_url: str) :将任何网页转换为干净、结构化的 markdown 格式
  • smartscraper(user_prompt: str, website_url: str) :利用AI从任何网页中提取结构化数据
  • searchscraper(user_prompt: str) :执行由人工智能驱动的网络搜索,并提供结构化、可操作的结果

设置说明

要使用此服务器,您需要一个 ScapeGraph API 密钥。请按照以下步骤获取:

  1. 导航至ScapeGraph 仪表板
  2. 创建帐户并生成 API 密钥

通过 Smithery 自动安装

使用Smithery自动安装 ScrapeGraph API 集成服务器:

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

Claude桌面配置

使用以下设置更新您的 Claude Desktop 配置文件(位于 Cursor 页面的右上角):

(请记住在配置中添加您的 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

光标集成

在设置中添加 ScrapeGraphAI MCP 服务器:

示例用例

该服务器支持复杂的查询,例如:

  • “分析并提取ScapeGraph API的主要特性”
  • “生成 ScapeGraph 主页的结构化 markdown 版本”
  • “从 ScapeGraph 网站提取并分析定价信息”
  • “研究并总结人工智能网络抓取的最新发展”
  • “创建 Python 文档网站的全面摘要”

错误处理

服务器实现了强大的错误处理功能,并提供了以下详细、可操作的错误消息:

  • API 身份验证问题
  • 格式错误的 URL 结构
  • 网络连接失败
  • 速率限制和配额管理

常见问题

Windows 特定连接

在 Windows 系统上运行时,您可能需要使用以下命令连接到 MCP 服务器:

C:\Windows\System32\cmd.exe /c npx -y @smithery/cli@latest run @ScrapeGraphAI/scrapegraph-mcp --config "{\"scrapegraphApiKey\":\"YOUR-SGAI-API-KEY\"}"

这可确保在 Windows 环境中正确执行。

执照

本项目遵循 MIT 许可证。详细条款和条件请参阅 LICENSE 文件。

致谢

特别感谢tomekkorbak实现的oura-mcp-server ,它是这个 repo 的起点。

ScrapeGraphAI团队倾情打造

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

一个可立即投入生产的模型上下文协议服务器,使语言模型能够利用人工智能驱动的网络抓取功能,提供将网页转换为 markdown、提取结构化数据和执行人工智能驱动的网络搜索的工具。

  1. Available Tools
    1. Setup Instructions
      1. Automated Installation via Smithery
      2. Claude Desktop Configuration
      3. Cursor Integration
    2. Example Use Cases
      1. Error Handling
        1. Common Issues
          1. Windows-Specific Connection
        2. License
          1. Acknowledgments
            ID: 37us0q2tr6