Bright Data for AI Claude Code
Bright Data for Claude Code

Search and scrape the web
from Claude Code

Give Claude Code live web data to research sources, extract structured records, and build data-powered applications. Start with Bright Data skills and the CLI, add the Bright Data MCP server, or bring over the Bright Data connector from Claude.

Building for your team? Talk to an AI data specialist

Web searchPage extractionStructured dataBrowser automation
Get connected

Start with skills and the CLI

Install the tools in your project terminal, sign in to Bright Data, and give Claude Code the context to use them.

Your first Claude Code setup

Requires Node.js 20+, git, Claude Code, and a Bright Data account.

  1. Install the CLIThe global install puts bdata on your PATH so skills can call it.
  2. Authenticatebdata login opens your browser to authorize your account. On a remote machine, use bdata login --device.
  3. Add skills for Claude CodeRun the skills installer from your project directory and complete its prompts.
The verification commands confirm the CLI and skills are installed. To test a live request, run bdata scrape https://example.com; usage applies.
terminal · install and verify
# Requires Node.js 20+ and a Bright Data account
# Run in your project terminal
npm install -g @brightdata/cli
bdata login
npx skills add brightdata/skills -a claude-code

# Verify the CLI and skills installation
bdata --version
npx skills list -a claude-code

Prefer MCP tools inside Claude Code? Add the Bright Data MCP server →

Already using Claude?

Bring the Bright Data connector into Claude Code

Add Bright Data from the Claude directory once. Signed in to Claude Code with the same Claude account, you get the same tools in your terminal.

Bright Data connector for Claude

Search the live web and read public pages as clean markdown, one at a time or in batches. You sign in with your Bright Data account, so there is no API key to copy.

  1. Add the connectorOpen Bright Data in the Claude directory and connect it.
  2. Sign in to Bright DataApprove access with your Bright Data account. New accounts include 5,000 free requests a month.
  3. Check it in Claude CodeRun /mcp. Connectors from claude.ai appear in the list with a claude.ai label.
The connector covers search and page reading. For structured-data scrapers, Scraper Studio, and browser automation, add skills and the CLI or the full Bright Data MCP server.

Tools the connector adds

  • search_engineSearch Google or Bing and get structured results.
  • search_engine_batchRun several searches in one call.
  • scrape_as_markdownRead a public page as clean markdown.
  • scrape_batchRead several pages in one call.
Signed in to Claude Code with an API key instead of your Claude account? Connectors from claude.ai do not load. Run /status to check, then /login.
From prompt to data

Ask Claude Code to do more with the web

Try these prompts after setup. Start small, inspect the results, and expand the workflow when it works.

Research with sources

Find current information without leaving your coding workflow.

Use Bright Data to search for recent developments in web data for AI agents. Summarize the findings with source URLs and publication dates where available. Distinguish facts from inference.

Explore web searchRead the documentation for this workflow.
Extract structured data

Turn public pages into records your application can use.

Use Bright Data to extract the title, price, currency, rating, and source URL from the public product URLs I provide. Find a suitable pre-built scraper first. Return JSON and use null for missing values. Start with one URL before processing the rest.

Explore structured extractionRead the documentation for this workflow.
Build a data-powered app

Move from a working extraction to application code.

Read the Bright Data documentation and help me build a small app that retrieves public web data and displays the results. Keep credentials server-side, include error handling, and ask me to confirm the data source and fields before making live requests.

Explore the Python SDKRead the documentation for this workflow.

Example prompts, not precomputed results. Coverage, output, processing time, and costs depend on the source and product used.

Choose your workflow

Knowledge, commands, or native tools

Skills guide the agent. The CLI runs requests. MCP exposes tools. Documentation helps Claude Code choose the right approach.

Teach Claude Code how to use Bright Data

Skills provide reusable guidance for search, scraping, structured extraction, product selection, and more. The CLI executes the commands from Claude Code’s terminal.

Recommended for coding workflows where Claude Code can run terminal commands.
Claude Code · starter prompt
Read https://brightdata.com/SKILL.md.
Find the documentation relevant to my task, then read
those pages before choosing a Bright Data product.

Use the installed Bright Data skills and CLI to search
the web and extract the data I request. Include source
URLs, flag missing values, and ask before large runs.

Run requests from the terminal

