Bright Data MCP allows AI agents to access and extract real-time web data without getting blocked. It integrates with MCP-compatible AI assistants to enable web searching, website navigation, and data retrieval for various scraping tasks.
npx
command)Install Node.js from the official website if you don't already have it
Configure Claude by navigating to Settings > Developer > Edit Config > claude_desktop_config.json and add 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>"
}
}
}
}
Create an account on brightdata.com (new users receive free testing credit)
Get your API key from the user settings page
(Optional) For more control, create a custom Web Unlocker zone in your control panel and specify it with the WEB_UNLOCKER_ZONE
environment variable
(Optional) To enable browser control tools:
brd-customer-[your-customer-ID]-zone-[your-zone-ID]:[your-password]
)BROWSER_AUTH
environment variableFor non-Claude MCP clients, adapt the following to your specific software:
npx @brightdata/mcp
API_TOKEN=<your-token>
is set when running the serverBright Data MCP can help with queries like:
Always treat scraped web content as untrusted data:
Some web data tools may require longer loading times. Set a high enough timeout in your agent settings (180 seconds is recommended for most requests).
If your system cannot find the npx
command:
Find your Node.js path:
which node
(shows path like /usr/local/bin/node
)where node
(shows path like C:\Program Files\nodejs\node.exe
)Update your MCP configuration by replacing the npx
command with the full path to Node:
"command": "/usr/local/bin/node"
To try Bright Data MCP without local setup, visit the playground on Smithery.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.