Cross-platform browser automation for Claude Desktop. Control Brave Browser through Claude using native automation on macOS and Windows.
- Tab Management: Open, close, switch between tabs
- Navigation: Navigate to URLs, go back/forward in history
- Page Interaction: Execute JavaScript, get page content
- Browser Control: Reload tabs, list all open tabs
Open a URL in Brave, either in a new tab or current tab.
Get information about the currently active tab (URL, title, ID).
List all open tabs across all Brave windows.
Close a specific tab by its ID.
Switch to a specific tab by its ID.
Reload a tab (current tab or specific tab by ID).
Navigate through browser history.
Execute JavaScript code in a tab.
Get the text content of a web page.
- macOS or Windows
- Brave Browser installed
- Windows only:
- ChromeDriver (automatically included with extension)
- To control existing Brave tabs: Launch Brave with remote debugging enabled (see setup below)
To install this extension for Claude Desktop, download and open the brave-browser-control.dxt file.
The extension automatically uses your Brave profile (bookmarks, history, passwords, extensions). No setup required!
- Close Brave if it's currently running
- Use Claude Desktop to control Brave
- Extension will launch Brave with your Default profile automatically
Your bookmarks, history, passwords, and extensions will all be available.
If you have multiple Brave profiles and want to use a specific one:
-
Find your profile name:
- Navigate to:
%LOCALAPPDATA%\BraveSoftware\Brave-Browser\User Data\ - Look for folders like
Default,Profile 1,Profile 2, etc. - Note the exact folder name (e.g.,
Profile 1)
- Navigate to:
-
Set the environment variable in Claude Desktop config:
- Open Claude Desktop settings
- Find the MCP servers configuration
- Add
BRAVE_PROFILEenvironment variable to the brave-control server config - Example value:
Profile 1
-
Or set it system-wide:
- Open System Properties → Environment Variables
- Add user variable:
BRAVE_PROFILE=Profile 1 - Restart Claude Desktop
Basic Usage (Default Mode):
- Close Brave if it's running
- Use Claude Desktop to control Brave
- Extension launches Brave with your profile (bookmarks, history, passwords, extensions)
- To restore your tabs: Press
Ctrl+Shift+Tin Brave to reopen recently closed tabs
Note: The extension does NOT automatically restore previously open tabs. Brave's session restore feature doesn't work reliably when launched via WebDriver. Use Brave's built-in "Recently Closed" feature (Ctrl+Shift+T) to restore tabs you need.
Advanced: Control Currently Open Tabs (Optional)
If you want to control tabs that are ALREADY open in a running Brave instance:
- Close all Brave windows
- Right-click your Brave shortcut → Properties
- In the "Target" field, add to the end:
--remote-debugging-port=9222 - Launch Brave using this modified shortcut
- Claude Desktop can now control your currently open tabs in real-time
This mode lets you work with tabs you already have open without closing Brave first.
This extension requires access to control Brave Browser. It can:
- Read and modify web page content
- Navigate to any URL
- Execute JavaScript in browser tabs
- Open, close, and switch between tabs
- Access information about open tabs (URL, title)
Platform-specific permissions:
- macOS: Requires automation permissions in System Settings > Privacy & Security > Automation
- Windows: Uses Selenium WebDriver to control the browser (may launch new browser instances)
Warning: This extension provides powerful control over your browser. Only use it with trusted applications and be cautious about the commands you authorize. Since this tool can execute any JavaScript, it can potentially be used to perform malicious actions. Always review the scripts you are about to execute.
Use with appropriate caution and only grant access when necessary.
This project is based on the original work by Tariq Alagha. Windows support and cross-platform enhancements added by youngsecurity.net.
MIT License - See LICENSE file for details.