MCP server for ScapeGraph API integration
Project description
ScrapeGraph MCP Server
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 formatsmartscraper(user_prompt: str, website_url: str): Leverage AI to extract structured data from any webpagesearchscraper(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:
- Navigate to the ScapeGraph Dashboard
- 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:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mseep_scrapegraph_mcp-1.0.0.tar.gz.
File metadata
- Download URL: mseep_scrapegraph_mcp-1.0.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85812e3315f1138a057a90c173467d86c0b0fc1fd133b8202aed158d68038dc8
|
|
| MD5 |
a5c071bcfa905e63556975eed8240732
|
|
| BLAKE2b-256 |
93a64ae77dbe78c050186187c31b04e6115b8d9b5a773689d3d102c8d1252653
|
File details
Details for the file mseep_scrapegraph_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mseep_scrapegraph_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
724273bc16ce41647947f186eb13645fad5525e82823ee86745749a6ad1247ef
|
|
| MD5 |
ae79166359003d3de74e1cceed98e48f
|
|
| BLAKE2b-256 |
985b3a506d642aff6c637a6cd4bc0e50988d08fa6ffe038fcb9ce78139c89d4f
|