One read() call for AI agents, stitched from 28 web tools: cheapest first, every page checked, a receipt for every attempt
pip install frankensurf Copy PIP instructions
Every web tool breaks somewhere. Frankensurf sits in front of all of them and gives your agent one call. It tries the cheapest tool first, checks the page is real, climbs to a stronger tool only when a site pushes back, and returns clean page data with a receipt of how it got there.
Cheapest first. Plain HTTP, Jina Reader, a local browser, free stealth browsers, hosted browsers, then paid unblockers only if you allow them.
Every page checked. A challenge page, a login wall, or a search page whose results never loaded counts as a failure, not a success.
Shows its work. Every result says which tools ran, how long each took and what it cost.
Website and docs: https://frankensurf.dev · Why I built it
Python 3.12 or newer, on Linux or Windows through WSL (macOS should work but isn’t tested yet):
pip install "frankensurf[mcp]" frankensurf setup # Chromium + the free stealth browsers, a few minutes frankensurf read "https://www.walmart.com/search?q=air+fryer" --explain No account or key needed. The read climbs until it gets the real page:
Everything works with no keys. Paid tools are opt-in, and only run after the free ones fail. From the benchmark below (152 sites picked before any was read):
To allow paid tools, set their keys (for example FIRECRAWL_API_KEY) and pass allow_paid_fallbacks. See Paid tools and budgets.
From an agent, as an MCP server (setup for each client):
claude mcp add frankensurf -- frankensurf-mcp From Python:
from frankensurf import Runtime async with Runtime("state") as web: page = await web.read("https://example.com", policy_overrides={"prefer_markdown": True}) hits = await web.search("playwright python tutorial") From the command line:
frankensurf read https://example.com --markdown frankensurf search playwright python tutorial frankensurf watch https://news.ycombinator.com/ --link-pattern 'item\?id=\d+' What you get back is raw page data, not answers. Your agent decides what the page means, and if it isn’t what it wanted, it can ask again with retry_of= to skip every tool already tried.
Also in the box: profiles (log in once, reuse the session from any tool), human handoff for CAPTCHAs and 2FA, site modules (save what your agent learns about a site as data), and Web Bot Auth request signing.
Want the article, not the menus? Pass --main (MCP main_content=True) for main_text (best with pip install "frankensurf[main]").
Search takes --site, --exclude-domain, --recency and --region on every source, a --vertical (news, reference, discussions, qa, code, papers, books) backed by official free APIs, and --mode merge to fuse every source at once. Running on a server that reads URLs it didn’t choose? Set FRANKENSURF_BLOCK_PRIVATE_NETWORK=1.
Every page read carries receipt.quality: good, partial or poor, with flags such as paywall, menus or placeholder, so an agent (or a paid fallback) knows when a page didn’t really come through.
Keeping up with many sites? frankensurf watch-sites URL… --since DATE lists their new pages from the feeds and sitemaps they publish, polled with conditional requests. Running on a server? Run Steel beside it (docker compose up -d) and, if sites still refuse your data-centre address, set FRANKENSURF_PROXY to a proxy you bring.
Agents learn the tools from a bundled skill: the MCP server sends it as its instructions, and frankensurf skill install adds it to ~/.claude/skills.
Reading many pages from one site? Let Frankensurf learn it first:
frankensurf module discover https://www.example.com/ --query "desk lamp" --save That finds the site’s search (its schema.org SearchAction, its search form, or by typing once into its search box), reads the results, and saves a site module: where the items live in the page’s own data, plus a search template. From then on every search on that site comes back as structured items, and batch_template runs many searches as one polite batch. Check the sample rows before saving; the draft can pick the wrong list.
Every way to fetch a page is a rung: plain HTTP and markdown negotiation, browsers, stealth browsers and signed requests, hosted browsers, paid unblockers, and finally a person clearing the wall in a visible browser. A read starts at the cheapest rung and climbs only when a page pushes back. Every tool is a plugin, so new ones slot in as another rung. See How escalation works and the full list of integrations.
scripts/toolbench.py runs each tool on its own, then Frankensurf, on the same pages with the same content checks. 152 sites picked before any was read, one run on 6 October 2026, raw rows in benchmarks/2026-10-06/:
Frankensurf read 19 sites Firecrawl missed and Firecrawl read 5 Frankensurf missed. Frankensurf costs a fifth as much per page, but is slower: median 9.5 s against 5.6 s. Scrapfly is left out because its free plan ran out mid-run.
A second fresh set, 139 different sites picked on 9 October before any was read (raw rows in benchmarks/2026-10-09/):
Frankensurf read 22 sites Firecrawl missed; Firecrawl read 2 Frankensurf missed. Firecrawl’s rate-limited pages were re-run one at a time until none were left. Racing the free tools (v0.26) then took the free tier to 82.0%, with its median down to 4.5 s and its p90 from 50 s to 37 s. See Benchmarks.
Need the paid tools: in a free-only spot check on 9 October, Etsy, Home Depot, Yelp, Crunchbase and G2 blocked every free tool.
Beat everything so far: Shopee, Temu and Idealista.
Social sites without a login: LinkedIn, X, YouTube, Threads, Bluesky and Reddit read fine. Instagram, TikTok, Facebook and Pinterest show only the public shell (name, bio, counts); the posts need a login.
Logged-in pages (your feeds, your orders) need a profile.
Slower than one tool: a read that climbs several rungs takes 10–30 s.
Found a site it can’t read? Report it; every report becomes a test case.
python3 -m venv .venv .venv/bin/pip install -e '.[test,mcp]' .venv/bin/frankensurf setup PYTHONPATH=.:src .venv/bin/pytest -q The product design is in SPEC.rst; contributor rules are in AGENTS.md. New tools are plugins, never branches in Core; see Writing a plugin. The website and docs live in site/.
web scraping ai agents mcp browser automation crawler playwright llm
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.




