Skip to content

MCP server

Browserbase MCP server

Browserbase's hosted MCP server gives AI a cloud browser that can browse, act on pages, observe elements and extract data.

At a glance

Maintained by
Browserbase
Tools exposed
6 listed below
Reviewed
September 24, 2026

Why it matters

What it does and why it matters

Running browsers for AI agents at scale is hard: they need memory, they get blocked and they must be isolated from each other. Browserbase runs browsers in the cloud for you, and its MCP server lets an assistant start a session, open pages, act on a page in plain language, observe elements and extract data.

The act, observe and extract tools let the assistant work at a higher level than individual clicks, such as "click the login button" or "extract the table of prices".

The GitHub repository has been archived, and Browserbase now supports the hosted server as the main path. The API key is passed in the server address, so treat that address as a secret. Sessions run in Browserbase's cloud, which keeps browsing away from your own network.

Usage is billed by Browserbase. We end sessions as soon as a task finishes and set limits on how long an agent may browse.

Use cases

Best business use cases

Scale browsing

Run many browser tasks without managing servers.

Data extraction

Extract tables and details from public pages.

Portal tasks

Work with portals that have no API.

Remote testing

Test sites from an isolated cloud browser.

Network isolation

Keep agent browsing off your company network.

Tools

Available tools

Tool names as published by the maintainer at review time. Versions change, so check the repository for the current list.

Read and write: Read and write: drives a cloud browser that can read pages, click and fill forms.

  • start

    Create or reuse a Browserbase session.

  • end

    Close the current Browserbase session.

  • navigate

    Go to a URL.

  • act

    Perform an action on the page described in plain language.

  • observe

    Find actionable elements on the page.

  • extract

    Extract data from the page.

Workflows

Example workflows

Extract a price table

  1. 1

    Start a cloud session.

  2. 2

    Go to the product page.

  3. 3

    Ask the assistant to extract the price table.

  4. 4

    Review the structured result.

  5. 5

    End the session.

Log into a partner portal safely

  1. 1

    Store credentials in a secure vault, not in the prompt.

  2. 2

    Start a session and open the portal.

  3. 3

    Act on the login form with approved credentials.

  4. 4

    Extract the needed report.

  5. 5

    End the session and clear it.

Prompts

Example prompts

  • “Open this page and extract the pricing table as JSON.”

  • “Go to the partner portal and download last month's statement.”

  • “Observe this page and list all the buttons and links.”

Setup

Installation and configuration

Examples for Claude Desktop and Claude Code. Replace the placeholder values with your own keys, and store secrets outside version control.

Claude Desktop: claude_desktop_config.json

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

Claude Code: terminal

claude mcp add --transport http browserbase "https://mcp.browserbase.com/mcp?browserbaseApiKey=YOUR_BROWSERBASE_API_KEY"
  • Hosted server: streamable-http; https://mcp.browserbase.com/mcp; API key as query parameter browserbaseApiKey.
  • Local server: stdio; @browserbasehq/mcp.
  • Needs: BROWSERBASE_API_KEY; BROWSERBASE_PROJECT_ID (local, per README); GEMINI_API_KEY (local, default Stagehand model).

Security

Security considerations

  • Secret server address

    The API key is in the address. Keep it private.

  • End sessions

    Close sessions when tasks finish.

  • Untrusted pages

    Treat page content as data, not instructions.

  • Review actions

    Approve actions that submit data.

Related servers

Servers that pair well with it

Playwright

Microsoft's Playwright MCP server lets AI drive a real browser: open pages, read them, click, type, fill forms and take screenshots.

Apify

Apify's official MCP server lets AI find and run ready-made scrapers and automation tools, called Actors, and read their results.

Firecrawl

Firecrawl's official MCP server lets AI scrape, map, crawl and search the web and get clean, AI-ready content back.

Keep exploring

FAQ

Questions people ask us

Have a question that is not here? Ask us directly.

Start a project

Want this connected to your own systems? We build AI workflows with MCP.

Send a short brief. We reply with questions, a suggested plan and an estimate you can compare with other offers.

Your privacy choices

We use necessary storage to run this site. With your permission we also use Google Analytics to see which pages help people, and load maps from Google. You can change this at any time. Read the cookie policy.