Playwright MCP vs a hosted browser MCP server: when to use which
Short answer: use Microsoft's Playwright MCP (free, open source) when your coding agent needs to drive a browser on your own machine, for example to test your app on localhost step by step. Use a hosted, task-level MCP server such as Human Browser when the target is a real public site that blocks datacenter IPs or headless browsers, when you need logged-in profiles, a human for an OTP or captcha, or many runs in parallel off your laptop. Your agent sends one goal; a real Chrome on a residential IP does the clicking and returns the result. Both can be installed side by side.
No subscription. Prepaid balance, first top-up can be $1. See pricing.
Two different shapes of browser MCP
Playwright MCP is a local browser with step-level tools. Your coding agent (Claude Code, Cursor, Codex, Cline) calls a tool to open a page, reads back the page state, decides what to click or type, calls the next tool, and so on. You get full control and it costs nothing, but every step is a round trip through your agent, the page state lands in its context window, and the browser runs from your IP with whatever proxies and captcha handling you set up yourself.
Human Browser MCP is a hosted, task-level server. It exposes three tools: humanbrowser_run starts a task from a goal in plain English and returns a task id and a live viewer URL within seconds; humanbrowser_status long-polls (up to 60 seconds per call) until the task is completed, failed or needs a human; humanbrowser_viewer_url returns the viewer link on its own. Our agent drives a real headful Chrome in the cloud on a residential IP, handles captchas, and hands over to a human in the viewer when it hits something like an OTP. Your coding agent only sees the task status and the final answer.
Playwright MCP vs Human Browser MCP
| Playwright MCP | Human Browser MCP | |
|---|---|---|
| Where the browser runs | On your machine (or wherever you run the server) | Hosted real headful Chrome in our cloud |
| Who plans the clicks | Your coding agent, one tool call per step | Our agent, from one goal in plain English |
| What your agent sees | Page state returned on each step, in its own context | A task id, a viewer URL, then the final result |
| IP address | Your own IP, or proxies you configure | Residential exit by default, sticky per session, 75 countries |
| Captchas | Yours to handle | Handled automatically, 12+ types; falls back to a human if needed |
| Human takeover | You are at the machine, so you can step in locally | Live viewer link; a human can take over from any device |
| Persistent logins | Whatever browser profile you point it at | Named profiles keep cookies and logins across runs |
| Parallel runs | Limited by your machine | Up to 10 concurrent sessions per paid token |
| Cost | Free and open source, plus your own infra, proxies and captcha services | $0.10/hr browser + $0.02 per agent step with the AI included + $0.005/captcha. Measured median $0.24 per task (about 8 steps) |
| Setup | Add the server to your MCP client; runs locally | Add a URL and token to your MCP client, or run it via npx |
| Best for | Testing your own app on localhost, step-by-step debugging | Real public sites, logged-in accounts, runs you want off your laptop |
Human Browser cost figures: measured on our production over 132 successful customer tasks in September 2026 (median task about 8agent steps and 4.5 billed minutes, median all-in cost $0.24 at today's rates; p25 $0.12, p75 $0.39). Sessions under 30 seconds and time while a human has taken over are not billed. Residential traffic is $4/GB.
When Playwright MCP is the better choice
- You are testing your own app. A hosted browser cannot reach
localhoston your laptop. For writing and debugging end-to-end tests, checking a UI change, or reproducing a bug in your dev server, a local browser is the right tool. - You want the agent to control every step. With step-level tools your coding agent decides each click and you can see exactly why. That is useful when you are building a Playwright script and want to turn the steps into code.
- The target does not fight automation. Internal tools, staging sites, docs pages and friendly public pages usually work fine from your own IP.
- Cost has to be zero. Playwright MCP is free. Human Browser costs $0.10 per browser-hour plus $0.02 per agent step, traffic and captchas, which is more than running a browser yourself.
- You need raw browser access. Human Browser does not hand you a Playwright or CDP connection; it takes a goal and returns a result.
When a hosted browser MCP is the better choice
- The site blocks datacenter IPs or headless browsers. Human Browser runs a real headful Chrome on a residential exit by default, built to pass the checks that stop a local headless run or a cloud VM.
- Captchas and OTPs show up. About 13% of our customers’ successful tasks met a captcha; they are handled automatically at $0.005 each. When the agent needs a code or a decision, the task moves to
input-requiredand a human can finish the step in the live viewer. - You need to stay logged in. Pass a named
profileand cookies and logins persist across runs. - You want runs off your laptop, in parallel. Up to 10 concurrent sessions per paid token, and they keep going when you close the lid.
- You want to keep your coding agent's context clean. Page snapshots stay on our side; your agent gets a status and a result instead of the page state from every step.
Set it up in Claude Code, Cursor, Codex or Cline
Get a token first (it looks like hb_live_...), then add the server. Full per-client instructions are in the MCP docs.
Remote server (streamable HTTP)
For clients that accept a URL, such as Cursor and Cline:
{
"mcpServers": {
"humanbrowser": {
"url": "https://agent.humanbrowser.cloud/mcp",
"headers": { "Authorization": "Bearer hb_live_..." }
}
}
}Claude Code
Add the remote server from the terminal:
claude mcp add --transport http humanbrowser \
https://agent.humanbrowser.cloud/mcp \
--header "Authorization: Bearer hb_live_..."Local variant (npx, stdio)
For clients that start MCP servers as a local command:
{
"mcpServers": {
"humanbrowser": {
"command": "npx",
"args": ["-y", "@virixlabs/humanbrowser", "mcp"],
"env": { "HB_TOKEN": "hb_live_..." }
}
}
}Example prompt to your coding agent
Use the humanbrowser MCP tool. Start one task with humanbrowser_run:
"Open the pricing pages of these three competitors, and for each plan
return name, monthly price and included seats as JSON."
Use country "us". Send me the viewer_url so I can watch.
Poll humanbrowser_status with wait_seconds 30 until the state is
completed, failed or input-required. If input-required, tell me
what it needs. When completed, save the JSON to data/competitors.json.Your agent calls humanbrowser_run once, passes you the viewer link, and polls humanbrowser_status until the result is ready. If you also have Playwright MCP installed, you can tell the agent which one to use for which part of the job: for example Playwright MCP to check your local build, Human Browser for the competitor sites.
Try it on a site that blocks your local browser
Try it for $1 — about 4 typical tasks. No subscription; later top-ups from $5; balance never expires.
FAQ
What is the difference between Playwright MCP and Human Browser MCP?
Playwright MCP is Microsoft's free, open-source MCP server. It starts a browser on your own machine and gives your coding agent step-level tools such as navigate, click, type and read the page, so the agent plans every click itself. Human Browser MCP is a hosted, task-level server: your agent calls humanbrowser_run with a goal in plain English, our own agent drives a real headful Chrome in the cloud on a residential IP, handles captchas, lets a human take over in a live viewer, and returns the result.
Is Playwright MCP free?
Yes. Playwright MCP is open source and free to use. You still pay for the machine it runs on, any proxies or captcha services you add yourself, and the LLM tokens your coding agent spends reading page state on every step.
Can I install Playwright MCP and Human Browser MCP side by side?
Yes. MCP clients such as Claude Code, Cursor, Codex and Cline accept several servers at once under different names. A common setup is Playwright MCP for testing your own app on localhost and Human Browser MCP for tasks on real public sites.
Is there a Puppeteer MCP server, and how does it compare?
Puppeteer-based MCP servers exist and work much like Playwright MCP: a browser on your machine with step-level tools that your agent drives. The same trade-offs apply. Human Browser MCP differs in where the browser runs (a hosted Chrome on a residential IP) and in who plans the clicks (our agent, from a single goal).
How much does Human Browser MCP cost per task?
Browser time is $0.10 per hour, billed per second, the agent is $0.02 per step with the AI included, and captchas are $0.005 each. Measured on our production over 132 successful customer tasks in September 2026, the median task took about 8 agent steps and cost $0.24 all-in at today's rates. There is no subscription, and your first top-up can be $1; later top-ups start at $5.
Does Human Browser MCP give me raw Playwright or CDP access?
No. It is a goal-level API: you send a task in plain English and get the result back. If you want to run your own Playwright or Puppeteer script against a remote browser, a raw cloud browser service or Playwright MCP on your own machine is the better fit.