Get started
Firecrawl-compatible API
Run Frankensurf as a local Firecrawl-compatible endpoint, so GPT Researcher, Hermes Agent, OpenClaw, Open WebUI, Dify, LibreChat, n8n, Flowise, Firecrawl's MCP server and anything else that takes a Firecrawl URL reads through it with no code change.
A lot of agent projects read the web through Firecrawl, and most of them let you point at your own
Firecrawl server. frankensurf serve is one: it answers Firecrawl’s scrape and search calls,
and reads every page through Frankensurf instead.
frankensurf serve # http://127.0.0.1:3002, Firecrawl's own port, this machine onlyThen set the project’s Firecrawl URL to http://127.0.0.1:3002. The API key can be anything; it
isn’t checked. Free tools only unless you start it with --paid, and --max-cost caps a request.
Already running Firecrawl yourself? On 150 sites picked blind, read side by side on one machine,
self-hosted Firecrawl 2.11.604 read 89 and Frankensurf 126, and passed on 18 wrong pages against 5;
Firecrawl was faster on the pages both read. The comparison,
and to check it on your own pages: frankensurf compare urls.txt --against http://localhost:3002
(how).
What you get back
Section titled “What you get back”-
Scrape (
POST /v1/scrape,/v2/scrape): the page as markdown (headings, lists, links, tables, converted from its HTML), plushtmlandlinksif you ask for them.metadata.frankensurfcarries the trace ID, sofrankensurf trace <id>shows every tool it tried.onlyMainContentis accepted and ignored: Frankensurf’s main-content cut is built for articles, and on search and listing pages it lost the results. Menus cost a few tokens; missing results cost the answer. -
Search (
POST /v1/search,/v2/search): Frankensurf’s checked search results. WithscrapeOptions.formats, each result is read too. -
A page no tool could read is never passed off as one. Scrape answers
success: falsewith a plain reason, status 500 like Firecrawl’s own failures (408 when the request’stimeoutruns out), so the SDKs raise it as an error:Could not read this page (CAPTCHA: Provider returned a challenge or sign-in page).Tried: http, steel, camoufox, local, scrapling_http, patchright, nodriver, crawl4ai.Don't fill in its contents from search snippets or memory.In search, that result keeps its URL, title and description, but has no markdown; the reason is in
metadata.error. A research agent that uses the markdown simply doesn’t get a page that wasn’t there. -
Map (
/v1/map,/v2/map) and crawl (/v1/crawl,/v2/crawl, thenGET /v1/crawl/{id}untilcompleted;DELETEcancels): the same engine as Map and crawl. Crawl jobs live in the server’s memory, so they end with it. Pages no tool could read are listed underfrankensurf.failed. -
With a model (
frankensurf serve --model <any LiteLLM model>, orFRANKENSURF_AGENT_MODEL): thesummaryandjsonscrape formats (v1jsonOptions, v2{"type": "json", "schema", "prompt"}), and/v1/extract,/v2/extractjobs (GET /v1/extract/{id}). See Agent mode. -
Batch scrape (
/v1/batch/scrape,/v2/batch/scrape, thenGET .../batch/scrape/{id}): each URL scraped with the same options, paced per site; failures underfrankensurf.failed.
Scrape options
Section titled “Scrape options”| Firecrawl option | In Frankensurf |
|---|---|
actions (wait, click, write, press, scroll, screenshot, scrape, executeJavascript) |
Run in order in Frankensurf’s own local browser before the page is captured; results under actions (screenshots, scrapes, javascriptReturns). Public reads only: never with a stored profile or identity, where a click could act as you. A failed action stops the rest and is named in metadata.frankensurf.action_failed. |
screenshot, screenshot@fullPage, {"type": "screenshot", "fullPage": true} |
A browser read; the image comes back as a data:image/png;base64,... URL rather than a hosted link. |
changeTracking (modes: ["git-diff"], tag) |
Compared with the last scrape of the same URL and tag on this machine: new, same or changed, with previousScrapeAt and a unified diff. Kept in the state directory, so it survives restarts. |
location.languages |
Sent as Accept-Language and used as the browser’s locale. location.country isn’t applied: Frankensurf has no proxies of its own in other countries (egress can add some). |
proxy: "stealth" |
Starts from the stealth browsers (Scrapling, Camoufox, Patchright, nodriver) instead of plain HTTP. basic and auto are the usual cheapest-first route. |
frankensurfFreshness |
Frankensurf extension for scrape: now, hour, day or cached. Omit it to use the server policy (normally now). cached can return an arbitrarily old stored result; it may also miss and fetch a fresh one. |
webhook (crawl, batch scrape) |
started, page, completed and failed events, POSTed as {success, type, id, data, metadata}, filtered by events, with your headers. |
Crawl, batch scrape and extract jobs are kept in the state directory: their results outlive the
server, and a job that was running when it stopped comes back as failed, saying so.
For scrapes, metadata.frankensurf.cache_hit and freshness_seconds report
what happened when the runtime provides them. Unknown provider cost is returned
as null, rather than as zero. The freshness extension is not a standard
Firecrawl option and currently applies to individual scrapes.
GPT Researcher
Section titled “GPT Researcher”GPT Researcher can scrape through Firecrawl. Point it at Frankensurf:
frankensurf serve &export SCRAPER=firecrawlexport FIRECRAWL_SERVER_URL=http://127.0.0.1:3002export FIRECRAWL_API_KEY=localexport FIRECRAWL_CONCURRENCY=4 # GPT Researcher's default of 2 suits Firecrawl's free tierpip install firecrawl-py # GPT Researcher installs it on first use otherwiseThat changes the page reads. For search too, install the retriever plugin, which ships the way GPT Researcher asks search providers to ship:
pip install "gptr-frankensurf @ git+https://github.com/yail259/frankensurf#subdirectory=contrib/gptr-frankensurf"export RETRIEVER=frankensurf # or frankensurf,duckduckgoIts results are Frankensurf’s checked search results, free sources only unless
FRANKENSURF_GPTR_PAID=1.
What it changed, on 150 sites
Section titled “What it changed, on 150 sites”We read the 150 sites of our held-out set 7 (picked before any was read, never tuned on) with GPT Researcher’s own scraper code, and graded every page with the benchmark’s check: does the text hold what the page should, at least three times.
| GPT Researcher scraping with | Right page | Wrong page passed on | No page |
|---|---|---|---|
its default scraper (SCRAPER=bs) |
58 | 15 | 77 |
frankensurf serve, free tools only |
134 | 3 | 13, each with the reason |
Through Frankensurf it read 76 sites the default scraper didn’t, and none the other way. It is slower: a median of 9.0 s a page against 1.7 s, and 40 s for the slowest tenth, because a walled page climbs through several tools before it gets in or gives up.
We also had it write full reports for 8 questions whose best sources sit behind walls. Through
frankensurf serve it read 89 sources against 65, and a model grading the reports blind scored them
7.0 against 5.9 out of 10, better on 6 questions and worse on 1. That’s a consistent direction, but 8
questions are too few to call it significant. One run on 16 October 2026; the rows and scripts are in
benchmarks/2026-10-16-gpt-researcher.
deep-research
Section titled “deep-research”deep-research searches and reads through Firecrawl. In
its .env.local:
FIRECRAWL_KEY=localFIRECRAWL_BASE_URL=http://127.0.0.1:3002FIRECRAWL_CONCURRENCY=4Its searches ask for each result’s markdown with a 15 second timeout. Frankensurf answers 3 seconds inside it, so a slow page comes back as a missing page instead of a failed search. With its exact call, four searches got all 20 pages in time, twice, in 4 to 13 seconds a search. (Before v0.44.1 it was 17 and 14 of 20: news searches returned Google News redirect links, which are slow to follow. Search now swaps them for the publisher’s own URL.)
Hermes Agent
Section titled “Hermes Agent”Hermes Agent’s Firecrawl backend takes a
self-hosted URL, so its web_search and web_extract tools read through Frankensurf as they are.
Start serve with a key, then in Hermes’s environment:
FIRECRAWL_API_URL=http://127.0.0.1:3002FIRECRAWL_API_KEY=change-me # the key you gave serveHermes picks the Firecrawl backend on its own when those are set (or set web.backend: firecrawl). When Frankensurf can’t read a page,
web_extract hands the model “Could not read this page”, what stopped it and the tools it tried,
instead of an empty page. Checked with Hermes 0.21 (firecrawl-py 4.17) on 18 October 2026: search,
extract, and a page behind a challenge that came back as that message.
OpenClaw
Section titled “OpenClaw”OpenClaw’s Firecrawl plugin takes a self-hosted base URL on
a private address, which 127.0.0.1 is. In the Gateway environment:
FIRECRAWL_BASE_URL=http://127.0.0.1:3002FIRECRAWL_API_KEY=change-me # the key you gave servethen choose Firecrawl for search, page fetches or both (tools.web.search.provider: "firecrawl",
tools.web.fetch.provider: "firecrawl"). A page Frankensurf can’t read reaches the model as “Could not
read this page”, the reason and the tools tried. Checked with OpenClaw’s own plugin code (2026.10.4)
on 18 October 2026: search, page reads, and a page behind a challenge.
Open WebUI
Section titled “Open WebUI”Open WebUI uses Firecrawl for web search, for loading pages, or both. Set in its environment (or under Admin Settings, Web Search):
ENABLE_WEB_SEARCH=trueWEB_SEARCH_ENGINE=firecrawlWEB_LOADER_ENGINE=firecrawlFIRECRAWL_API_BASE_URL=http://host.docker.internal:3002 # http://127.0.0.1:3002 outside DockerFIRECRAWL_API_KEY=change-meIf Open WebUI runs in Docker, Frankensurf has to listen beyond 127.0.0.1 for it to reach it: run
serve --host 0.0.0.0 with a key, or run Frankensurf’s image on the same Docker
network and use its container name. Open WebUI retries a failed page twice and then leaves it out of
the answer, with a warning in its log. Checked with Open WebUI’s own Firecrawl code on 18 October
2026: search, page loads, and a page behind a challenge.
Dify imports websites into a knowledge base through Firecrawl.
Under Settings, Data Source, Firecrawl, set the base URL to Frankensurf (http://host.docker.internal:3002
when Dify runs in Docker, with serve --host 0.0.0.0) and the API key to the one you gave serve.
Crawling sub-pages, the page limit and “main content only” all carry over. Checked with Dify’s own
Firecrawl client on 18 October 2026: search, scrape, map, and a three-page website import. A page it
can’t read inside Dify’s 30 second limit comes back as “Could not read this page (TIMEOUT)” rather
than a hang.
LibreChat
Section titled “LibreChat”LibreChat can use Firecrawl as the scraper for web
search. In librechat.yaml:
webSearch: scraperProvider: firecrawl firecrawlApiKey: '${FIRECRAWL_API_KEY}' firecrawlApiUrl: '${FIRECRAWL_API_URL}' # e.g. http://127.0.0.1:3002 scraperTimeout: 30000 allowedAddresses: - '127.0.0.1:3002' # or 'frankensurf:3002' in DockerLibreChat blocks private addresses unless they’re in allowedAddresses. Raise scraperTimeout too:
its default, 7.5 seconds, suits pages a plain fetch can read, but a page that needs one of the stealth
browsers takes 15 to 30. Checked with LibreChat’s own scraper (@librechat/agents 4.0.6) on 18
October 2026: with 7.5 seconds, a news front page that needs a stealth browser timed out; with 30, it
read.
Firecrawl’s n8n node (@mendable/n8n-nodes-firecrawl, under Settings, Community Nodes) takes a base
URL in its credential. Create a Firecrawl API credential with:
- Base URL:
http://127.0.0.1:3002/v2(http://host.docker.internal:3002/v2when n8n runs in Docker, withserve --host 0.0.0.0) - API Key: the key you gave
serve
The credential’s Test button works, and so do scrape, search, map and crawl, with or without a custom body. Checked with node 2.2.0 in n8n’s Docker image on 18 October 2026: the credential test, a scrape and a search, run as a workflow.
LangChain and LlamaIndex
Section titled “LangChain and LlamaIndex”Their Firecrawl loaders take the URL as api_url:
from langchain_community.document_loaders import FireCrawlLoaderdocs = FireCrawlLoader(url=url, api_key="change-me", api_url="http://127.0.0.1:3002", mode="scrape").load()
from llama_index.readers.web import FireCrawlWebReaderdocs = FireCrawlWebReader(api_key="change-me", api_url="http://127.0.0.1:3002", mode="scrape").load_data(url=url)A page Frankensurf can’t read raises an error that says why, instead of returning an empty document. Checked with langchain-community 0.4.2 and llama-index-readers-web 0.7.0 (firecrawl-py 4.50) on 18 October 2026.
Flowise
Section titled “Flowise”Flowise’s FireCrawl document loader takes a base URL in its
credential. Create a FireCrawl API credential with the API URL set to Frankensurf and the key you
gave serve.
Flowise refuses private addresses by default, so two settings in its environment let it reach
Frankensurf. Keep its own deny list and leave out only the range Frankensurf is on (172.16.0.0/12
for Docker’s bridge network):
HTTP_SECURITY_CHECK=false # use only the list below, instead of Flowise's built-in oneHTTP_DENY_LIST=0.0.0.0,10.0.0.0/8,127.0.0.0/8,169.254.0.0/16,192.168.0.0/16,224.0.0.0/4,240.0.0.0/4,255.255.255.255/32,::1,fc00::/7,fe80::/10,ff00::/8,localhost,ip6-localhostUse an IP address in the credential (http://172.17.0.1:3002, Docker’s host address, with
serve --host 0.0.0.0): with a host name such as host.docker.internal Flowise 3.1.2 stops with
“Invalid IP address: undefined”. That’s a Flowise bug: the agent it uses to pin the checked address
answers Node’s DNS lookup with a single address, and Node 20 and later ask for a list. Flowise was
archived on 13 August 2026 and 3.1.2 is its last release, so it won’t be fixed there; if you run a
fork, the lookup in createPinnedAgent (packages/components/src/httpSecurity.ts) needs to return
[{ address, family }] when called with all: true. Checked with Flowise 3.1.2’s own loader on
20 October 2026: scrape, search and crawl.
Firecrawl’s MCP server
Section titled “Firecrawl’s MCP server”firecrawl-mcp reads FIRECRAWL_API_URL:
{ "mcpServers": { "firecrawl": { "command": "npx", "args": ["-y", "firecrawl-mcp"], "env": { "FIRECRAWL_API_URL": "http://127.0.0.1:3002", "FIRECRAWL_API_KEY": "change-me" } } }}firecrawl_scrape, firecrawl_search, firecrawl_map, firecrawl_crawl and
firecrawl_check_crawl_status work through Frankensurf. Its other tools (agent, interact, monitors,
research and the rest) are Firecrawl cloud features and need Firecrawl itself. Checked with
firecrawl-mcp 3.33.4 on 20 October 2026. If your client takes any MCP server, Frankensurf’s own
(frankensurf-mcp) gives the agent its full set of tools instead.
CrewAI
Section titled “CrewAI”CrewAI’s Firecrawl tools (FirecrawlScrapeWebsiteTool, FirecrawlSearchTool,
FirecrawlCrawlWebsiteTool) don’t take a URL: crewai-tools 1.15.28 always calls Firecrawl’s cloud,
and the Firecrawl SDK it uses no longer reads FIRECRAWL_API_URL. Two ways round it:
-
Frankensurf’s MCP server, through CrewAI’s MCP adapter:
from crewai_tools import MCPServerAdapterfrom mcp import StdioServerParameterswith MCPServerAdapter(StdioServerParameters(command="frankensurf-mcp")) as tools:agent = Agent(role="Researcher", goal="...", backstory="...", tools=tools) -
Keep the Firecrawl tools and give each one a client that points at Frankensurf:
from firecrawl import FirecrawlAppfrom crewai_tools import FirecrawlScrapeWebsiteToolscrape = FirecrawlScrapeWebsiteTool(api_key="change-me")scrape._firecrawl = FirecrawlApp(api_key="change-me", api_url="http://127.0.0.1:3002")This sets a private attribute, so a CrewAI update can break it.
Checked with crewai-tools 1.15.28 and firecrawl-py 4.53 on 20 October 2026: all three Firecrawl tools
with the client swapped in, and the MCP adapter reading through frankensurf-mcp.
Langflow
Section titled “Langflow”Langflow’s Firecrawl bundle (lfx-firecrawl 0.2.0) has no URL input either; its components always
call Firecrawl’s cloud. Use Langflow’s MCP Tools component with Frankensurf’s MCP server instead.
Langflow only starts MCP servers through a few commands (uvx, npx, python, docker and
similar), so either:
-
Run Frankensurf’s Docker image as an MCP server over HTTP and add it in MCP Tools as a streamable HTTP server,
http://frankensurf:8000/mcp, with the headerAuthorization: Bearer <your key>:Terminal window docker run -d --name frankensurf --network <langflow's network> --shm-size=1g \-e FRANKENSURF_API_KEY=change-me ghcr.io/yail259/frankensurf frankensurf-mcp --http --host 0.0.0.0 -
Or start it with
uvx(commanduvx --from frankensurf[mcp] frankensurf-mcp). This one has no browsers inside Langflow’s container, so pages that need one won’t read; the Docker image has them.
Checked with Langflow 1.12.6’s own MCP clients on 20 October 2026: over HTTP to the 0.51.0 image
(21 tools, pages read with and without a browser), and with uvx.
Anything else that takes a Firecrawl URL
Section titled “Anything else that takes a Firecrawl URL”We’ve checked Firecrawl’s own SDKs against it: @mendable/firecrawl-js 1.16 (v1 API) and
firecrawl-py 4.50 (v2 API), for scrape and search. If a tool lets you set Firecrawl’s URL, it
should work; tell us if one doesn’t.