Bright Data Web MCP

Bright Data Web MCP

Enables LLMs and AI agents to access real-time web data, search websites, and navigate the web without getting blocked. Includes 5,000 free monthly requests and supports web scraping, browser automation, and bypassing geo-restrictions.

Category
访问服务器

README

<p align="center"> <a href="https://brightdata.com/ai/mcp-server"> <img src="https://github.com/user-attachments/assets/c21b3f7b-7ff1-40c3-b3d8-66706913d62f" alt="Bright Data Logo"> </a>

<h1 align="center">The Web MCP</h1> <h3 align="center">Enhance your LLM and AI agents with real-time web access</h3>

<p align="center"> <a href="https://heroku.com/deploy?template=https://github.com/dsouza-anush/brightdata-mcp-heroku"> <img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy to Heroku"> </a> </p>

<div align="center">

<p align="center"> <img src="https://img.shields.io/npm/v/@brightdata/mcp?label=version"
alt="npm version"/> </p>

<p align="center"> <img src="https://img.shields.io/npm/dw/@brightdata/mcp"
alt="npm downloads"/> <a href="https://smithery.ai/server/@luminati-io/brightdata-mcp"> <img src="https://smithery.ai/badge/@luminati-io/brightdata-mcp"
alt="Smithery score"/> </a> </p>

</div>

🌟 Overview

Welcome to the official Bright Data's Web MCP server, solving web access for LLMs and AI agents by allowing them to effectively search, extract and navigate the web without getting blocked. The Web MCP supports all major LLMs, IDEs and agent frameworks (either locally hosted, SSE or Streamable HTTP), enabling your tools to seamlessly search the web, navigate websites, take action and retrieve data - without getting blocked.

🚀 The Web MCP includes 5,000 free requests each month - ideal for your everyday use and for prototyping smart agentic workflows.

MCP

Note: The Web MCP free tier offers 5,000 requests per month for the first 3 months. After that, a credit card will be required, but there will be no extra charges unless premium features like mcp_browser or Web Scrapers are used.

Table of Content

🎬 Demo

The videos below demonstrate a minimal use case for Claude Desktop:

https://github.com/user-attachments/assets/59f6ebba-801a-49ab-8278-1b2120912e33

https://github.com/user-attachments/assets/61ab0bee-fdfa-4d50-b0de-5fab96b4b91d

For more YouTube tutorials and demos: Demo

✨ Features

  • Real-time Web Access: Access up-to-date information directly from the web
  • Bypass Geo-restrictions: Access content regardless of location constraints
  • Web Unlocker: Navigate websites with bot detection protection
  • Browser Control: Remote browser automation capabilities
  • Seamless Integration: Works with all MCP-compatible AI assistants

💡 Usage Examples

Some example queries that this MCP server will be able to help with:

  • "Google some movies that are releasing soon in [your area]"
  • "What's Tesla's current market cap?"
  • "What's the Wikipedia article of the day?"
  • "What's the 7-day weather forecast in [your location]?"
  • "Of the 3 highest paid tech CEOs, how long have their careers been?"

Quickstart with Cursor

Install MCP Server

🚀 Quickstart with hosted MCP on Claude Desktop

Through Connectors:

  1. Open Claude Desktop

  2. Go to: Settings → Connectors → Add custom connector

  3. Choose a Name, and in the “Remote MCP server URL” section, paste:

https://mcp.brightdata.com/mcp?token=YOUR_API_TOKEN_HERE
  1. Replace YOUR_API_TOKEN_HERE with your actual API token from Step 1, and click “Add”

Through Developer Settings:

  1. Open Claude Desktop

  2. Go to: Settings → Developer → Edit Config

  3. Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "Bright Data": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.brightdata.com/mcp?token=YOUR_API_TOKEN_HERE"
      ]
    }
  }
}
  1. Replace YOUR_API_TOKEN_HERE with your actual API token from Step 1

  2. Save and restart Claude Desktop

💻 Use with self hosted MCP on Claude Desktop

Through Claude Desktop Extension:

  1. Download the Claude Desktop Extension:
    📦 Bright Data's MCP Extension

  2. Open Claude and go to:
    SettingsExtensions

  3. Drag the .dtx file from Step 1 into the dropping area.

  4. Enable the service and restart Claude.

  5. Enjoy!

Through claude_desktop_config.json:

  1. Install nodejs to get the npx command (node.js module runner). Installation instructions can be found on the node.js website

  2. Go to Claude > Settings > Developer > Edit Config > Edit "claude_desktop_config.json" to include the following:

{
  "mcpServers": {
    "Bright Data": {
      "command": "npx",
      "args": ["@brightdata/mcp"],
      "env": {
        "API_TOKEN": "<insert-your-api-token-here>"
      }
    }
  }
}

🛸 Or for more advanced options:

