# Scrapling MCP server

> Lets an AI client fetch web pages with stealth HTTP or real browsers, bypass Cloudflare, and extract data using CSS selectors.

- Repository: https://github.com/D4Vinci/Scrapling
- Page: https://hostedmcp.org/servers/d4vinci/scrapling
- Transport: stdio
- Stars: 103113
- License: BSD-3-Clause
- Latest version: 0.5.1

## Install

### Claude Code

```sh
claude mcp add scrapling -- uvx scrapling
```

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

```json
{
  "mcpServers": {
    "scrapling": {
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "scrapling": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"scrapling","type":"stdio","command":"uvx","args":["scrapling"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "scrapling": {
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add scrapling -- uvx scrapling
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.scrapling]
command = "uvx"
args = ["scrapling"]
```

### Gemini CLI

```sh
gemini mcp add -s user scrapling uvx -- scrapling
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "scrapling": {
      "command": "uvx",
      "args": [
        "scrapling"
      ]
    }
  }
}
```

## FAQ

### Does Scrapling support Cloudflare bypass?

Yes, Scrapling handles Cloudflare Turnstile and Interstitial challenges through its stealth browsers.

### What selectors can I use to extract data?

You can use CSS and XPath selectors, plus text and regex search, and get clean Markdown output.

### Can an AI agent use Scrapling through MCP?

Yes, Scrapling ships an MCP server that lets AI agents browse and extract web data.

### What export formats does Scrapling support?

Crawled results can be exported to JSON, JSONL, CSV, or XML.
