# Why I Built take-my-browser: Give Any AI Agent Your Real Chrome (3.8x Faster, 52% Fewer Tokens)

> Source: <https://dev.to/khanhle1406/why-i-built-take-my-browser-give-any-ai-agent-your-real-chrome-38x-faster-52-fewer-tokens-3pkp>
> Published: 2026-12-03 15:37:33+00:00

**Key takeaway:** A compact tool-schema profile (~1,865 tokens vs 30.3 KB for 36 tools) plus scoped ARIA snapshots cut browser-agent input tokens 51.9% and browser execution time 3.80x versus a baseline Chrome plugin at equal 100/100 task accuracy.

If you've ever asked an AI coding agent (Claude Code, OpenCode, Antigravity, Cursor, Windsurf, or a DeepSeek agent harness) to test your web app or inspect a dashboard you're already logged into, you probably ran into the Playwright MCP wall:

`localhost:3000`.
OpenAI solved this cleanly inside **Codex** with its built-in Browser Use plugin — except **it only works inside Codex**.

So I built **[take-my-browser](https://github.com/khanhle1406/take-my-browser)** — a 100% open-source (MIT), local Node.js MCP server + browser bridge (`v5.0.1`, live on the **Official MCP Registry** as `io.github.khanhle1406/take-my-browser`) that gives **any AI agent** your real Chrome, Edge, Brave, Arc, Firefox, Zen, or Safari browser — tuned to run **3.8x faster** with **52% fewer tokens**.

Everything stays on your machine — zero cloud proxies, zero Playwright binaries, and zero API keys:

`stdio`, v5.0.1)` compact`, `standard`, `full`, plus `--profile auto`).` Unix socket` + framed JSON-RPC)`132.2 ms` for `40 MB`) with zero local HTTP server exposed.`--autoConnect`), WebDriver BiDi (Firefox/Zen/Floorp), or Safari WebDriver.` Portable Browser Bridge`, v0.8.0)` chrome.debugger` (CDP), `chrome.tabGroups`, and `chrome.scripting` inside your live Chrome with a non-blocking virtual cursor.`100 / 100` Score)
Measured end-to-end on the exact same AI model across a 4-task real-Chrome evaluation suite (modal scraping, Shadow DOM + `contenteditable` form submission, element screenshot Proof of Work, and token audit — both scoring `100 / 100`):

| Metric | Baseline Chrome Plugin | `take-my-browser` (`--profile compact` ) | Verified Gain | 
|---|---|---|---|
| **Task Score** | `100 / 100` | **`100 / 100`** | Equal accuracy | 
| **Browser Execution Time** | `13.21s` | **`3.48s`** | **3.80x faster** (`-73.7%` ) | 
| **Total Wall-Clock** | `78.38s` | **`55.79s`** | **28.8% faster** | 
| **Browser Tool Calls** | `12` | **`8`** | **33.3% fewer calls** | 
| **Total Input Tokens** | `636,008` | **`305,934`** | **51.9% fewer tokens** | 
| **Uncached Input Tokens** | `52,584` | **`20,494`** | **61.0% fewer tokens** | 

`--profile compact` (-75.4% tool schema):`7.4 KB` / `~1,865` tokens vs `30.3 KB` for 36 tools) so CLI harnesses like Claude Code, OpenCode, and DeepSeek don't burn context on unused tool schemas.`mode: "compact"` (`-81.7%` chars) plus scoped `locator.ariaSnapshot()` for modals and dialogs.`300s` `browser_run` scripts:`browser.tabs.content()`), and writes outputs/screenshots directly to disk (` saveFile`, `saveScreenshot`) in 1 turn.` evaluate()` uses an `acorn` AST read-only guard, and 2FA/CAPTCHA screens pause cleanly via `markHandoff()`.

```
# Install MCP config + extension + skill bundle for your agent
npx -y take-my-browser install --skill

# Or print standard MCP JSON for any client (OpenCode, Windsurf, Cline, Zed, custom harnesses)
npx -y take-my-browser config --profile auto
```

Or install just the Agent Skill via `skills.sh`:

```
npx skills add https://github.com/khanhle1406/take-my-browser
```

`io.github.khanhle1406/take-my-browser`
If you try `take-my-browser` with Antigravity, OpenCode, Claude Code, Cursor, or a DeepSeek harness, let me know how it performs on your workflow!
