Skip to main content

MCP server for ScapeGraph API integration

Project description

ScrapeGraph MCP Server

ScapeGraph Smithery Integration ScrapeGraph Server MCP server MseeP.ai Security Assessment Badge

License: MIT Python 3.10 smithery badge

A production-ready Model Context Protocol (MCP) server that provides seamless integration with the ScapeGraph AI API. This server enables language models to leverage advanced AI-powered web scraping capabilities with enterprise-grade reliability.

Available Tools

The server provides the following enterprise-ready tools:

  • markdownify(website_url: str): Transform any webpage into clean, structured markdown format
  • smartscraper(user_prompt: str, website_url: str): Leverage AI to extract structured data from any webpage
  • searchscraper(user_prompt: str): Execute AI-powered web searches with structured, actionable results

Setup Instructions

To utilize this server, you'll need a ScapeGraph API key. Follow these steps to obtain one:

  1. Navigate to the ScapeGraph Dashboard
  2. Create an account and generate your API key

Automated Installation via Smithery

For automated installation of the ScrapeGraph API Integration Server using Smithery:

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

Claude Desktop Configuration

Update your Claude Desktop configuration file with the following settings (located on the top rigth of the Cursor page):

(remember to add your API key inside the config)

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

The configuration file is located at:

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

Cursor Integration

Add the ScrapeGraphAI MCP server on the settings:

Cursor MCP Integration

Example Use Cases

The server enables sophisticated queries such as:

  • "Analyze and extract the main features of the ScapeGraph API"
  • "Generate a structured markdown version of the ScapeGraph homepage"
  • "Extract and analyze pricing information from the ScapeGraph website"
  • "Research and summarize recent developments in AI-powered web scraping"
  • "Create a comprehensive summary of the Python documentation website"

Error Handling

The server implements robust error handling with detailed, actionable error messages for:

  • API authentication issues
  • Malformed URL structures
  • Network connectivity failures
  • Rate limiting and quota management

Common Issues

Windows-Specific Connection

When running on Windows systems, you may need to use the following command to connect to the MCP server:

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

This ensures proper execution in the Windows environment.

License

This project is distributed under the MIT License. For detailed terms and conditions, please refer to the LICENSE file.

Acknowledgments

Special thanks to tomekkorbak for his implementation of oura-mcp-server, which served as starting point for this repo.

Made with ❤️ by ScrapeGraphAI Team

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_scrapegraph_mcp-1.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_scrapegraph_mcp-1.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file mseep_scrapegraph_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: mseep_scrapegraph_mcp-1.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_scrapegraph_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1e6219c3c2c2b19949938a34583e781c191e5897a098dc58b7bc0219b708424c
MD5 7e0a6d7ffe46cd83f3924426de8008ba
BLAKE2b-256 7a831bfae3d0c03c9c6bbe12e231bafcc0db5fbd627f34ab927967bf49babc0c

See more details on using hashes here.

File details

Details for the file mseep_scrapegraph_mcp-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_scrapegraph_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e8a0a4cebbd300a7e63664e33c8e42a347c3ce8e458f9f5009e6141157a5f6ea
MD5 c8b51adf23eb30e4c610c3a20927b0a9
BLAKE2b-256 6f9b6e5066bef83ac31fac9932b4766b7c1f3e887dbd963821ac67575bd46ce4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page