Skip to main content

Browser Use MCP server

smithery badge

Overview

A Model Context Protocol server for automating browser tasks using Browser Use API. This server provides tools to run browser automation tasks, monitor task status, and manage running tasks.

Prerequisites

  • A Browser Use API key

to get a Browser Use API key, go to Cloud Browser Use and sign up.

Installation

Installing via Smithery

To install browser-use-mcp for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @hadiazarabad/browser-use-mcp --client claude

The package is not published to PyPI. You'll need to clone this repository and run it directly from source.

git clone https://github.com/hadiazarabad/browser-use-mcp.git
cd browser-use-mcp

Running the Server

Using Python directly

python /path/to/browser-use-mcp/src/server.py --api-key YOUR_BROWSER_USE_API_KEY

Using uvx (recommended)

First, install uv if you haven't already:

curl -LsSf https://astral.sh/uv/install.sh | sh

Then you can run the server using uvx:

uvx run /path/to/browser-use-mcp/src/server.py --api-key YOUR_BROWSER_USE_API_KEY

Or, for development purposes, you can use:

uv run /path/to/browser-use-mcp/src/server.py --api-key YOUR_BROWSER_USE_API_KEY

Tools

  1. run task

    • Run a Browser Use automation task with instructions and wait for completion
    • Input:
      • instructions (string): Instructions for the browser automation task
      • structured_output (string, optional): JSON schema for structured output
      • parameters (object, optional): Additional parameters for the task
    • Returns: Information about the created task including final output if wait_for_completion is True
  2. get task

    • Get details of a Browser Use task by ID
    • Input:
      • task_id (string): ID of the task to retrieve
    • Returns: Complete task information including steps and output
  3. get task status

    • Get the status of a Browser Use task
    • Input:
      • task_id (string): ID of the task to check
    • Returns: Current status of the task
  4. stop task

    • Stop a running Browser Use task
    • Input:
      • task_id (string): ID of the task to stop
    • Returns: Confirmation of task being stopped
  5. pause task

    • Pause a running Browser Use task
    • Input:
      • task_id (string): ID of the task to pause
    • Returns: Confirmation of task being paused
  6. resume task

    • Resume a paused Browser Use task
    • Input:
      • task_id (string): ID of the task to resume
    • Returns: Confirmation of task being resumed
  7. list tasks

    • List all Browser Use tasks
    • Returns: List of all tasks with their IDs and statuses
  8. check balance

    • Check your Browser Use account balance
    • Returns: Account balance information

Prompts

  1. browser-use-task
    • Run a Browser Use automation task
    • Input:
      • instructions (string): Instructions for the browser automation task
      • structured_output (string, optional): JSON schema for structured output
    • Returns: Formatted task details as conversation context

Claude Desktop

Add this to your claude_desktop_config.json:

"mcpServers": {
  "browser-use": {
    "command": "uv",
    "args": [
        "run",
        "/path/to/browser-use-mcp/src/server.py",
        "--api-key",
        "YOUR_BROWSER_USE_API_KEY"
    ]
  }
}

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Metadata

Release files for simple-browser-use-mcp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-browser-use-mcp 0.2.1
File Size Uploaded Provenance
simple_browser_use_mcp-0.2.1.tar.gz 24.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-browser-use-mcp 0.2.1
File Interpreter ABI Platform
simple_browser_use_mcp-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.6 kB

Release files / simple_browser_use_mcp-0.2.1.tar.gz

Download URL simple_browser_use_mcp-0.2.1.tar.gz
Size 24.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2431b59db17a4d27714ca634c4221fb80579cfcee3c561c8780d046395437766
BLAKE2b-256 checksum
How to use checksums
6d505d0706d052c0ef9e230be01b9f03fe1b900b45863aa0f4d006352bd24231
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Release files / simple_browser_use_mcp-0.2.1-py3-none-any.whl

Download URL simple_browser_use_mcp-0.2.1-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b447d6e35c0c1ed490e61f701afc86520eaafa996efded5f9ee6b99fadeae255
BLAKE2b-256 checksum
How to use checksums
93cf8118d3bfcfceb096b551341c84e33ae88c20766525f3b2859c000fb0c43b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.7

Security for simple-browser-use-mcp 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page