Give Claude Code a browser.

Paste one prompt. Claude Code then clicks, types and reads pages in your Chrome, logged in as you.

Try it in the cloud

Claude Code browser | Browser Harness

PromptOpen Rate Your Music, collect the artist's complete discography with release details and ratings, and save it as CSV.

When a tool is missing,
the agent writes it.

  1. agent: wants to pick a date
  2. agent_helpers.py → helper missing
  3. agent writes itagent_helpers.py + pick_date()
  4. date picked

What an agent learns on a site can be saved as a skill: site skills for 172 websites.

Which browser tool to use with Claude Code

Playwright MCP: Testing your own app in a browser it launches with its own profile; add --isolated for a clean one each session. Its extension mode can also work in tabs you pick in your logged-in Chrome. Setup: claude mcp add playwright npx @playwright/mcp@latest
Playwright CLI: The same jobs as Playwright MCP, as shell commands and a skill. Microsoft's README says coding agents may be better off with it, because it is more token-efficient. Setup: npm install -g @playwright/cli@latest && playwright-cli install --skills
Claude in Chrome: Claude in your own Chrome, logged in as you. Needs a Pro, Max, Team or Enterprise plan via /login. It stays off with an API key, Bedrock, Google Cloud Agent Platform, Microsoft Foundry and in WSL. Setup: Install the Claude in Chrome extension, then: claude --chrome
Chrome DevTools MCP: Debugging your app: performance traces, network requests, console errors. Setup: claude mcp add chrome-devtools --scope user npx chrome-devtools-mcp@latest
Browser Harness: Your logged-in Chrome when Claude in Chrome is not available to you, for example on an API key, or many cloud browsers at once. In our matched eval, with Codex as the agent, it matched Playwright MCP and Chrome DevTools MCP on success at the lowest model cost per task: a median $0.042 vs $0.066 and $0.097. Setup: Paste the setup prompt from Connect your agent, above.

Browser Harness attaches to your whole Chrome: you tick remote debugging in chrome://inspect once, then click Allow. If you want the agent to see only some tabs or sites, Playwright MCP's extension mode and Claude in Chrome's site permissions limit that.

Source: Playwright MCP README, Playwright CLI README, Claude Code: use Claude Code with Chrome, Chrome DevTools MCP client setup, Browser Harness README, matched eval, checked Oct 2026.

Questions

Do I need an MCP server?

No. The prompt installs Browser Harness and registers it as a Claude Code skill. Chrome asks once for permission.

Can Claude Code run many browsers at once?

Yes, on Browser Use cloud browsers, one per sub-agent, at $0.06 per browser-hour with stealth, CAPTCHA solving and proxies.

What does it cost?

Nothing. Browser Harness is open source under MIT, and using your own Chrome is free. Cloud browsers are $0.06 per browser-hour if you want them.