Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By chrisnsv0.1.0MITIn 1 marketplace
Makes WebFetch survive anti-bot walls: on a 403 or a challenge page it retries with the Firecrawl CLI, then Claude in Chrome, and the agent sees an ordinary WebFetch result.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Model that applies the promptmodel
WebFetch runs your prompt over the page with a small model. The fallback does the same with this one, outside the agent's context.
stringdefault haiku
Use Claude in Chrome as the last resortchrome
Needs the Claude in Chrome extension connected. Runs in a throwaway tab that is closed afterwards.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs Claude Code's tools itself; runs programs; calls a model on your account.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Use the Firecrawl CLIfirecrawl
Second rung: `firecrawl scrape`. Needs the CLI installed and logged in (`firecrawl login`, or FIRECRAWL_API_KEY in the environment).
booleandefault true
Page characters keptmax_chars
A longer page is cut here and the result says how to continue with offset.
numberdefault 100000
Hosts never sent to a third partyskip_hosts
Comma-separated host suffixes (example.com) that skip Firecrawl. Private, local and credentialed URLs are always skipped.
stringdefault
Firecrawl CLI commandfirecrawl_bin
Path or name of the firecrawl executable.
stringdefault firecrawl
Chrome challenge wait (s)challenge_wait_s
How long to let a 'checking your browser' interstitial clear in Chrome before giving up.
numberdefault 12
A Claude Code mod that makes the built-in WebFetch tool survive anti-bot walls, invisibly.
When WebFetch hits a 403, a Cloudflare "Just a moment...", a CAPTCHA or any other bot wall, this mod quietly retries the page with the Firecrawl CLI, and if that fails, in a real browser through Claude in Chrome. The agent that called WebFetch gets back an ordinary WebFetch result. It never learns a wall existed, never sees a failed attempt, never spends a turn deciding what to do about it.
Before: WebFetch(url) -> "Request failed with status code 403" -> agent burns turns improvising
After: WebFetch(url) -> "Pro costs £10 a month." -> agent carries on
Agents hit bot walls constantly: documentation behind Cloudflare, pricing pages, news sites, forums. The usual outcome is the agent trying three more search queries, guessing at mirrors, or giving up. Each of those costs tokens and wall-clock time, and the answer is usually one click away in a real browser.
Teaching every agent, skill and prompt "if fetch fails, try Firecrawl, then Chrome" is brittle and expensive. This mod puts the escalation below the agent, where it belongs, so nothing above it needs to know.
Nothing different. That is the whole design goal.
url, prompt, offset), same output shape (bytes, code, codeText, result, durationMs, url).WebFetch's original error, unchanged, exactly as it would have without the mod.The fallback adds no tokens to the agent's context. The agent sees one tool call and one result of the same size and kind as a normal WebFetch.
To be precise about where the work happens: WebFetch normally fetches the page and runs your prompt over it with a small model, returning only that short answer. The mod does the same last step. It takes the page text from Firecrawl or Chrome, runs your prompt over it with a small model (haiku by default) in a separate call, and returns only the short answer. That call is billed to your account like WebFetch's own, but it never enters the agent's conversation. The raw page never reaches the main model.
flowchart TD
A["Agent calls WebFetch(url, prompt)"] --> B["WebFetch runs as normal"]
B --> C{"Is the outcome a bot wall?<br/>403 / 429 / 503 / challenge page"}
C -- "no" --> Z["Result passes through untouched"]
C -- "yes" --> D{"Public URL?"}
D -- "yes" --> E["firecrawl scrape (CLI)"]
D -- "private / local / credentialed" --> G
E --> F{"Real content?"}
F -- "yes" --> M
F -- "no" --> G["Claude in Chrome: throwaway tab,<br/>wait for the challenge to clear"]
G --> H{"Real content?"}
H -- "yes" --> M["Small model applies your prompt<br/>(outside the agent's context)"]
H -- "no" --> Y["Agent gets WebFetch's original answer"]
M --> N["Normal WebFetch result, code 200"]
The mod hooks tool.call for WebFetch, calls next(e) so the real tool always goes first, and only steps in on a wall. A successful fetch costs nothing extra: no extra process, no extra request.
WebFetch's cross-host REDIRECT DETECTED notice. That is the tool asking the agent a question and is passed through.The same check runs on what Firecrawl and Chrome return, so a wall that survives one rung is never passed off as an answer.
/plugin, hooks modules).PATH and logged in.
npm install -g firecrawl-cli
firecrawl login # or export FIRECRAWL_API_KEY=fc-...
Both are optional. With neither, the mod does nothing and WebFetch behaves exactly as before.
In a Claude Code terminal session:
/plugin install fetch-firecrawl-fallback --marketplace chrisns/claude-mod-fetch-firecrawl-fallback
Answer y to add the marketplace, then choose a scope. The mod is active straight away, with no reload.
To try it from a clone without installing:
npx claudepluginhub chrisns/claude-mod-fetch-firecrawl-fallback --plugin fetch-firecrawl-fallbackBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.