# DLBrowser MCP server

> Provides AI agents with self-healing web access that automatically bypasses bot blocks, captchas, and JavaScript walls using an escalating backend engine.

- Repository: https://github.com/DekryptLabs/dlbrowser
- Page: https://hostedmcp.org/servers/dekryptlabs/dlbrowser
- Transport: stdio
- Stars: 1
- License: MIT
- Latest version: 4.0.2

## Install

### Claude Code

```sh
claude mcp add --env 'DLBROWSER_API_KEY=<YOUR_DLBROWSER_API_KEY>' dlbrowser -- uvx dlbrowser
```

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

```json
{
  "mcpServers": {
    "dlbrowser": {
      "command": "uvx",
      "args": [
        "dlbrowser"
      ],
      "env": {
        "DLBROWSER_API_KEY": "<YOUR_DLBROWSER_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "dlbrowser": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dlbrowser"
      ],
      "env": {
        "DLBROWSER_API_KEY": "<YOUR_DLBROWSER_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"dlbrowser","type":"stdio","command":"uvx","args":["dlbrowser"],"env":{"DLBROWSER_API_KEY":"<YOUR_DLBROWSER_API_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "dlbrowser": {
      "command": "uvx",
      "args": [
        "dlbrowser"
      ],
      "env": {
        "DLBROWSER_API_KEY": "<YOUR_DLBROWSER_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add dlbrowser --env 'DLBROWSER_API_KEY=<YOUR_DLBROWSER_API_KEY>' -- uvx dlbrowser
```

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

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

[mcp_servers.dlbrowser.env]
DLBROWSER_API_KEY = "<YOUR_DLBROWSER_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'DLBROWSER_API_KEY=<YOUR_DLBROWSER_API_KEY>' dlbrowser uvx -- dlbrowser
```

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

```json
{
  "mcpServers": {
    "dlbrowser": {
      "command": "uvx",
      "args": [
        "dlbrowser"
      ],
      "env": {
        "DLBROWSER_API_KEY": "<YOUR_DLBROWSER_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DLBROWSER_API_KEY` | no | yes | API key for the hosted gateway. Optional — DLBrowser runs fully local without it. |

## FAQ

### How does the self-healing mechanism work?

The engine uses five different backends that automatically escalate from simple HTTP requests to full browser rendering when a block is detected.

### Does DLBrowser help reduce LLM token usage?

Yes, it returns clean markdown or extracted content instead of raw HTML, which can result in approximately 77% fewer tokens for content pages.

### Is there a free tier available?

Yes, the Scout plan provides 2,500 one-time credits for free with no credit card required.
