Browser Ref MCP
Reliable browser-control MCP server for AI agents: click by ref, self-healing sessions.
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.2.0
- Listing updated
- 1 day ago
About Browser Ref MCP
Browser Ref MCP 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 browser-ref-mcp -- npx -y browser-ref-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"browser-ref-mcp": {
"command": "npx",
"args": [
"-y",
"browser-ref-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"browser-ref-mcp": {
"command": "npx",
"args": [
"-y",
"browser-ref-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"browser-ref-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"browser-ref-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"browser-ref-mcp": {
"command": "npx",
"args": [
"-y",
"browser-ref-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"browser-ref-mcp": {
"command": "npx",
"args": [
"-y",
"browser-ref-mcp"
]
}
}
}Configuration
BROWSER_MCP_CDP_URLConnect to a browser already running with a debug port, e.g. http://127.0.0.1:9222. Leave unset to launch your own Chrome/Edge.BROWSER_MCP_HEADLESSRun without a visible browser window (default: headed, so the user can watch and take over).BROWSER_MCP_PROFILEBrowser profile directory, keeps logins across sessions (default: ~/.browser-mcp/profile).BROWSER_MCP_CHANNELSComma-separated browser channel fallback chain (default: chrome,msedge).
Pricing
Open source
Browser Ref MCP FAQ
Is Browser Ref MCP free?
Yes. Browser Ref MCP is open source, so you can use and self-host it for free.
How do I add Browser Ref MCP to Claude Code?
Run this command in your terminal: claude mcp add browser-ref-mcp -- npx -y browser-ref-mcp
What are the best alternatives to Browser Ref MCP?
The closest alternatives to Browser Ref MCP are Browser Use, Scrapling MCP Server, Oya Browser, Mantis and Auto-building agents.
Alternatives to Browser Ref MCP

Browser Use
MCP serverBrowser agents and cloud browsers for AI, with an MCP server for web tasks
- 7 tools
- Remote
- Freemium
- 121K GitHub stars
- Browser automation

Scrapling MCP Server
MCP serverMCP 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

Oya Browser
MCP serverHIPAA-oriented agentic browser with replayable playbooks, reachable over MCP
- 32 tools
- Remote
- Freemium
- 349 GitHub stars
- Browser automation
Mantis
MCP serverBrowser MCP server that gives agents numbered text pages instead of screenshots
Runs locally- 1 tool
- Open source
- 5 Hacker News points
- Browser automation

Auto-building agents
MCP serverBuild and continue browser and Mac automation scripts for Super through Claude
- Remote
- Paid
- Browser automation

pour
MCP serverRun WCAG 2.2 accessibility audits and vision simulations on any URL from an agent
Runs locally- Open source
- Developer tools