Skip to main content
Open source · MIT · Rust

Browser automation for AI agents.

An MCP server that gives any LLM a real browser. Scrape, crawl, and extract with 15 intent-based tools.

install webrain
webrain installed · one binary, three engines

No Node, no Python, no Docker. Runs on macOS, Linux, and Windows.

webrain MCP terminal: navigate, observe, interact, extract to JSON
Works with any MCP client

From install to scraping in three steps.

No selectors to hand-write, no daemon, no driver wiring. The binary, your client, and the model do the rest.

Install

One binary, any OS

Install webrain once. No Node, no Python, no Docker. Engines download on demand.

shellcurl -fsSL …/install.sh | bash
Connect

Register it in a client

Add two lines to Claude, Cursor, Copilot, or Codex. The client spawns webrain mcp.

mcp.json
Ask

Point the model at the web

Tell the agent what to do in plain language. It navigates, extracts, and returns structured data.

agentscrape product prices from URL X

Everything an agent needs to read the web.

Fifteen intent-based tools cover the full job. No selectors to hand-write, no driver plumbing, no daemon.

15 intent-based tools

One tool per intent, each with a what, action, op, or mode selector. Legacy one-action names still dispatch.

Structured extraction

Autoschema probes the DOM, then schema, regex, table, JSON-LD, and BM25 modes return clean data.

Stealth login

Real-Chrome profiles with an encrypted local vault (AES-256-GCM) and optional TOTP. Cookies transfer across engines.

Challenge bypass

Every navigate reports a challenge field; a real-Chrome stealth sidecar solves Cloudflare and Turnstile gates.

Crawl at scale

Batch, spider, sitemap, and scan modes with auto-throttle and checkpoint/resume.

Read anything

PDF extract and render, video transcripts plus frames, downloads, JSON-LD, media, and a no-browser HTTP path.

Local AI, all OS

Bundled whisper-cli for transcripts and Qwen3-VL-2B for vision. No cloud key required. Runs fully on your machine.

1static binary
3browser engines
15MCP tools
0Node runtime

One CDP backend, four ways to load a page.

Pick the right engine for the job. From a full Chrome for interactive SPAs to a no-browser HTTP fetch for static pages.

Chrome

Interactive SPAs, challenges, screenshots. Anything real Chrome can do.

Default

Obscura

Fast batch scraping of non-challenged JS pages. No paint engine, no screenshots.

Fast

Lightpanda

Real accessibility tree, lightweight. Screenshot returns a placeholder frame.

Light

fetch_http

Static HTML, no JS, no auth. 10-100× faster. No engine at all.

No browser

Point any LLM at the web.

No driver wiring, no browser download dance, no tool wrappers. Install once, and your agent drives a real browser.

MCP native

stdio or HTTP. Works with Claude, Cursor, Copilot, Codex, Gemini.

Local first

Everything runs on your machine. No cloud, no API key, no data leaves.

Stealth and auth built in

Challenge bypass, encrypted vault, TOTP, and cookie transfer across engines.

webrain MCP workflow: AI agent connects through MCP protocol to browser engine, extracts structured data

Questions, answered plainly.

The objections that come up before you install. The short version: yes, it runs on your machine.

Do I need Node, Python, or Docker?

No. webrain is a single Rust binary. The browsers it drives (Chrome for Testing, Obscura, Lightpanda) download on demand into a cache dir. Nothing else to install.

Does it cost money or need an API key?

No. It is open source (MIT) and local-first. Cloud keys are optional and only for video transcriptions and vision; the bundled local whisper and Qwen3-VL-2B models work offline.

Which AI clients does it work with?

Any MCP client: Claude, Claude Code, Cursor, GitHub Copilot, Codex, Gemini, and more. Register it once in the client’s MCP config and the model drives the browser itself.

How is this different from a scraping API?

webrain runs on your machine, sends no data to a third party, and gives the LLM a real browser with stealth and challenge bypass. For static pages it can be 10-100× faster than a full browser.

Give your agent a browser in five minutes.

Install webrain, start the MCP server, and ask your LLM to scrape. No selectors, no wrappers.

webrain