{
  "mcpServers": {
    "Bright Data": {
      "command": "npx",
      "args": ["@brightdata/mcp"],
      "env": {
        "API_TOKEN": "<insert-your-api-token-here>",
        "RATE_LIMIT": "<optional if you want to change rate limit format: limit/time+unit, e.g., 100/1h, 50/30m, 10/5s>",
        "WEB_UNLOCKER_ZONE": "<optional if you want to override the web unlocker zone name - default is mcp_unlocker>",
        "BROWSER_ZONE": "<optional if you want to override the browser zone name - defaults is mcp_browser>",
        "# Note: All tools are available by default in this Heroku version"
      }
    }
  }
}

🔧 Available Tools

Important: Pro mode is not included in the free tier and will incur additional charges. If you choose to use Pro mode, you’ll gain access to all 60 tools but please be aware of the associated costs.

List of Available Tools

Note: This Heroku version includes all tools by default, including browser automation and web data extraction tools.

⚠️ Security Best Practices

Important: Always treat scraped web content as untrusted data. Never use raw scraped content directly in LLM prompts to avoid potential prompt injection risks. Instead:

  • Filter and validate all web data before processing
  • Use structured data extraction rather than raw text (web_data tools)

🔧 Account Setup

  1. Make sure you have an account on brightdata.com (new users get free credit for testing, and pay as you go options are available)

  2. Get your API key from the user settings page, or from the welcome email you received

Optional:

  1. All tools are available by default in this version.

  2. Configure rate limiting:

    • Set the RATE_LIMIT environment variable to control API usage
    • Format: limit/time+unit (e.g., 100/1h for 100 calls per hour)
    • Supported time units: seconds (s), minutes (m), hours (h)
    • Examples: RATE_LIMIT=100/1h, RATE_LIMIT=50/30m, RATE_LIMIT=10/5s
    • Rate limiting is session-based (resets when server restarts)
  3. Create a custom Web Unlocker zone

    • By default, we create a Web Unlocker zone automatically using your API token
    • For more control, you can create your own Web Unlocker zone in your control panel and specify it with the WEB_UNLOCKER_ZONE environment variable
  4. Create a custom Browser API zone:

    • By default, we create a Browser API zone automatically using your API token.
    • For more control, you can create your own Browser API zone in your control panel and specify it with the BROWSER_ZONE environment variable

🔌 Other MCP Clients

To use this MCP server with other agent types, you should adapt the following to your specific software:

  • Before running the server, make sure the API_TOKEN=<your-token> environment variable is set
  • The full command to run the MCP server is npx @brightdata/mcp

💻 macOS / Linux (bash/zsh)

export API_TOKEN=your-token
npx @brightdata/mcp

🪟 Windows (Command Prompt)

set API_TOKEN=your-token
npx @brightdata/mcp

🪟 Windows (PowerShell)

$env:API_TOKEN="your-token"
npx @brightdata/mcp

💡 Tip: You can also use a .env file and a tool like dotenv to manage environment variables more easily during development.


🔄 Changelog

CHANGELOG.md

☁️ Deploy to Heroku

You can deploy this MCP server to Heroku with one click using the button below:

Deploy

After deployment, make sure to set the required environment variables in your Heroku app settings.

This MCP server is compatible with Heroku Inference and can be registered with your AI models. For detailed instructions, see the Heroku-specific documentation.

🎮 Try Bright Data MCP Playgrounds

Want to try Bright Data MCP without setting up anything?

Check out this playground on Smithery:

2025-05-06_10h44_20

This platform provides an easy way to explore the capabilities of Bright Data MCP without any local setup. Just sign in and start experimenting with web data collection!

⚠️ Troubleshooting

Timeouts when using certain tools

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 consume 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.

spawn npx ENOENT

This error occurs when your system cannot find the npx command. To fix it:

Finding npm/Node Path

macOS:

which node

Shows path like /usr/local/bin/node

Windows:

where node

Shows path like C:\Program Files\nodejs\node.exe

Update your MCP configuration:

Replace the npx command with the full path to Node, for example, on mac, it will look as follows:

"command": "/usr/local/bin/node"

👨‍💻 Contributing

We welcome contributions to help improve the Bright Data MCP! Here's how you can help:

  1. Report Issues: If you encounter any bugs or have feature requests, please open an issue on our GitHub repository.
  2. Submit Pull Requests: Feel free to fork the repository and submit pull requests with enhancements or bug fixes.
  3. Coding Style: All JavaScript code should follow Bright Data's JavaScript coding conventions. This ensures consistency across the codebase.
  4. Documentation: Improvements to documentation, including this README, are always appreciated.
  5. Examples: Share your use cases by contributing examples to help other users.

For major changes, please open an issue first to discuss your proposed changes. This ensures your time is well spent and aligned with project goals.

📞 Support

If you encounter any issues or have questions, please reach out to the Bright Data support team or open an issue in the repository.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选