bypassapi-mcp
v0.1.0MCP server for BypassAPI — web scraping + Cloudflare/CAPTCHA bypass for AI agents
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scrape
Fetch a single web page and return clean, LLM-ready content. Handles JavaScript rendering, Cloudflare challenges, and bot protection. Args: url: The page URL to fetch. formats: Which outputs to return, subset of ["markdown", "text", "html"]. Defaults to ["markdown"] (best for LLM reading). wait_for_selector: Optional CSS selector to wait for before capturing. wait_ms: Extra wait after load, in milliseconds (default 2000). screenshot: If true, also capture a screenshot. solve_cf: Force Cloudflare-challenge solving (slower; us…
| Parameter | Type | Description |
|---|---|---|
url * | string | |
formats | ||
screenshot | boolean | |
solve_cf | boolean | |
use_proxy | boolean | |
wait_for_selector | ||
wait_ms | integer |
extract
Extract specific structured data from a web page using an LLM. Fetches the page (bypassing protection) then pulls out exactly what you ask for. Args: url: The page URL. prompt: What to extract, e.g. "the product name, price, and rating". schema: Optional JSON Schema to force the output shape. solve_cf: Force Cloudflare-challenge solving if the page is blocked. Returns: Dict with `extracted_data` (the structured result) plus page metadata.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | |
url * | string | |
schema | ||
solve_cf | boolean |
crawl
Crawl a website by following links from a starting URL. Args: url: The starting URL. max_pages: Max pages to fetch (default 10). max_depth: How many link-hops deep to go (default 2). same_domain: Stay on the starting domain (default true). extract_prompt: If set, run LLM extraction on every crawled page. Returns: Dict with `pages` (list of scraped pages) and how many credits were used.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
extract_prompt | ||
max_depth | integer | |
max_pages | integer | |
same_domain | boolean |
map_site
Discover and list the URLs of a website (sitemap-style), without scraping content. Args: url: The site URL to map. max_pages: Max URLs to return (default 200). Returns: Dict with the discovered list of URLs.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
max_pages | integer |
batch
Scrape many URLs in one call (up to 50). Args: urls: List of page URLs (max 50). formats: Output formats per page (default ["markdown"]). Returns: Dict with `results`, one entry per URL.
| Parameter | Type | Description |
|---|---|---|
urls * | array | |
formats |
account
Check the BypassAPI account: remaining credits and usage.