Bright Data

v0.2.1
io.github.pipeworx-io/bright-data Checked 1 day ago Published 1 month ago

Bright Data MCP — Bright Data Web Unlocker + SERP API (brightdata.com)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

brightdata_unlock

Fetch any URL through Bright Data Web Unlocker — rotating residential proxies with automatic anti-bot bypass and CAPTCHA solving, built for the hardest-to-scrape sites (Cloudflare, PerimeterX, Akamai fronted). Returns the page content with status and length; large pages are truncated. Calls proxy the fetch synchronously and can take 10-30 seconds. BYOK: Bright Data API token via _apiKey + a Web Unlocker zone configured in your dashboard (first zone is auto-named "web_unlocker1"); pay-per-request pricing on the Bright Data side. Example: brightdata_unlock({ url: "https://example.com", _apiKey…

ParameterTypeDescription
_apiKey *stringYour Bright Data API token (account settings or zone Overview tab). Requires a Bright Data account with a Web Unlocker zone; sign up at https://brightdata.com
url *stringThe absolute URL to fetch, including scheme, e.g. "https://example.com/page"
countrystringTwo-letter ISO country code for the proxy exit location, e.g. "us", "gb", "de". Default: Bright Data auto-selects per your zone configuration.
formatstringResponse shape: "raw" (default — the target page body as a string) or "json" (a JSON envelope with status/headers/body metadata from Bright Data).
zonestringYour Web Unlocker zone name from the Bright Data control panel. Default "web_unlocker1" — the auto-generated name of the first Web Unlocker zone.

brightdata_serp

Run a Google search through the Bright Data SERP API and return parsed organic results (rank, title, link, description) with geo-targeting. Uses the same Bright Data request API with a SERP-type zone — create a SERP API zone in your Bright Data dashboard and pass its name as `zone` (Web Unlocker zones return raw HTML for Google). BYOK: Bright Data API token via _apiKey; pay-per-request pricing on the Bright Data side. Example: brightdata_serp({ query: "best espresso machine", zone: "serp_api1", country: "us", _apiKey: "your-brightdata-token" })

ParameterTypeDescription
_apiKey *stringYour Bright Data API token (account settings or zone Overview tab). Requires a Bright Data account with a SERP API zone; sign up at https://brightdata.com
query *stringThe Google search query, e.g. "best espresso machine 2026"
countrystringTwo-letter country code for localized results (sent as Google's `gl` parameter), e.g. "us", "gb", "jp". Optional.
numnumberMaximum organic results to return (client-side cap; Google serves ~10 per page — use `start` for deeper pages). Default 10.
startnumberPagination offset: 0 = first page (default), 10 = second page, 20 = third.
zonestringYour SERP API zone name from the Bright Data control panel (a SERP-type zone is required for parsed Google results). Default "serp_api1" — the typical auto-generated name; check your dashboard for t…