# Kitsune ![Kitsune: an orange fox in a browser window, connecting your browser and your AI agent](https://raw.githubusercontent.com/junyeong-nero/kitsune/main/assets/kitsune-hero.png) [![kitsune-browser-mcp on PyPI](https://img.shields.io/pypi/v/kitsune-browser-mcp?label=kitsune-browser-mcp)](https://pypi.org/project/kitsune-browser-mcp/) [![kitsune-browser on PyPI](https://img.shields.io/pypi/v/kitsune-browser?label=kitsune-browser)](https://pypi.org/project/kitsune-browser/) [![Python](https://img.shields.io/pypi/pyversions/kitsune-browser-mcp)](https://pypi.org/project/kitsune-browser-mcp/) [![Release](https://img.shields.io/github/v/release/junyeong-nero/kitsune)](https://github.com/junyeong-nero/kitsune/releases/latest) [![License: MIT](https://img.shields.io/github/license/junyeong-nero/kitsune)](https://github.com/junyeong-nero/kitsune/blob/main/LICENSE) [![Website](https://img.shields.io/badge/website-junyeong--nero.github.io%2Fkitsune-0c282a)](https://junyeong-nero.github.io/kitsune/) [![Docs](https://img.shields.io/badge/docs-junyeong--nero.github.io%2Fkitsune%2Fdocs-orange)](https://junyeong-nero.github.io/kitsune/docs/) **Delegate browser tasks. Keep your browser yours.** Kitsune is an MCP server and browser extension that connects Claude Code, Codex, Pi and other MCP clients to a recent Firefox-based browser you already use. It's built for personal browser tasks—researching products, comparing pages, and drafting forms—rather than cross-browser testing. Your agent opens its own background tabs while you keep working in yours. ![Claude Code asks for the user's Wikipedia tab after researching in background tabs; the user approves in Kitsune's toolbar popup, the agent jumps the tab to the right section, and the user takes the tab back and closes the agent's tabs from the popup](https://raw.githubusercontent.com/junyeong-nero/kitsune/main/assets/demo-handoff.gif) Your agent asks for a tab. You approve, then take it back. Watch the 45-second demo → ## Why Kitsune? I built Kitsune after getting tired of switching back to my tab whenever my Playwright setup took focus, and opening Chrome for my agent when I already used a Firefox-based browser. I wanted browser automation that worked alongside me, not in my way. - **Keep working while the agent works.** Agent-created tabs open in the background. Selecting a tab for the agent doesn't switch the tab you see. - **Your tabs stay yours.** By default, the agent can read your tabs but cannot type, navigate, scroll or close them. It must request a handoff before changing one; you approve and can take it back. - **Stay in your supported Firefox-based browser.** Reuse your existing sessions without opening a separate Chrome browser or installing WebDriver. - **A small tool surface.** Three tools: Python for browser actions, tabs and screenshots, plus direct controls for handoff, user help and recovery. Kitsune is designed to reduce interruptions, not eliminate them: site-opened popups and OS-level trusted input can still move focus. See the [shared-browser limits](https://junyeong-nero.github.io/kitsune/docs/api-reference/#shared-browser). ## Benchmark: Firefox MCP servers and agentic browsers **On 20 realistic web tasks across 18 sites, pass rate did not rank Kitsune against the other tools; cost did.** In the 2026-12-04 run, Kitsune used 32% of Playwright MCP's input per attempt and 15% of mozilla/firefox-mcp's. Five tools ran 20 [WebArena-Pro](https://arxiv.org/abs/2611.17955) tasks under Claude Code on 2026-12-04, graded by the sites' backend state and the agent's answer. - **Passed:** EgoLite 12/20, Kitsune and mozilla 11/20, Playwright MCP 10/20, Aside 9/19. Sixteen of the 20 tasks gave the same result on every tool. - **One task separated the tools, and Kitsune lost it:** drawing on Penpot's canvas. mozilla and EgoLite passed. Kitsune scored 0, because the canvas rejects the synthetic pointer events an extension sends. - **Input per attempt:** Kitsune 209k, Aside 319k, EgoLite 532k, Playwright MCP 649k, mozilla 1,421k. [![WebArena-Pro, 20 tasks on 18 sites, Claude Code, 2026-12-04. MCP servers: Kitsune 11/20, 209k input tokens and 13.4 tool calls per attempt; Playwright MCP 10/20, 649k, 37.3; mozilla/firefox-mcp 11/20, 1,421k, 76.4. Agentic browsers, the same run: Aside 9/19, 319k, 14.9; EgoLite 12/20, 532k, 17.8.](https://raw.githubusercontent.com/junyeong-nero/kitsune/main/assets/benchmark-webarena-pro-20.svg)](https://junyeong-nero.github.io/kitsune/docs/benchmark/) claude-opus-5-5 on a Claude subscription, one attempt per task, all on 2026-12-04. Kitsune `1104bad` (0.9.0). MCP servers ran headless Firefox on a new profile per attempt; Aside and EgoLite ran in their own apps on one existing profile, with a Korean UI on two sites. An Aside or EgoLite call is one CLI command running a JavaScript snippet. Input and calls leave out one task for every tool: four tools timed out on it, and a timeout has no usage record. Aside is 9 of 19 because the benchmark could not sign it in for one task. Input includes cache and is not billed cost. The 20 tasks are a sample by site, drawn without any tool's results. Grading has no LLM judge, so the scores are not comparable to the WebArena-Pro paper's. The full report has every task and a sixth tool, dh1011/firefox-mcp; earlier runs are on the benchmark page. Results, methodology and limitations → ## Get started 1. [Install the browser extension](https://junyeong-nero.github.io/kitsune/docs/installation/#1-install-the-browser-extension) in Firefox or another [supported Firefox-based browser](https://junyeong-nero.github.io/kitsune/docs/browsers/). 2. Register the MCP server with your agents:
uvx kitsune-browser-mcp@latest setup
Setup checks the clients it finds. Use **Space** to change the selection and **Enter** to save it. Restart those clients, or run `/reload` in Pi. With the browser open, try asking: > Research these three products in background tabs and compare them with links. > Leave my current tab alone. > Fill in a draft of this form. Don't submit it. **Trust note:** Python runs locally, not in a sandbox; set `KITSUNE_SCRIPTING=0` to disable it. Approvals do not prevent prompt injection. Use a separate profile for sensitive accounts and read the [security guide](https://junyeong-nero.github.io/kitsune/docs/security/). ## Documentation The website, [junyeong-nero.github.io/kitsune](https://junyeong-nero.github.io/kitsune/), has an interactive demo of background tabs and handoff. The full documentation is at **[junyeong-nero.github.io/kitsune/docs](https://junyeong-nero.github.io/kitsune/docs/)**: - [Installation](https://junyeong-nero.github.io/kitsune/docs/installation/): every MCP client, version pinning, upgrades - [Your tabs and approvals](https://junyeong-nero.github.io/kitsune/docs/your-tabs/): what limits the agent: protected tabs, per-tool approvals, ask-before-act - [Tools](https://junyeong-nero.github.io/kitsune/docs/tools/): the default and legacy tool lists - [Python API](https://junyeong-nero.github.io/kitsune/docs/python-api/): drive the browser from your own scripts with `pip install kitsune-browser` - [Troubleshooting](https://junyeong-nero.github.io/kitsune/docs/troubleshooting/) · [FAQ](https://junyeong-nero.github.io/kitsune/docs/faq/) · [Benchmarks](https://github.com/junyeong-nero/kitsune-benchmark) · [API reference](https://junyeong-nero.github.io/kitsune/docs/api-reference/)