Official Bright Data Model Context Protocol (MCP) server that enables referencing public web data. This server allows MCP clients like Claude Desktop, Cursor, Windsurf, OpenAI Agents and others make decisions based on the information available on the web.
- Make sure you have an account on brightdata.com (new users get free credit for testing, and pay as you go options are available)
- Get your API key from the user settings page
- Create a Web Unlocker proxy zone called
mcp_unlocker
in your control panel- You can override this zone in your MCP server with the env variable
WEB_UNLOCKER_ZONE
- You can override this zone in your MCP server with the env variable
- (optional) If you want to enable browser control tools, go to your control panel and create a scraping browser zone.
- Look for the auth string in the format
brd-customer-$CUSTOMER-zone-$ZONE:$PASSWORD
- Look for the auth string in the format
- Install
nodejs
to get thenpx
command (node.js module runner). Installation instructions can be found on the node.js website - Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "<insert-your-api-token-here>",
"WEB_UNLOCKER_ZONE": "<optional if you want to override the default mcp_unlocker zone name>",
"BROWSER_AUTH": "<optional if you want to enable remote browser control tools>"
}
}
}
}
To use this MCP server with other agent types, you should adapt the following to your specific software:
- the full command to run the MCP server is
npx @brightdata/mcp
- the environment variable
API_TOKEN=<your-token>
must exist when running the server
Some example queries that this MCP server will be able to help with:
- "Google some movies that are releasing soon in "
- "What's tesla's market cap?"
- "What's the wikipedia article of the day?"
- "What's the 7d weather forecast in ?"
- "Of the 3 highest paid tech CEOs, how long has their career been?"
Some tools can involve reading web data, and the amount of time needed to load the page can vary by quite a lot in extreme circumstances.
To ensure that your agent will be able to conume the data, set a high enough timeout in your agent settings.
A value of 180s
should be enough for 99% of requests, but some sites load slower than others, so tune this to your needs.