# Scrapegraph MCP (MCP server)

> Scrapegraph MCP is an MCP server that provides seamless integration with the ScrapeGraph AI API. This server enables language models to leverage advanced AI-powered web scraping capabilities with enterprise-grade reliability. It has 115 GitHub stars, is released under the MIT license and runs locally with uvx scrapegraph-mcp.

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

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/ScrapeGraphAI/scrapegraph-mcp |
| GitHub stars | 115 |
| License | MIT |
| Language | Python |
| Transport | stdio |
| Packages | pypi: scrapegraph-mcp |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Web & browsing |
| Latest release | none |
| Last commit | Jul 17, 2026 |
| MCP registry name | io.github.ScrapeGraphAI/scrapegraph-mcp |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "scrapegraph-mcp": {
      "command": "uvx",
      "args": [
        "scrapegraph-mcp"
      ],
      "env": {
        "SGAI_API_KEY": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env SGAI_API_KEY=your-value --transport stdio scrapegraph-mcp -- uvx scrapegraph-mcp
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "scrapegraph-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "scrapegraph-mcp"
      ],
      "env": {
        "SGAI_API_KEY": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "sgai_api_key",
      "description": "SGAI_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "scrapegraph-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "scrapegraph-mcp"
      ],
      "env": {
        "SGAI_API_KEY": "${input:sgai_api_key}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `SGAI_API_KEY` (secret): Your ScapeGraph API key (optional - can also be set via MCP config)

## Tools

- `scrape`: POST /scrape (outputformat: markdown, html, screenshot, branding, links, images, summary)
- `extract`: POST /extract (requires websiteurl + userprompt; optional outputschema)
- `search`: POST /search (numresults 1–20; supports countrysearch, timerange, outputschema)
- `crawl_start`: POST /crawl — extractionmode markdown / html / links / images / summary / branding / screenshot
- `crawl_get_status`: GET /crawl/:id (poll until status: completed)
- `schema`: POST /schema (generate or augment a JSON Schema from a prompt)
- `credits`: GET /credits
- `history`: GET /history (paginated, service filter)
- `monitor_activity`: GET /monitor/:id/activity (paginated tick history: id, createdAt, status, changed, elapsedMs, diffs)

## Similar MCP servers

- [Browser Use](https://appsgit.com/mcp-servers/browser-use): Control a real Chrome browser to complete any task: fill forms, extract data, book flights. (117,307 stars, MIT, official)
- [Scrapling MCP Server](https://appsgit.com/mcp-servers/scrapling-mcp-server): Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. (86,017 stars, BSD-3-Clause)
- [Chrome DevTools MCP](https://appsgit.com/mcp-servers/chrome-devtools-mcp): MCP server for Chrome DevTools. (53,049 stars, Apache-2.0)
- [Bytedance Browser](https://appsgit.com/mcp-servers/bytedance-browser): MCP server for browser use access. (39,206 stars, Apache-2.0)
- [Bytedance Commands](https://appsgit.com/mcp-servers/bytedance-commands): An MCP server to run arbitrary commands. (39,206 stars, Apache-2.0)
- [Bytedance Search](https://appsgit.com/mcp-servers/bytedance-search): MCP server for web search operations. (39,206 stars, Apache-2.0)

---

Canonical page: https://appsgit.com/mcp-servers/scrapegraph-mcp
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
