io.github.brightdata/brightdata-mcp MCP Server
io.github.brightdata/brightdata-mcp
What is the io.github.brightdata/brightdata-mcp MCP server?
Bright Data's Web MCP server enabling AI agents to search, extract & navigate the web
How to install io.github.brightdata/brightdata-mcp
Copy-paste configuration for popular MCP clients.
API_TOKENrequiredsecretYour API key for Bright Data
WEB_UNLOCKER_ZONEYour unlocker zone name
BROWSER_ZONEYour browser zone name
PRO_MODETo enable PRO_MODE - set to true
GROUPSComma-separated tool group IDs (e.g., 'ecommerce,browser')
TOOLSComma-separated tool names to enable
POLLING_TIMEOUTPolling timeout in seconds for web_data_* tools (default: 600)
BASE_TIMEOUTRequest timeout in seconds for base tools (search & scrape). No limit if unset
BASE_MAX_RETRIESMax retries for base tools on transient errors (0-3, default: 0)
{
"mcpServers": {
"brightdata-mcp": {
"command": "npx",
"args": [
"-y",
"@brightdata/mcp"
],
"env": {
"API_TOKEN": "<YOUR_API_TOKEN>",
"WEB_UNLOCKER_ZONE": "<YOUR_WEB_UNLOCKER_ZONE>",
"BROWSER_ZONE": "<YOUR_BROWSER_ZONE>",
"PRO_MODE": "<YOUR_PRO_MODE>",
"GROUPS": "<YOUR_GROUPS>",
"TOOLS": "<YOUR_TOOLS>",
"POLLING_TIMEOUT": "<YOUR_POLLING_TIMEOUT>",
"BASE_TIMEOUT": "<YOUR_BASE_TIMEOUT>",
"BASE_MAX_RETRIES": "<YOUR_BASE_MAX_RETRIES>"
}
}
}
}{
"mcpServers": {
"brightdata-mcp": {
"command": "npx",
"args": [
"-y",
"@brightdata/mcp"
],
"env": {
"API_TOKEN": "<YOUR_API_TOKEN>",
"WEB_UNLOCKER_ZONE": "<YOUR_WEB_UNLOCKER_ZONE>",
"BROWSER_ZONE": "<YOUR_BROWSER_ZONE>",
"PRO_MODE": "<YOUR_PRO_MODE>",
"GROUPS": "<YOUR_GROUPS>",
"TOOLS": "<YOUR_TOOLS>",
"POLLING_TIMEOUT": "<YOUR_POLLING_TIMEOUT>",
"BASE_TIMEOUT": "<YOUR_BASE_TIMEOUT>",
"BASE_MAX_RETRIES": "<YOUR_BASE_MAX_RETRIES>"
}
}
}
}{
"mcpServers": {
"brightdata-mcp": {
"command": "npx",
"args": [
"-y",
"@brightdata/mcp"
],
"env": {
"API_TOKEN": "<YOUR_API_TOKEN>",
"WEB_UNLOCKER_ZONE": "<YOUR_WEB_UNLOCKER_ZONE>",
"BROWSER_ZONE": "<YOUR_BROWSER_ZONE>",
"PRO_MODE": "<YOUR_PRO_MODE>",
"GROUPS": "<YOUR_GROUPS>",
"TOOLS": "<YOUR_TOOLS>",
"POLLING_TIMEOUT": "<YOUR_POLLING_TIMEOUT>",
"BASE_TIMEOUT": "<YOUR_BASE_TIMEOUT>",
"BASE_MAX_RETRIES": "<YOUR_BASE_MAX_RETRIES>"
}
}
}
}{
"servers": {
"brightdata-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@brightdata/mcp"
],
"env": {
"API_TOKEN": "<YOUR_API_TOKEN>",
"WEB_UNLOCKER_ZONE": "<YOUR_WEB_UNLOCKER_ZONE>",
"BROWSER_ZONE": "<YOUR_BROWSER_ZONE>",
"PRO_MODE": "<YOUR_PRO_MODE>",
"GROUPS": "<YOUR_GROUPS>",
"TOOLS": "<YOUR_TOOLS>",
"POLLING_TIMEOUT": "<YOUR_POLLING_TIMEOUT>",
"BASE_TIMEOUT": "<YOUR_BASE_TIMEOUT>",
"BASE_MAX_RETRIES": "<YOUR_BASE_MAX_RETRIES>"
}
}
}
}claude mcp add brightdata-mcp --env API_TOKEN=<YOUR_API_TOKEN> --env WEB_UNLOCKER_ZONE=<YOUR_WEB_UNLOCKER_ZONE> --env BROWSER_ZONE=<YOUR_BROWSER_ZONE> --env PRO_MODE=<YOUR_PRO_MODE> --env GROUPS=<YOUR_GROUPS> --env TOOLS=<YOUR_TOOLS> --env POLLING_TIMEOUT=<YOUR_POLLING_TIMEOUT> --env BASE_TIMEOUT=<YOUR_BASE_TIMEOUT> --env BASE_MAX_RETRIES=<YOUR_BASE_MAX_RETRIES> -- npx -y @brightdata/mcpREADME (reference)
Source of truth, from the repository.
๐ Overview
The Web MCP is your gateway to giving AI assistants true web capabilities. No more outdated responses, no more "I can't access real-time information" - just seamless, reliable web access that actually works.
Built by Bright Data, the world's #1 web data platform, this MCP server ensures your AI never gets blocked, rate-limited, or served CAPTCHAs.
<div align="center"> <table> <tr> <td align="center">โ <strong>Works with Any LLM</strong><br/><sub>Claude, GPT, Gemini, Llama</sub></td> <td align="center">๐ก๏ธ <strong>Never Gets Blocked</strong><br/><sub>Enterprise-grade unblocking</sub></td> <td align="center">๐ <strong>5,000 Free Credits</strong><br/><sub>Monthly ยท No card needed</sub></td> <td align="center">โก <strong>Zero Config</strong><br/><sub>Works out of the box</sub></td> </tr> </table> </div>๐ฏ Perfect For
- ๐ Real-time Research - Get current prices, news, and live data
- ๐๏ธ E-commerce Intelligence - Monitor products, prices, and availability
- ๐ Market Analysis - Track competitors and industry trends
- ๐ค AI Agents - Build agents that can actually browse the web
- ๐ป Coding Agents - Look up npm/PyPI packages, versions, and READMEs in real time
- ๐ง GEO & Brand Visibility - See how ChatGPT, Grok, and Perplexity perceive your brand
- ๐ Content Creation - Access up-to-date information for writing
- ๐ Academic Research - Gather data from multiple sources efficiently
โก Quick Start
Use the configuration wizard:
Perfect for users who want zero setup. Just add this URL to your MCP client:
https://mcp.brightdata.com/mcp?token=YOUR_API_TOKEN_HERE
Setup in Claude Desktop:
- Go to: Settings โ Connectors โ Add custom connector
- Name:
Bright Data Web - URL:
https://mcp.brightdata.com/mcp?token=YOUR_API_TOKEN - Click "Add" and you're done! โจ
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "<your-api-token-here>"
}
}
}
}
๐ Pricing & Modes
<div align="center"> <table> <tr> <th width="33%">โก Rapid Mode (Free tier)</th> <th width="33%">๐ Pro Mode</th> <th width="34%">๐ง Custom Mode</th> </tr> <tr> <td align="center"> <h3>$0/month</h3> <p><strong>5,000 credits</strong></p> <hr/> <p>โ Web Search<br/> โ Scraping with Web unlocker<br/> โ AI-ranked Discover search<br/> โ Browser Automation<br/> โ Web data tools</p> <br/> <code>Default Mode</code> </td> <td align="center"> <h3>Pay-as-you-go</h3> <p><strong>Everything in rapid plus 60+ tools</strong></p> <hr/> <p>โ Browser Control<br/> โ Web Data APIs<br/> <br/> <br/> <br/> <code>PRO_MODE=true</code> </td> <td align="center"> <h3>Usage-based</h3> <p><strong>Pick the tools you need</strong></p> <hr/> <p>โ Combine tool groups<br/> โ Add individual tools<br/> โ Overrides Pro eligibility</p> <br/> <code>GROUPS="browser"</code><br/> <code>TOOLS="scrape_as_html"</code> </td> </tr> </table> </div>๐ก How the free tier works: Your account gets 5,000 credits/month (~$7.50 value), auto-renewed on the 1st with no credit card required. MCP requests draw from this shared pool โ base tools (
search_engine,scrape_as_markdown,discover) cost 1 credit per request, whileweb_data_*tools cost 1 credit per record returned. Unused credits don't roll over, and when they run out requests stop (no surprise charges unless you've deposited funds). Pro mode is not included in the free tier and incurs additional charges based on usage.
๐ง Advanced Tool Selection
GROUPSlets you enable curated tool bundles. Use comma-separated group IDs such asecommerce,browser.TOOLSadds explicit tool names on top of the selected groups.- Mode priority:
PRO_MODE=true(all tools) โGROUPS/TOOLS(whitelist) โ default rapid mode (base toolkit). - Base tools always enabled:
search_engine,search_engine_batch,scrape_as_markdown,scrape_batch,discover. - Group ID
customis reserved; useTOOLSfor bespoke picks.
Claude Desktop example
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "<your-api-token-here>",
"GROUPS": "browser,advanced_scraping",
"TOOLS": "extract"
}
}
}
}
Coding agent example (Claude Code / Cursor / Windsurf)
Give your coding agent real-time package intelligence โ latest versions, READMEs, dependencies, and metadata from npm and PyPI without scraping:
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "<your-api-token-here>",
"GROUPS": "code"
}
}
}
}
โจ Features
๐ฅ Core Capabilities
<table> <tr> <td>๐ <b>Smart Web Search</b><br/>Google-quality results optimized for AI</td> <td>๐ <b>Clean Markdown</b><br/>AI-ready content extraction</td> </tr> <tr> <td>๐ <b>Global Access</b><br/>Bypass geo-restrictions automatically</td> <td>๐ก๏ธ <b>Anti-Bot Protection</b><br/>Never get blocked or rate-limited</td> </tr> <tr> <td>๐ค <b>Browser Automation</b><br/>Control real browsers remotely (Pro)</td> <td>โก <b>Lightning Fast</b><br/>Optimized for minimal latency</td> </tr> </table>๐ฏ Example Queries That Just Work
โ
"What's Tesla's current stock price?"
โ
"Find the best-rated restaurants in Tokyo right now"
โ
"Get today's weather forecast for New York"
โ
"What movies are releasing this week?"
โ
"What are the trending topics on Twitter today?"
โ
"What's the latest version of express on npm?"
โ
"Get the README for the langchain-brightdata PyPI package"
๐ฌ Demos
<details> <summary><b>View Demo Videos</b></summary>Note: These videos show earlier versions. New demos coming soon! ๐ฅ
Basic Web Search Demo
https://github.com/user-attachments/assets/59f6ebba-801a-49ab-8278-1b2120912e33
Advanced Scraping Demo
https://github.com/user-attachments/assets/61ab0bee-fdfa-4d50-b0de-5fab96b4b91d
๐บ More tutorials on YouTube โ
</details>๐ง Available Tools
โก Rapid Mode Tools (Default - Free)
| Tool | Description | Use Case |
|---|---|---|
๐ search_engine | Web search with AI-optimized results | Research, fact-checking, current events |
๐ scrape_as_markdown | Convert any webpage to clean markdown | Content extraction, documentation |
๐ฏ discover | AI-ranked web search with intent-based relevance scoring | Deep research, RAG pipelines, competitive analysis |
๐ Pro Mode Tools (60+ Tools)
<details> <summary><b>Click to see all Pro tools</b></summary>| Category | Tools | Description |
|---|---|---|
| Browser Control | scraping_browser.* | Full browser automation |
| Web Data APIs | web_data_* | Structured data extraction |
| E-commerce | Product scrapers | Amazon, eBay, Walmart data |
| Social Media | Social scrapers | Twitter, LinkedIn, Instagram |
| Maps & Local | Location tools | Google Maps, business data |
๐ View complete tool documentation โ
</details>๐ฎ Try It Now!
๐งช Online Playground
Try the Web MCP without any setup:
<div align="center"> <a href="https://brightdata.com/ai/playground-chat"> <img src="https://img.shields.io/badge/Try_on-Playground-00C7B7?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDJMMyA3VjE3TDEyIDIyTDIxIDE3VjdMMTIgMloiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=" alt="Playground"/> </a> </div>๐ง Configuration
Basic Setup
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "your-token-here"
}
}
}
}
Advanced Configuration
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "your-token-here",
"PRO_MODE": "true", // Enable all 60+ tools
"RATE_LIMIT": "100/1h", // Custom rate limiting
"WEB_UNLOCKER_ZONE": "custom", // Custom unlocker zone
"BROWSER_ZONE": "custom_browser", // Custom browser zone
"POLLING_TIMEOUT": "600" // Polling timeout in seconds (default: 600)
}
}
}
}
Environment Variables
| Variable | Description | Default | Example |
|---|---|---|---|
API_TOKEN | Your Bright Data API token (required) | - | your-token-here |
PRO_MODE | Enable all 60+ tools | false | true |
RATE_LIMIT | Custom rate limiting | unlimited | 100/1h, 50/30m |
WEB_UNLOCKER_ZONE | Custom Web Unlocker zone name | mcp_unlocker | my_custom_zone |
BROWSER_ZONE | Custom Browser zone name | mcp_browser | my_browser_zone |
POLLING_TIMEOUT | Timeout for web_data_* tools polling (seconds) | 600 | 300, 1200 |
BASE_TIMEOUT | Request timeout for base tools in seconds (search & scrape) | No limit | 60, 120 |
BASE_MAX_RETRIES | Max retries for base tools on transient errors (0-3) | 0 | 1, 3 |
GROUPS | Comma-separated tool group IDs | - | ecommerce,browser |
TOOLS | Comma-separated individual tool names | - | extract,scrape_as_html |
Notes:
POLLING_TIMEOUTcontrols how long web_data_* tools wait for results. Each second = 1 polling attempt.- Lower values (e.g., 300) will fail faster on slow data collections.
- Higher values (e.g., 1200) allow more time for complex scraping tasks.
๐ Documentation
<div align="center"> <table> <tr> <td align="center"> <a href="https://docs.brightdata.com/mcp-server/overview"> <img src="https://img.shields.io/badge/๐-API_Docs-blue?style=for-the-badge" alt="API Docs"/> </a> </td> <td align="center"> <a href="https://github.com/brightdata-com/brightdata-mcp/blob/main/examples"> <img src="https://img.shields.io/badge/๐ก-Examples-green?style=for-the-badge" alt="Examples"/> </a> </td> <td align="center"> <a href="https://github.com/brightdata-com/brightdata-mcp/blob/main/CHANGELOG.md"> <img src="https://img.shields.io/badge/๐-Changelog-orange?style=for-the-badge" alt="Changelog"/> </a> </td> <td align="center"> <a href="https://brightdata.com/blog/ai/web-scraping-with-mcp"> <img src="https://img.shields.io/badge/๐-Tutorial-purple?style=for-the-badge" alt="Tutorial"/> </a> </td> </tr> </table> </div>๐จ Common Issues & Solutions
<details> <summary><b>๐ง Troubleshooting Guide</b></summary>โ "spawn npx ENOENT" Error
Solution: Install Node.js or use the full path to node:
"command": "/usr/local/bin/node" // macOS/Linux
"command": "C:\\Program Files\\nodejs\\node.exe" // Windows
โฑ๏ธ Timeouts on Complex Sites
Solution: Increase timeout in your client settings to 180s
๐ Authentication Issues
Solution: Ensure your API token is valid and has proper permissions
๐ก Remote Server Connection
Solution: Check your internet connection and firewall settings
</details>๐ค Contributing
We love contributions! Here's how you can help:
- ๐ Report bugs
- ๐ก Suggest features
- ๐ง Submit PRs
- โญ Star this repo!
Please follow Bright Data's coding standards.
๐ Support
<div align="center"> <table> <tr> <td align="center"> <a href="https://github.com/brightdata-com/brightdata-mcp/issues"> <strong>๐ GitHub Issues</strong><br/> <sub>Report bugs & features</sub> </a> </td> <td align="center"> <a href="https://docs.brightdata.com/mcp-server/overview"> <strong>๐ Documentation</strong><br/> <sub>Complete guides</sub> </a> </td> <td align="center"> <a href="mailto:support@brightdata.com"> <strong>โ๏ธ Email</strong><br/> <sub>support@brightdata.com</sub> </a> </td> </tr> </table> </div>๐ License
MIT ยฉ Bright Data Ltd.
<div align="center"> <p> <strong>Built with โค๏ธ by</strong><br/> <a href="https://brightdata.com"> <img src="https://idsai.net.technion.ac.il/files/2022/01/Logo-600.png" alt="Bright Data" height="120"/> </a> </p> <p> <sub>The world's #1 web data platform</sub> </p> <br/> <p> <a href="https://github.com/brightdata-com/brightdata-mcp">โญ Star us on GitHub</a> โข <a href="https://brightdata.com/blog">Read our Blog</a> </p> </div>
Related MCP servers
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.
Chrome DevTools MCP
Give your AI coding agent full control of a live Chrome browser for automation, debugging, and performance analysis.
com.puter/mcp-server
Let AI agents manage your Puter files, websites, and serverless workers over MCP.
Browser automation for AI agents via MCP, powering ByteDance's Agent TARS hybrid GUI/DOM browser control.
Run arbitrary shell commands from an MCP-connected AI agent.
Filesystem access MCP server from ByteDance's UI-TARS/Agent TARS ecosystem.