# Crawlbase [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/pipeworx-io/mcp-crawlbase  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1241  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/crawlbase

## Description
Crawlbase MCP — wraps the Crawlbase Crawling API (crawlbase.com, formerly

## Tools
Capabilities this server exposes over MCP:

- **crawlbase_scrape** — Scrape any website through Crawlbase rotating residential proxies with server-side anti-bot bypass (Cloudflare, DataDome, hCaptcha solved for you). Returns the page as HTML (default), clean markdown (format:"md" — great for LLM context), or a JSON envelope with metadata (format:"json"). JavaScript-heavy pages (SPAs) render when you pass your Crawlbase JavaScript token as _apiKey; the Normal token does fast static fetches. Example: crawlbase_scrape({ url: "https://example.com", format: "md", _apiKey: "your-crawlbase-token" })
- **crawlbase_screenshot** — Capture a screenshot of a rendered web page via Crawlbase (headless browser + rotating proxies, anti-bot bypass). Returns a stored screenshot_url (JPEG, link expires after about one hour) plus crawl metadata. Requires your Crawlbase JavaScript token as _apiKey — screenshots always render in a real browser. Captures the full page by default; pass mode:"viewport" with width/height to constrain. Example: crawlbase_screenshot({ url: "https://example.com", _apiKey: "your-js-token" })
- **crawlbase_structured** — Scrape a page into clean structured JSON using a named Crawlbase scraper — skip HTML parsing entirely. Common scraper names: "amazon-product-details", "amazon-serp", "google-serp", "facebook-page", "facebook-profile", "instagram-profile", "instagram-post", "linkedin-profile", "linkedin-company", "tiktok-profile", "ebay-product", "walmart-product-details", "github-repository", "generic-extractor". Full catalog: https://crawlbase.com/docs/scrapers/ — social-media scrapers (Facebook/Instagram/LinkedIn) work best with your JavaScript token. Example: crawlbase_structured({ url: "https://www.amazon.com/dp/1098145356", scraper: "amazon-product-details", _apiKey: "your-crawlbase-token" })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "crawlbase": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-crawlbase"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Crawlbase MCP server does

Crawlbase MCP server gives MCP clients access to three Crawlbase operations:

- `crawlbase_scrape` fetches a web page and returns HTML, clean markdown, or a JSON response containing crawl metadata.
- `crawlbase_screenshot` captures a rendered page and returns a temporary JPEG URL together with crawl metadata.
- `crawlbase_structured` applies a named Crawlbase scraper and returns structured JSON without requiring the agent to parse the page itself.

Requests are handled through Crawlbase's rotating residential or datacenter proxies and its server-side anti-bot capabilities. The service supports handling for systems such as Cloudflare, DataDome, and hCaptcha.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/crawlbase/mcp`. Add that URL to an MCP client to connect over HTTP. A full Pipeworx gateway endpoint is also available, but the pack endpoint lists Crawlbase tools directly and includes shared Pipeworx meta-tools alongside them.

The local npm bridge, `@pipeworx/mcp-crawlbase`, starts with `npx` and forwards calls to the same hosted endpoint. It requires network access and does not provide offline operation. Calls can also be made through the Pipeworx HTTP interface by inspecting a tool or invoking the gateway's tool endpoints.

For natural-language routing, the shared `ask_pipeworx` tool can select a relevant tool and populate its arguments. This tool is available when the gateway meta-tools are enabled or when using the hosted pack connection.

## Setup and configuration

A hosted client configuration can use:

```json
{
  "mcpServers": {
    "crawlbase": {
      "url": "https://gateway.pipeworx.io/crawlbase/mcp"
    }
  }
}
```

The local stdio option is:

```json
{
  "mcpServers": {
    "crawlbase": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-crawlbase"]
    }
  }
}
```

The local bridge can use `PIPEWORX_API_KEY` for a Pipeworx account key. Without that key, anonymous use is capped at 50 calls per day; a free account raises the limit to 200 calls per day. Set `PIPEWORX_META_TOOLS=1` if the local connection should also list shared gateway tools such as `ask_pipeworx`.

Crawlbase credentials are passed to the individual tools through the `_apiKey` argument. Use a JavaScript token for browser-rendered pages and screenshots; the normal token is intended for fast static fetches.

## Tools and capabilities

### Scraping pages

`crawlbase_scrape` accepts a URL and can return the original page as HTML, markdown through `format: "md"`, or a JSON envelope through `format: "json"`. JavaScript-heavy single-page applications can be rendered when a Crawlbase JavaScript token is supplied.

### Capturing rendered pages

`crawlbase_screenshot` always uses a real browser. It captures the full page by default, or a constrained viewport when `mode: "viewport"` is supplied with width and height values. The returned `screenshot_url` points to a JPEG that expires after about one hour.

### Extracting structured data

`crawlbase_structured` uses a named Crawlbase scraper. Available examples include `amazon-product-details`, `amazon-serp`, `google-serp`, `facebook-page`, `facebook-profile`, `instagram-profile`, `instagram-post`, `linkedin-profile`, `linkedin-company`, `tiktok-profile`, `ebay-product`, `walmart-product-details`, `github-repository`, and `generic-extractor`. Social-media scrapers work best with a JavaScript token. Crawlbase maintains the complete scraper catalog in its scraper documentation.

_Full upstream README: https://allmcps.com/mcp/crawlbase/readme_

