brightdata-mcp: Empowering AI with Real-time Web Access and Data Scraping
Summary
The brightdata-mcp is a powerful Model Context Protocol (MCP) server developed by Bright Data, designed to give AI agents real-time web access. It provides an all-in-one solution for seamless public web interaction, ensuring Large Language Models (LLMs) can access live information without encountering blocks or CAPTCHAs. This open-source project offers robust web scraping, browser automation, and data extraction capabilities.
Repository Info
Tags
Click on any tag to explore related repositories
Introduction
brightdata-mcp is a powerful Model Context Protocol (MCP) server developed by Bright Data, designed to provide AI agents with seamless, real-time access to the public web. It acts as an all-in-one solution, enabling Large Language Models (LLMs) to interact with live web content without encountering common issues like blocks, rate limits, or CAPTCHAs. This open-source JavaScript project empowers AI with robust web scraping, browser automation, and structured data extraction capabilities, ensuring up-to-date and reliable information for various applications.
Installation
Getting started with brightdata-mcp is straightforward, offering both a hosted solution and local installation options.
Hosted Server (No Installation Needed)
For zero setup, you can use Bright Data's hosted MCP server. Simply add the following URL to your MCP client, replacing YOUR_API_TOKEN_HERE with your actual Bright Data API token:
https://mcp.brightdata.com/mcp?token=YOUR_API_TOKEN_HERE
Example for 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!
Run Locally
To run brightdata-mcp on your machine, you'll need Node.js installed. Configure your MCP client to execute the @brightdata/mcp package:
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "<your-api-token-here>"
}
}
}
}
Examples
brightdata-mcp simplifies complex web interactions for AI. Here are some examples of queries that your AI can now handle seamlessly:
- "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?"
For advanced tool selection, you can configure specific groups and tools:
{
"mcpServers": {
"Bright Data": {
"command": "npx",
"args": ["@brightdata/mcp"],
"env": {
"API_TOKEN": "<your-api-token-here>",
"GROUPS": "browser,advanced_scraping",
"TOOLS": "extract"
}
}
}
}
Why Use It
brightdata-mcp is an essential tool for anyone looking to equip AI with powerful web capabilities.
- Real-time Research: Access current prices, news, and live data for up-to-date insights.
- E-commerce & Market Analysis: Monitor products, prices, availability, competitors, and industry trends.
- AI Agents: Build intelligent agents that can truly browse and interact with the web.
- Content Creation: Gather accurate and current information for writing and analysis.
- Unblocking & Reliability: Benefit from enterprise-grade anti-bot protection, ensuring your AI never gets blocked or rate-limited.
- Versatility: Works with any LLM, including Claude, GPT, Gemini, and Llama.
- Free Tier: Start with 5,000 free requests per month, perfect for prototyping and everyday AI workflows.
Links
- GitHub Repository: https://github.com/brightdata/brightdata-mcp
- Official Documentation: https://docs.brightdata.com/mcp-server/overview
- Online Playground: https://brightdata.com/ai/playground-chat
- NPM Package: https://www.npmjs.com/package/@brightdata/mcp