---
name: doublecrawl
description: Fetch a web page or API through DoubleCrawl when your own fetch fails (403, 429, an error page in place of content) or when the user needs a page as seen from one country. Use it for the content of a known URL. Failed pages cost 0 credits.
---

# DoubleCrawl

DoubleCrawl fetches a URL for you and returns the site's own page. Use it when your built-in web fetch is refused, returns an error page, or can't reach the site, and when the user needs prices, results or stock as seen from a specific country.

Don't use it for pages behind a login the user doesn't own, or for anything the [acceptable use policy](https://doublecrawl.com/legal/acceptable-use.html) forbids.

## Connect

Pick the first option that fits where you run. Each one signs the user in through their browser. Never ask the user to paste an API key into the chat.

**Claude Code.** Install the plugin. It adds the server, a skill and the `/doublecrawl:balance` and `/doublecrawl:topup` commands:

```
/plugin marketplace add doubledata/doublecrawl
/plugin install doublecrawl@doublecrawl
```

Or add only the server:

```bash
claude mcp add --transport http doublecrawl https://mcp.doublecrawl.com/mcp
```

Then run `/mcp`, pick `doublecrawl` and sign in. The sign-in asks for the workspace and the agent's monthly budget.

**Any other MCP client (Streamable HTTP).** Server URL:

```
https://mcp.doublecrawl.com/mcp
```

**A shell, without MCP.** Install the CLI (macOS, Linux) and sign in once:

```bash
curl -fsSL https://github.com/doubledata/doublecrawl-cli/releases/latest/download/install.sh | sh
doublecrawl login
doublecrawl fetch https://example.com
```

Setup for Cursor, VS Code, Windsurf, Gemini CLI, Codex, Zed, ChatGPT, LangChain, OpenAI Agents SDK, Vercel AI SDK, CrewAI and n8n: https://doublecrawl.com/#integrations

If the user has no account yet, the first sign-in creates one. New accounts get 500 free credits, no card, plus up to 850 more for quick setup steps.

## Fetch a page

With MCP, call `fetch_page` with the `url`. Useful options:

- `format`: `text` to read the page, `raw` (default) for the HTML.
- `country`: a two-letter code such as `de` or `us`, only when the user needs that country's view.
- `method`, `headers`, `body`: for a POST or a JSON API.
- `session_id`: keep the same identity across several requests, such as pagination.
- `offset`: long pages come in parts. Call again with the same arguments and `offset` set to `nextOffset`. For 10 minutes, later parts come from the same fetch and are not billed again.

With the HTTP API, see https://doublecrawl.com/docs/ and https://doublecrawl.com/openapi.json.

## Read the result

Branch on the outcome, not on the HTTP status:

- `delivered`: you have the page. Use it.
- `absent`: the site says the page doesn't exist, such as a 404. It costs 0. Tell the user, don't retry.
- `refused`: the site still refused after up to 30 seconds of tries. It costs 0. You may try once more later. If it fails again, stop and tell the user.
- `unreached`: DoubleCrawl couldn't reach the site. It costs 0. Same rule as `refused`.

DoubleCrawl already retries inside one request. Never retry a page in a loop.

## Spend

- Tell the user what a page cost when they ask or when cost matters to the task. `list_requests` shows what each recent request cost.
- Fetch what the task needs. Don't crawl a whole site to answer one question.
- Your workspace may give you a monthly budget. When credits or the budget run out, ask for more with `request_top_up`, say how many credits and why, and show the user the approval link. A person approves it. Ask for at least 10,000 credits. If the person declines, stop. Don't look for another way to get credits.
- Prices: 1 credit at Level 1, 4 at Level 2, 25 at Level 3. DoubleCrawl picks the level. Details: https://doublecrawl.com/#pricing

## What it doesn't do yet

Search, site maps, clicking through pages, JSON extraction, screenshots and Markdown output. Don't promise these to the user.

More for agents: https://doublecrawl.com/llms.txt