Search engines return structured results. Scrape commands retrieve page content. Pipeline discovery helps you find a pre-built scraper for a particular site or data type.

Useful for testing an extraction before you build it into application code. Live requests consume usage.
terminal · example requests
# Search the web
bdata search "web data for AI agents" --engine google --json --pretty

# Read a public page
bdata scrape "https://example.com"

# Discover a structured-data scraper
bdata pipelines search linkedin profiles

Add the Bright Data MCP server

Add the hosted Bright Data MCP server when you want search, scraping, structured extraction, and browser tools in Claude Code’s tool list. Then run /mcp inside Claude Code, select bright-data, and sign in with your Bright Data account.

MCP is optional for the skills-and-CLI workflow. The server is added for the current project by default; add --scope user to use it in every project.
terminal · add the MCP server
# Add the hosted Bright Data MCP server
claude mcp add --transport http bright-data https://mcp.brightdata.com/mcp

# Confirm it is configured, then sign in from /mcp in Claude Code
claude mcp list
Built on Bright Data

Stay focused on the application,
not the collection infrastructure

Use the same underlying platform from your coding agent, terminal, or application code.

SearchGoogle, Bing, and Yandex results through the CLI.
ScrapePage content with anti-bot handling and JavaScript rendering.
ExtractPre-built scrapers for products, profiles, reviews, and more.
BrowseRemote browser sessions for interactive web workflows.

Review security, privacy, and responsible data-use information before deploying your workflow.

Visit the Trust Center →
Questions, answered

Using Bright Data with Claude Code

What do I need to use Bright Data with Claude Code?
For skills and the CLI, you need Claude Code, Node.js 20 or later, git (the skills installer clones the skills repository), and a Bright Data account. Install the CLI globally, authenticate with bdata login, then install the skills for Claude Code from your project directory. For the connector, you only need a Claude account and a Bright Data account.
Should I use the connector, the MCP server, or skills?
Use the Claude connector if you already work in Claude and want search and page reading everywhere you use it, including Claude Code. Add the Bright Data MCP server for the full set of tools, including structured extraction and browser automation. Add skills and the CLI for coding workflows: the skills teach Claude Code which Bright Data product fits the task, and the CLI runs it. You can use them together.
Why does the connector not show up in Claude Code?
Connectors from claude.ai load when you sign in to Claude Code with your Claude account. They do not load when Claude Code uses an API key, such as ANTHROPIC_API_KEY. Run /status to see which sign-in method is active, then run /login and choose your Claude account. On Team and Enterprise plans, an admin adds connectors.
Claude Code already has web search. Why add Bright Data?
Claude Code’s built-in web search returns titles and links, and its fetch tool passes pages through a smaller model before Claude sees them. Bright Data returns the page itself as clean markdown, handles blocked and JavaScript-heavy sites, and adds structured-data scrapers and browser sessions.
What is the difference between brightdata and bdata?
They are the same command. bdata is the shorthand alias for brightdata, and both come from the @brightdata/cli package. This page uses bdata throughout.
Where are the Claude Code skills installed?
Project skills are installed in .claude/skills/, the folder Claude Code reads in your project. Add -g to the install command for a global installation in ~/.claude/skills/ instead. Run npx skills list -a claude-code to inspect the installed skills and their locations.
What if Claude Code cannot find the CLI or skills?
Check bdata --version and npx skills list -a claude-code. The skills call the CLI, so a one-off npx CLI invocation is not a substitute for having the global CLI on PATH. If a newly installed command is not available in an existing terminal, open a new terminal and start Claude Code again. See the installation guide for platform-specific help.
Is Bright Data free to try?
Yes. Every Bright Data account includes 5,000 free requests a month, with no credit card required. Installing skills does not run a data collection; live requests count toward the allowance according to the product used. Check the free-tier documentation for product-specific details.
How should I handle credentials and collected data?
Use the documented sign-in flows and keep credentials out of prompts, source control, and client-side application code. The connector and the MCP sign-in keep your Bright Data API key out of your Claude Code configuration. Review the Trust Center and applicable terms before collecting or using data. Public availability does not remove your obligations around privacy, permissions, and data use.

Build with live web data
in Claude Code

Start with a single request. Bring Bright Data into the workflow you already use, then scale when you are ready.