# Bright Data MCP (local)

Local server that gives AI agents web search, scraping, and browser tools through a Bright Data API key.

MCP server by Bright Data. Category: Agent craft.

## Install

Project (for this project only):

```sh
npx add-mcp @brightdata/mcp --env 'API_TOKEN=${API_TOKEN}'
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI, opencode.

Global (for every project on this machine):

```sh
npx add-mcp @brightdata/mcp --env 'API_TOKEN=${API_TOKEN}' -g
```

Works with: Claude Code, Codex CLI, Cursor, Antigravity, Copilot CLI, opencode.

## Where it runs

Your computer.

## What it needs

Environment variables:

- `API_TOKEN` (required): Your API key for Bright Data
- `WEB_UNLOCKER_ZONE` (optional): Your unlocker zone name
- `BROWSER_ZONE` (optional): Your browser zone name
- `PRO_MODE` (optional): To enable PRO_MODE - set to true
- `GROUPS` (optional): Comma-separated tool group IDs (e.g., 'ecommerce,browser')
- `TOOLS` (optional): Comma-separated tool names to enable
- `POLLING_TIMEOUT` (optional): Polling timeout in seconds for web_data_* tools (default: 600)
- `BASE_TIMEOUT` (optional): Request timeout in seconds for base tools (search & scrape). No limit if unset
- `BASE_MAX_RETRIES` (optional): Max retries for base tools on transient errors (0-3, default: 0)

## Tags

- Runs on your computer: It runs as a program on your machine, with your access.
- Needs a key or account: It asks for an API key or a sign in before it works.

## Source

[Open the source](https://github.com/brightdata/brightdata-mcp). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [supabase](https://syn4pse.dev/terminal/supabase.md)
- Next: [supabase-agent-skills](https://syn4pse.dev/terminal/supabase-agent-skills.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
