| 
1 |  | -# scrapegraph-mcp  | 
2 |  | -ScapeGraph MCP Server  | 
 | 1 | +# ScapeGraph MCP Server  | 
 | 2 | + | 
 | 3 | +[](https://opensource.org/licenses/MIT)  | 
 | 4 | +[](https://www.python.org/downloads/release/python-3100/)  | 
 | 5 | +[](https://smithery.ai/server/@scrapegraphai/scrapegraph-mcp)  | 
 | 6 | +A [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) server that provides access to the [ScapeGraph AI](https://scrapegraphai.com) API. It allows language models to use AI-powered web scraping capabilities.  | 
 | 7 | + | 
 | 8 | +## Available Tools  | 
 | 9 | + | 
 | 10 | +The server exposes the following tools:  | 
 | 11 | + | 
 | 12 | +- `markdownify(website_url: str)`: Convert any webpage into clean, formatted markdown  | 
 | 13 | +- `smartscraper(user_prompt: str, website_url: str)`: Extract structured data from any webpage using AI  | 
 | 14 | +- `searchscraper(user_prompt: str)`: Perform AI-powered web searches with structured results  | 
 | 15 | + | 
 | 16 | +## Usage  | 
 | 17 | + | 
 | 18 | +You'll need a ScapeGraph API key to use this server. You can obtain one by:  | 
 | 19 | + | 
 | 20 | +1. Going to the [ScapeGraph Dashboard](https://dashboard.scrapegraphai.com)  | 
 | 21 | +2. Creating an account and obtaining an API key  | 
 | 22 | + | 
 | 23 | +### Installing via Smithery  | 
 | 24 | + | 
 | 25 | +To install Oura API Integration Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@scrapegraphai/scrapegraph-mcp):  | 
 | 26 | + | 
 | 27 | +```bash  | 
 | 28 | +npx -y @smithery/cli install @scrapegraphai/scrapegraph-mcp --client claude  | 
 | 29 | +```  | 
 | 30 | + | 
 | 31 | +### Claude for Desktop  | 
 | 32 | + | 
 | 33 | +Update your `claude_desktop_config.json` (located in `~/Library/Application\ Support/Claude/claude_desktop_config.json` on macOS and `%APPDATA%/Claude/claude_desktop_config.json` on Windows) to include the following:  | 
 | 34 | + | 
 | 35 | +```json  | 
 | 36 | +{  | 
 | 37 | +    "mcpServers": {  | 
 | 38 | +        "scrapegraph": {  | 
 | 39 | +            "command": "uvx",  | 
 | 40 | +            "args": [  | 
 | 41 | +                "scrapegraph_mcp"  | 
 | 42 | +            ],  | 
 | 43 | +            "env": {  | 
 | 44 | +                "SGAI_API_KEY": "YOUR_SCRAPEGRAPH_API_KEY"  | 
 | 45 | +            }  | 
 | 46 | +        }  | 
 | 47 | +    }  | 
 | 48 | +}  | 
 | 49 | +```  | 
 | 50 | + | 
 | 51 | +## Example Queries  | 
 | 52 | + | 
 | 53 | +Once connected, you can ask Claude questions like:  | 
 | 54 | + | 
 | 55 | +- "What are the main features of the ScapeGraph API?"  | 
 | 56 | +- "Convert the ScapeGraph homepage into markdown"  | 
 | 57 | +- "Extract the pricing information from the ScapeGraph website"  | 
 | 58 | +- "Find information about the latest advancements in AI-powered web scraping"  | 
 | 59 | +- "Summarize the content of the Python documentation website"  | 
 | 60 | + | 
 | 61 | +## Error Handling  | 
 | 62 | + | 
 | 63 | +The server provides human-readable error messages for common issues:  | 
 | 64 | + | 
 | 65 | +- API authentication errors  | 
 | 66 | +- Invalid URL formats  | 
 | 67 | +- Network connectivity problems  | 
 | 68 | + | 
 | 69 | +## License  | 
 | 70 | + | 
 | 71 | +This project is licensed under the MIT License - see the LICENSE file for details.   | 
0 commit comments