Skip to content
MCP server

MCP Server Browserbase

MCP server for AI web browser automation using Browserbase and Stagehand

Runs locallyStatus and history
Pricing
Open source
Runs
Locally
Version
2.1.1
Listing updated
4 days ago

About MCP Server Browserbase

MCP Server Browserbase is an open-source MCP server for browser automation. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp-server-browserbase --env BROWSERBASE_API_KEY='<BROWSERBASE_API_KEY>' --env BROWSERBASE_PROJECT_ID='<BROWSERBASE_PROJECT_ID>' --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- npx -y @browserbasehq/mcp-server-browserbase

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-server-browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp-server-browserbase"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<BROWSERBASE_API_KEY>",
        "BROWSERBASE_PROJECT_ID": "<BROWSERBASE_PROJECT_ID>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server-browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp-server-browserbase"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<BROWSERBASE_API_KEY>",
        "BROWSERBASE_PROJECT_ID": "<BROWSERBASE_PROJECT_ID>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-server-browserbase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp-server-browserbase"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<BROWSERBASE_API_KEY>",
        "BROWSERBASE_PROJECT_ID": "<BROWSERBASE_PROJECT_ID>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "mcp-server-browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp-server-browserbase"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<BROWSERBASE_API_KEY>",
        "BROWSERBASE_PROJECT_ID": "<BROWSERBASE_PROJECT_ID>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "mcp-server-browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp-server-browserbase"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<BROWSERBASE_API_KEY>",
        "BROWSERBASE_PROJECT_ID": "<BROWSERBASE_PROJECT_ID>",
        "GEMINI_API_KEY": "<GEMINI_API_KEY>"
      }
    }
  }
}

Configuration

  • BROWSERBASE_API_KEYYour Browserbase API keyRequired
  • BROWSERBASE_PROJECT_IDYour Browserbase Project IDRequired
  • GEMINI_API_KEYYour Gemini API key (default model)Required

Pricing

Open source

MCP Server Browserbase FAQ

Is MCP Server Browserbase free?

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

How do I add MCP Server Browserbase to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-browserbase --env BROWSERBASE_API_KEY='<BROWSERBASE_API_KEY>' --env BROWSERBASE_PROJECT_ID='<BROWSERBASE_PROJECT_ID>' --env GEMINI_API_KEY='<GEMINI_API_KEY>' -- npx -y @browserbasehq/mcp-server-browserbase

What are the best alternatives to MCP Server Browserbase?

The closest alternatives to MCP Server Browserbase are Browser Use, Scrapling MCP Server, Oya Browser, Mantis and Auto-building agents.

Alternatives to MCP Server Browserbase

  1. Browser Use

    MCP server

    Browser agents and cloud browsers for AI, with an MCP server for web tasks

    • 7 tools
    • Remote
    • Freemium
    • 121K GitHub stars
    • Browser automation
  2. MCP server for AI clients to scrape sites with HTTP and stealth browser sessions

    Runs locally
    • 17 tools
    • Open source
    • 104K GitHub stars
    • Web search and scraping
  3. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  4. Mantis

    MCP server

    Browser MCP server that gives agents numbered text pages instead of screenshots

    Runs locally
    • 1 tool
    • Open source
    • 5 Hacker News points
    • Browser automation
  5. Build and continue browser and Mac automation scripts for Super through Claude

    • Remote
    • Paid
    • Browser automation
  6. pour

    MCP server

    Run WCAG 2.2 accessibility audits and vision simulations on any URL from an agent

    Runs locally
    • Open source
    • Developer tools