
brightdata-plugin
Web scraping, search, and data extraction plugin that gives Claude Code live access to the web.
- GitHub stars
- 36.5K
What it does
- Adds 21 skills (including
search,scrape,data-feeds,discover-api, andbright-data-mcp) covering search, scraping, and structured extraction through Bright Data - Covers 40+ sites via pre-built scrapers for Amazon, LinkedIn, Instagram, TikTok, and YouTube, plus Google search returning structured JSON
- Includes SDK guides for the Python and JavaScript/TypeScript packages, plus proxy code for Datacenter, ISP, Residential, and Mobile networks
- Designed for agents doing live research, competitive intelligence, or RAG pipelines that need web data beyond their training
Web scraping, Google search, structured data extraction, and MCP server integration powered by Bright Data. Includes 7 skills: scrape any webpage as markdown (with bot detection/CAPTCHA bypass), search Google with structured JSON results, extract data from 40+ websites (Amazon, LinkedIn, Instagram, TikTok, YouTube, and more), orchestrate Bright Data's 60+ MCP tools, built-in best practices for Web Unlocker, SERP API, Web Scraper API, and Browser API, Python SDK best practices for the brightda...
Add marketplace
/plugin marketplace add anthropics/knowledge-work-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install brightdata-plugin@knowledge-work-pluginsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceBright Data — Agent Onboarding
Bright Data gives agents reliable access to the open web: SERP results that look like a real browser, clean markdown from any URL (with CAPTCHA + JS handled), structured data from thousands of pre-built scrapers (Amazon, LinkedIn, Instagram, TikTok, YouTube, Reddit, Crunchbase, …), and a Browser API for pages that need real interaction.
This skill is the entry point. Read it once, pick a path, then hand off to the narrower skill that owns that path.
Install
One command installs the CLI and the agent skills, and walks the human through OAuth in the browser:
# macOS / Linux — fastest install
curl -fsSL https://cli.brightdata.com/install.sh | bash
# Cross-platform (or if you don't want the install script)
npm install -g @brightdata/cli
# One-off, no install
npx --yes --package @brightdata/cli brightdata <command>
Requires Node.js >= 20. After install, both brightdata and bdata
(shorthand) are available.
Then authenticate once:
bdata login
This single command:
- Opens the browser for OAuth (or use
bdata login --deviceon headless / SSH machines) - Saves the API key locally — you never need to paste a token again
- Auto-creates the required proxy zones (
cli_unlocker,cli_browser) - Sets sensible default configuration
For non-interactive setups you can pass the key directly:
bdata login --api-key <key>
# or
export BRIGHTDATA_API_KEY=<key>
Verify the install before doing real work:
bdata version
bdata config # confirms auth + zones
bdata zones # should list cli_unlocker, cli_browser
bdata budget # confirms account + balance
Branch deterministically on the result — don't eyeball it:
- If
bdata configorbdata budgetexits non-zero, route to Path C (auth) before continuing. - If either exits zero but its output contains an auth or zone error
string (e.g.
unauthorized,invalid api key,not logged in,no such zone,zone not found), treat it as a failure and route to Path C. - Only proceed to a path below when both commands exit zero and show
an authenticated account with the
cli_unlocker/cli_browserzones.
Install agent skills (optional, recommended)
The CLI ships an installer that drops Bright Data skills directly into your coding agent's skill directory:
# Interactive picker — choose skills + target agent
bdata skill add
# Install a specific skill
bdata skill add scrape
bdata skill add data-feeds
bdata skill add competitive-intel
# See everything available
bdata skill list
These are the skills you'll hand off to from the paths below
(scrape, search, data-feeds, scraper-builder,
brightdata-cli, bright-data-mcp, …).
Choose your path
All paths share the same install + auth above. The difference is what you do next.
| Situation | Path |
|---|---|
| Need web data during this session | Path A — live CLI tools |
| Need to add Bright Data to app code | Path B — SDK / REST integration |
| Want a drop-in tool layer for an LLM agent | Path M — MCP server |
| Need an API key first | Path C — auth only |
| Don't want to install anything | Path D — REST API directly |
If your task spans paths, do them in order: auth → live tools to explore → app integration once the shape is known.
Path A — Live web tools (CLI)
Use this when the agent itself needs web data right now: discovering URLs, fetching clean content, pulling structured records from a known platform, or running a quick competitive scan.
After install + login, hand off to the narrower skills:
brightdata-cli— overall command surface (scrape,search,pipelines,zones,budget,config)search— discovery viabdata search(Google / Bing / Yandex SERP, structured JSON)scrape— clean content from a known URL viabdata scrape(markdown / HTML / JSON / screenshot)data-feeds— structured records from thousands of pre-built scrapers viabdata pipelines search/info/run(Amazon, LinkedIn, Instagram, TikTok, YouTube, Reddit, Crunchbase, Google Maps, …)discover-api— intent-ranked semantic web search viabdata discover(relevance-scored results + optional page content)scraper-studio— generate and run an AI-built scraper from a plain-English description viabdata scraper create/bdata scraper runcompetitive-intel— packaged competitor / pricing / review / hiring / SEO analyses on top of the CLIprice-comparison— "where is this cheapest, in stock?" across Amazon, Walmart, eBay, Best Buy, Google Shopping, into one ranked tablebrand-listening— social-listening / sentiment digest of what people are saying about a brand across Reddit, X, TikTok, news, reviewslive-research— multi-query Discover → dedup → a cited research briefseo-audit— sitemap-stratified live SEO audits
Default flow for live web work:
- Search first when you need discovery
bdata search "query" --json - Pipelines next if a pre-built scraper covers the site — you get
structured JSON with no parsing. Look it up, never guess the
dataset_idor fields:bdata pipelines search "<site or data type>", thenbdata pipelines info <dataset_id> <method>, thenbdata pipelines run <dataset_id> <method> "<url>" - Scrape when you have a URL and no platform pipeline applies
bdata scrape "https://example.com" -f markdown - Browser API only when the page truly needs clicks, forms, or
login (see the
brightdata-cliskill forbdata browserand thebright-data-best-practicesbrowser-api reference)
When the task shifts from "fetch data now" to "wire this into an app," switch to Path B.
Path B — Integrate Bright Data into an app
Use this when you're building an application, agent, or workflow that
calls Bright Data from code and needs BRIGHTDATA_API_KEY (and a
zone) in .env or runtime config.
The required question on this path is:
What should Bright Data do in the product?
Use the answer to pick the API:
| Job in product | API | Skill |
|---|---|---|
| Fetch a single page as markdown / HTML / JSON | Web Unlocker | bright-data-best-practices → web-unlocker.md |
| Search engine results in structured JSON | SERP API | bright-data-best-practices → serp-api.md |
| Structured records from supported platforms | Web Scraper API | bright-data-best-practices → web-scraper-api.md |
| JS-heavy / interactive pages with Playwright/Puppeteer | Browser API | bright-data-best-practices → browser-api.md |
| Build a custom scraper for an arbitrary site | All four, picked by site shape | scraper-builder |
Pick a stack
-
Python → use the official SDK
pip install brightdata-sdkHand off to
python-sdk-best-practicesfor client setup (async/sync), platform scrapers, SERP, datasets, Browser API, and error handling. -
Node / TypeScript → use the official JS/TS SDK
npm install @brightdata/sdkHand off to
js-sdk-best-practicesfor client setup (bdclient), platform scrapers, SERP, Discover, datasets, Browser API, Scraper Studio, and error handling. -
Shell / other languages → call the REST API directly (Path D below has the endpoints), or use the CLI as a library via
npx @brightdata/cli. -
Raw proxy access (route HTTP through Bright Data IPs) → hand off to
proxyfor network/pool choice, thebrd-customer-username format, SSL CA setup, and framework integrations. -
Web-grounded retrieval / RAG for an LLM → hand off to
rag-pipeline(Discover as the retrieval / ingestion layer). -
LLM tool layer (Claude, ChatGPT, etc.) → use the MCP server (Path M).
Set credentials
BRIGHTDATA_API_KEY=...
BRIGHTDATA_UNLOCKER_ZONE=cli_unlocker # created automatically by `bdata login`
BRIGHTDATA_SERP_ZONE=cli_unlocker # or a dedicated SERP zone
If you don't have a key yet, do Path C first.
Smoke test before writing real code
Always run one real Bright Data request before scaling up integration work — catches auth, zone, and quota issues before they hide inside your app's error paths.
# Web Unlocker via REST
curl -sS https://api.brightdata.com/request \
-H "Authorization: Bearer $BRIGHTDATA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"zone": "'"$BRIGHTDATA_UNLOCKER_ZONE"'",
"format": "raw",
"data_format": "markdown"
}' | head -40
If this prints clean markdown, you're wired up. If not, check the zone name and key.
Path M — MCP server (LLM tool layer)
Use this when the consumer is an LLM agent that should call Bright Data as tools (e.g., Claude Code, ChatGPT desktop, custom agent loops). The MCP server exposes 30+ tools — search, scrape, structured data from 1,200+ pre-built scrapers, browser automation — over a single URL.
Connect with:
https://mcp.brightdata.com/mcp?token=YOUR_BRIGHTDATA_API_TOKEN
All tools are on by default. Add &groups= (scrapers, browser,
advanced_scraping, geo) or &tools= to limit them.
Hand off to the bright-data-mcp skill for tool selection and workflow
patterns. That skill explicitly replaces
WebFetch / WebSearch with Bright Data MCP equivalents.
MCP requests run on the Unlocker API and draw from the same monthly free-credit pool described under Path C — there's no separate MCP allowance.
Path C — Get an API key (auth only)
Use this when the human still needs to sign up, sign in, or generate
a key. Skip this path if bdata config already shows an authenticated
account, or if BRIGHTDATA_API_KEY is already set in the environment.
Free tier — no card needed to start. Every new account gets 5,000 free credits / month (~$7.50) from one shared pool, so you can build and test before depositing anything. The docs are the source of truth for these numbers: https://docs.brightdata.com/general/account/billing-and-pricing/free-tier
- Shared pool across Unlocker API, SERP API, Web Scraper API, and Scraper Studio — 1 credit per request/record (Scraper Studio: 1 credit per page load).
- Bright Data MCP server requests draw from the same pool — MCP runs on the Unlocker API.
- Hard stop when credits run out if no funds are deposited — never a surprise bill.
- Credits reset on the 1st of each month and do not roll over.
- Not covered by monthly credits: Proxy products and the Browser API. Those use a separate one-time $2 trial (7 days) plus a $5 bonus (30 days) after adding a payment method.
- Not eligible: custom-PAYG and pre-commit plans.
Easiest: use the CLI's OAuth flow
bdata login # browser-based OAuth
bdata login --device # headless / SSH (device-code flow)
This handles signup-or-signin, key generation, zone creation, and local config in one step. Prefer this over manual flows.
Manual: dashboard
If the human prefers the web UI:
- Go to https://brightdata.com/cp (sign up if needed)
- Create a Web Unlocker zone ("Add" → "Unlocker zone")
- Copy the API key from the dashboard
- Save it where the rest of the app reads secrets:
echo "BRIGHTDATA_API_KEY=..." >> .env
echo "BRIGHTDATA_UNLOCKER_ZONE=<zone-name>" >> .env
Verify
bdata budget # any successful response means the key works
If verification fails, the key is wrong, the zone is wrong, or the account has no active subscription — surface the error to the human rather than guessing.
Path D — Use Bright Data without installing anything
Use this when the environment can't run npm / curl | bash, or
when you only need one or two requests and don't want the CLI / SDK.
Works for both live agent work and app integration.
You still need an API key and a zone. Two ways to get them:
- Human pastes it in — if a key already exists, set
BRIGHTDATA_API_KEY=...andBRIGHTDATA_UNLOCKER_ZONE=...in the environment - Browser flow — do Path C; the dashboard issues both
Base URL: https://api.brightdata.com
Auth header: Authorization: Bearer $BRIGHTDATA_API_KEY
Core endpoints
# Web Unlocker — clean content from any URL
POST /request
{
"url": "https://target.com",
"zone": "<unlocker-zone>",
"format": "raw",
"data_format": "markdown" // or "html", "screenshot", "parsed_light"
}
# SERP API — structured search results
# Use the same /request endpoint with a SERP zone and a search URL,
# adding `brd_json=1` to receive parsed JSON instead of raw HTML.
POST /request
{
"url": "https://www.google.com/search?q=web+scraping&brd_json=1",
"zone": "<serp-zone>",
"format": "raw"
}
# Web Scraper API — structured data from pre-built scrapers (async)
POST /datasets/v3/trigger?dataset_id=<id>
[ { "url": "https://amazon.com/dp/B09V3KXJPB" } ]
# then poll
GET /datasets/v3/snapshot/<snapshot_id>?format=json
For the full parameter surface (special headers like
x-unblock-expect, async response IDs, dataset progress states,
Browser API CDP commands), read the bright-data-best-practices
skill — its references are the source of truth for REST-level work.
Documentation
- Product docs: https://docs.brightdata.com
- LLM-friendly docs index: https://docs.brightdata.com/llms.txt
- Dashboard (zones, keys, billing): https://brightdata.com/cp
After onboarding — where to go next
Once the agent is set up, route the work to the narrowest skill that fits. Quick map:
| User says… | Skill |
|---|---|
| "scrape this URL" / "get this page" | scrape |
| "search Google for…" / "find URLs about…" | search |
| "find pages about matching " / "semantic / intent search" | discover-api |
| "get Amazon / LinkedIn / Instagram / TikTok / YouTube / Reddit data" | data-feeds |
| "build a scraper for " (I want runnable code I own) | scraper-builder |
| "generate a scraper from a description" / "bdata scraper run" (AI-built, no code) | scraper-studio |
| "analyze my competitor" / "competitor's pricing strategy" / "market landscape" | competitive-intel |
| "compare prices" / "cheapest place to buy X" / "price check" (shopping) | price-comparison |
| "what are people saying about us" / "monitor mentions" / "brand sentiment" | brand-listening |
| "research deeply" / "write a cited brief" | live-research |
| "build a RAG pipeline" / "add web search to my LLM" / "ground my model" | rag-pipeline |
| "audit SEO" / "rank check" / "schema check" | seo-audit |
| "make my app look like " / "mirror this design" | design-mirror |
| "write Bright Data code in Python" | python-sdk-best-practices |
| "write Bright Data code in JS / TypeScript" | js-sdk-best-practices |
| "route requests through a Bright Data proxy" / "brd-customer- username" | proxy |
| "plug Bright Data into my LLM agent" | bright-data-mcp |
| "use the CLI" / "run from terminal" | brightdata-cli |
| "debug a Browser API / Scraping Browser session" | brd-browser-debug |
When in doubt, prefer the more specific skill: data-feeds over
scrape for supported platforms, scraper-builder over scrape for
multi-page extraction, bright-data-mcp over brightdata-cli when
the consumer is an LLM agent rather than a human at a terminal.
Two pairs are easy to confuse:
scraper-buildervsscraper-studio—scraper-builderwrites a scraper you own and run yourself (real code + selectors + pagination).scraper-studioturns a URL + plain-English description into an AI-generated Bright Data collector you run viabdata scraper create/bdata scraper run— no code to maintain.competitive-intelvsprice-comparison—competitive-intelis business analysis of a competitor's pricing strategy and positioning;price-comparisonis consumer purchase research ("where is this product cheapest and in stock").
Readme
Bright Data Skills
Teach any coding agent to get web data: scrape, fetch, search, browse, and watch the bill
Quick Start • Skills • Agent Onboarding • Scrape • Datasets • Fetch • Search • Browser • Billing • CLI, MCP, SDK
Overview
A skill is a folder with a SKILL.md and, where needed, reference files and scripts. Any agent that reads SKILL.md files can use these: Claude Code, Codex, Cursor, and others. Nothing here is tied to one agent.
With the skills installed, an agent can:
- Scrape any site for structured data with ready scrapers, or build a new scraper in Scraper Studio when none fits
- Find a ready dataset when the data is already collected, and hand the purchase to a person instead of scraping it
- Fetch a blocked page through Web Unlocker as markdown, HTML, or a screenshot
- Search Google and other engines and get structured JSON, including the AI answer engines
- Drive a cloud browser with the user's own Playwright, Puppeteer, or Selenium code
- Check balance and costs before and after every job
- Pick the right surface for the task: CLI for the terminal, MCP for agents that decide at run time, SDK for code the user keeps
Quick Start
Add the skills to your project, for any coding agent (needs Node.js and git):
npx -y skills add brightdata/skills -y
For one skill, add --skill <name>, for example --skill scrape. In Windows PowerShell, use npx.cmd if scripts are blocked. No Node? Clone this repo and copy the folders under skills/ into the folder where your agent reads skills (many agents use .agents/skills).
Then start with agent-onboarding: it installs the Bright Data CLI (needs Node.js 20 or later) and logs in once. The user approves in a browser, on this machine or any other device, and the key never touches the chat. Without Node it falls back to the REST API with BRIGHTDATA_API_KEY.
The Skills
| Skill | What it does |
|---|---|
agent-onboarding | Start here. Installs the CLI and the skills, logs in once, and routes every ask to the right skill |
scrape | Structured data from any site: ready scrapers, Scraper Studio, and scripts that look scrapers up in the catalogue |
instagram | Instagram profiles, posts, reels and comments as JSON, by URL or for an account's recent posts |
datasets | Check whether the Dataset Marketplace already sells the data, and route the purchase to a person |
fetch | One URL in, unblocked page out: markdown, HTML, or a screenshot |
search | Anything that starts from a query: SERP API, Google verticals, the top-100 job, answer engines |
browser | Point Playwright, Puppeteer, or Selenium code at the cloud browser |
billing | Balance, charges, and what a job will cost |
brightdata-cli | The bdata command line |
brightdata-mcp | The MCP server, for agents that decide at run time |
brightdata-sdk | The Python and Node.js SDKs, for code the user keeps |
Agent Onboarding
The entry point. It installs everything, handles the one-time login without ever pasting a key into chat, registers an account by email when the user has none, fixes the common Windows and PATH problems, and routes the task to the right skill. The other ten assume it ran once.
Scrape
Structured data from any site. The skill checks what already exists before spending anything: a bundled top-25 table costs zero calls, and one free call searches the live scraper catalogue. When a ready scraper fits, it runs it. When none fits, Scraper Studio builds one from a plain-language prompt, heals it when the site changes, and runs single URLs synchronously or whole URL lists as one batch.
Datasets
Not scraping. When the data is already collected and sold as a download, a huge generic corpus, needed once, where a few months old is fine, the agent checks coverage with free reads (plus, for an id the catalogue does not list, one probe that can start a billed job) and hands the purchase to a person in the control panel.
Fetch
One URL in, unblocked page out through Web Unlocker: markdown for reading, HTML for parsing, or a screenshot, with bdata scrape.
Search
Anything that starts from a query. SERP API for structured results (web, news, images and shopping tabs), the Google verticals with a scraper of their own (Maps, Shopping, Flights, Hotels, Images), the top-100 job for deep rank tracking in one request, and the AI answer engines (ChatGPT, Perplexity, Gemini, Google AI Mode) with their verified dataset ids.
Browser
For the user's own browser automation code. The skill hands Playwright, Puppeteer, or Selenium the right connect string for the cloud browser, which does the unblocking, and explains the errors that only show up in cloud sessions.
Billing
Balance, charges by product and by zone, and what a job will cost before it runs. REST first; the reference marks which facts were checked against the live cost APIs.
The Interface Guides
Three thin skills answer "which door do I use": brightdata-cli for one-off checks typed at a shell, brightdata-mcp for AI apps that pick tools at run time, and brightdata-sdk for code the user keeps and schedules.
License
MIT
Details
- Marketplace
- anthropics/knowledge-work-plugins
- Source
- https://github.com/brightdata/skills.git
- Category
- Community
- Listed since
- Apr 7, 2026
More from anthropics/knowledge-work-plugins
All 123Similar to brightdata-plugin
More Browser Automation & Scraping
Brightdata McpMCP serverbrightdata2.7K starsWeb search and page scraping over MCP, with bot-detection bypass and structured data from 1,200+ pre-built scrapers.
bright-data-mcpSkillbrightdata/skills1.1K installsWeb data access server that scrapes pages and searches the web for clean markdown or JSON output.
firecrawlPluginanthropics/claude-plugins-official47.9K starsWeb scraping and crawling powered by Firecrawl. Turn any website into clean, LLM-ready markdown or structured data. Scrape single pages, crawl entire sites, sea
nimblePluginanthropics/knowledge-work-plugins36.5K starsNimble web data toolkit — search, extract, map, crawl the web and work with structured data agents
exaPluginanthropics/knowledge-work-plugins36.5K starsExa AI web search, deep research, and content extraction. Provides MCP tools and research skills for comprehensive web search, people discovery, company researc