Browserbase

Hosted headless browsers with Playwright and Stagehand integration.

Works with: Claude DesktopClaude CodeCursor

Official server · details last checked

Quick install
npx -y @browserbasehq/mcp

How to install the Browserbase MCP server

Add this to your Claude Desktop MCP configuration:

{
  "mcpServers": {
    "browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp"
      ]
    }
  }
}

Add this to your Claude Code MCP configuration:

npx -y @browserbasehq/mcp

Add this to your Cursor MCP configuration:

{
  "mcpServers": {
    "browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp"
      ]
    }
  }
}

Built by ContextBoltThis directory is built by ContextBolt: MCP-native memory and SEO tools that run alongside Browserbase in the same client.

Explore ContextBolt

Browserbase provides headless browsers as a hosted service, and its official MCP server lets an agent drive them. The pitch is straightforward: browser automation is useful but running browsers is a nuisance, especially several at once, so let someone else run them and connect over the network instead.

What it actually does

The server creates and controls remote browser sessions. Claude can navigate, interact with pages, extract content and take screenshots, all against a browser running in Browserbase’s infrastructure rather than on your laptop. It supports Playwright underneath and Stagehand on top, which lets the agent describe an action in plain language instead of committing to a selector. Sessions are recorded, so a run that misbehaved can be watched back.

Practical patterns:

  • ‘Scrape these forty product pages and give me a table of prices.’
  • ‘Log into the staging site and walk through the signup flow, then show me the replay.’
  • ‘Run this check against the live site every morning and tell me if the layout moved.‘

Why use it

Local headless browsers are fine for one task on one machine. They stop being fine when you want parallelism, when the job should run whether or not your laptop is open, or when you need to explain to someone why an automated run did something odd. Session replay in particular turns agent browser work from a black box into something you can debug.

Gotchas

Sessions cost money and agents are not naturally frugal; an unbounded loop over a large list will run up a bill. Set limits on both sides. There is also a latency floor from the network hop, so this is not the fastest option for a quick single-page fetch, where the local Fetch server would do. And you are sending page content through a third party, which matters if the pages are sensitive.

Built by ContextBolt

This directory is built by ContextBolt

We build MCP-native tools that give your AI the context it cannot reach on its own. Bookmarks turns your saved posts into agent-queryable memory. SEO puts live keyword and ranking data inside Claude. Both run alongside Browserbase in the same client.

Explore the products →

Browserbase MCP server: FAQs

Why not just run a browser locally?

Local browsers tie up your machine, break when it sleeps, and are hard to run several of at once. Hosted sessions sidestep all three, at a cost per session.

What is Stagehand?

Browserbase's higher-level layer for describing actions in natural language rather than selectors. It sits on top of Playwright rather than replacing it.

Can I watch what it did?

Yes, session replay is the main operational advantage. When an agent run goes wrong you can watch the recording instead of guessing from logs.

What does it cost?

Billed by usage on Browserbase's side. An agent left looping through sessions will spend real money, so cap it.