Skip to content
junyeong-neroPublic

About

MCP server that lets AI agents use your Firefox, Zen, or LibreWolf browser.

Topics

Resources

Security policy

Stars

44 stars

Watchers

0 watching

Forks

Repository files navigation

Kitsune

Kitsune: an orange fox in a browser window, connecting your browser and your AI agent

kitsune-browser-mcp on PyPI kitsune-browser on PyPI Python Release License: MIT Website 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 the Firefox, Zen or LibreWolf 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

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 Firefox, Zen or LibreWolf. Reuse your existing sessions without opening a separate Chrome browser or installing WebDriver.
  • A small tool surface. Six tools: Python for browser actions, plus direct controls for 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.

Tied on success. Least input.

On 26 realistic web tasks Kitsune passed as many as Playwright MCP under Claude Code and Codex, and used the least input of four browser tools. Aside, EgoLite, Playwright MCP and Kitsune on 26 WebArena-Pro tasks: 208 attempts, graded by the sites' backend state and the agent's answer. How much less input depends on the agent: on the tasks every tool passed, Kitsune used 39% of Playwright MCP's input under Claude Code and 87% under Codex, with about half its tool calls under both.

Four-way benchmark, 26 WebArena-Pro tasks, 208 attempts. Passed, Claude Code / Codex: Kitsune 13/26 and 12/26; Playwright MCP 13/26 and 12/26; Aside 12/26 and 12/26; EgoLite 12/26 and 12/26. Mean input tokens per attempt: Kitsune 283k / 414k; Aside 463k / 512k; EgoLite 360k / 622k; Playwright MCP 660k / 809k. Mean tool calls: Kitsune 14.0 / 15.8; Aside 16.1 / 15.6; EgoLite 12.8 / 17.5; Playwright MCP 29.8 / 35.1.

claude-opus-5-5 and gpt-6.1-sol, one attempt per task (19 test, 7 dev). Input includes cache, not billed cost. Grading has no LLM judge, so it is stricter than the WebArena-Pro paper's and not comparable to its scores. Aside and EgoLite used the operator's browsers; Playwright MCP and Kitsune ran an isolated Firefox. EgoLite (under Claude Code) and Aside (under Codex) made slightly fewer tool calls than Kitsune. Results, methodology and limitations →

Get started

  1. Install uv.

  2. Install the browser extension in Firefox, Zen or LibreWolf.

  3. Add Kitsune to your agent. For Claude Code:

    claude mcp add --scope user kitsune -- uvx --from kitsune-browser-mcp kitsune

    Codex, Pi, OpenCode, Claude Desktop and Cursor are in Installation.

  4. Keep the browser open and ask in plain language:

    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.

Documentation

The website, 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:

About

MCP server that lets AI agents use your Firefox, Zen, or LibreWolf browser.

Topics

Resources

Security policy

Stars

44 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages