Skip to content
MCP server

Browserbash

Plain-English browser tests for AI agents: real Chrome, deterministic verdicts. Free, no…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.5.1
Listing updated
5 days ago

About Browserbash

Browserbash is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Plain-English browser tests for AI agents: real Chrome, deterministic verdicts. Free, no API keys.

Install

Run in a terminal

claude mcp add browserbash --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y browserbash-cli

Add to claude_desktop_config.json

{
  "mcpServers": {
    "browserbash": {
      "command": "npx",
      "args": [
        "-y",
        "browserbash-cli"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "browserbash": {
      "command": "npx",
      "args": [
        "-y",
        "browserbash-cli"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "browserbash": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "browserbash-cli"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "browserbash": {
      "command": "npx",
      "args": [
        "-y",
        "browserbash-cli"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "browserbash": {
      "command": "npx",
      "args": [
        "-y",
        "browserbash-cli"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • ANTHROPIC_API_KEYAnthropic API key. Optional: without it BrowserBash auto-resolves a free local Ollama model.

Pricing

Open source

Browserbash FAQ

Is Browserbash free?

Yes. Browserbash is open source, so you can use and self-host it for free.

How do I add Browserbash to Claude Code?

Run this command in your terminal: claude mcp add browserbash --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y browserbash-cli

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers