Give your AI agent a real browser.

Browser MCP and chrome-devtools-mcp work; until your agent clicks something with a randomized class name and the whole loop crashes. LumaBrowser is a desktop browser with an MCP server, self-healing selectors, and a local cache of resolved selectors. Connect it to Claude Code, Codex, OpenCode, Cline or JetBrains Air from Settings, or to any other MCP host with one config block.

Download LumaBrowser - free Show me the config
An MCP server with self-healing selectors, local-first. Free, no third-party analytics; local models on your own GPU, or bring LM Studio, Ollama, or an API key.

Five lines to a working agent

Install, one MCP block, one REST call. Everything else on this page is detail.

# 1. Install and launch (Node 18+), or use the native installer from /download
npx lumabrowser start

# 2. MCP: Settings > Editors & agents > Coding agents (Claude Code, Cline, Codex,
#    OpenCode, JetBrains Air), or export the MCP config there for any other host (needs Node.js)

# 3. REST: open a page (replies are {success, data, ...}), then click with an LLM fallback
TAB=$(curl -s -X POST localhost:3000/api/browser/tabs -H 'Content-Type: application/json' -d '{"url":"https://news.ycombinator.com"}' | jq -r .data.id)
curl -X POST localhost:3000/api/browser/tabs/$TAB/click -H 'Content-Type: application/json' -d '{"selector":".titleline > a","llmFallback":"Click the first story link"}'

Ports: REST 3000, plus WebDriver 9515 and CDP 9222, which are off by default and turned on in Settings. Without an API key the REST API answers local programs only; a page on another origin, or anything coming through a proxy or tunnel, needs a key from Settings > API & MCP. Headless in Docker: clone the repo and run LUMA_VNC_PASSWORD=change-me docker compose up -d (see Docker). The step-by-step version with config file locations is the agent quickstart.

One click, or one block of JSON

LumaBrowser ships an MCP server. Under Settings > Editors & agents > Coding agents, one click writes the entry into Claude Code, Cline, Codex, OpenCode or JetBrains Air, and puts their config back when you disconnect. For any other host (Claude Desktop, Cursor, OpenClaw), “Other MCP clients” on the same page exports the block below as luma-mcp-config.json. If you require an API key, the entry also carries "LUMA_API_KEY" in env.

{
  "mcpServers": {
    "luma-browser": {
      "command": "node",
      "args": ["<install dir>/resources/app.asar.unpacked/mcp-server.js"],
      "env": { "LUMA_API_PORT": "3000" }
    }
  }
}
1

Install LumaBrowser. Download from the download page or run npx lumabrowser start.

2

Connect your host. Use Settings > Editors & agents > Coding agents, or paste the exported block into your host's MCP config. The server runs on Node.js, so Node must be installed, and it starts LumaBrowser if it is not already running. An entry written before you turned on a required API key has no LUMA_API_KEY: reconnect that agent, or add the line by hand.

3

Restart your MCP host. Your agent now has browser_navigate, browser_observe_page, browser_click, browser_fill_form, browser_get_source, browser_screenshot and the rest of the 28 browser tools, all backed by a real Chromium tab on your machine, plus LumaBrowser's desktop, terminal, Hub, agent and automation tools.

The selector breaks. Your agent doesn't.

Modern frontends ship CSS-in-JS class names like css-8xk2m9 that change on every build. Most MCP browser tools delegate to Puppeteer or Playwright and crash with element not found. LumaBrowser's selector tools take an optional llmFallback; if the CSS misses, an LLM resolves the description against the live DOM and the call succeeds.

Without self-heal

The deploy ships, your agent dies

The frontend pushes a new build at 4pm. Class names change. Your agent loop crashes on the first click() and you find out from an alert at 8pm.

click({ selector: ".product-buy-btn" })
  → Error: element not found
With LumaBrowser

The fallback resolves it, the agent moves on

Pass an llmFallback alongside your selector. When the CSS misses, an LLM looks at the live DOM, picks the right element by description, and the call returns.

click({
  selector: ".product-buy-btn",
  llmFallback: "the primary buy button
                under the price"
})  → ok

Stop dumping raw HTML into your context

If your agent is reading entire DOM trees to figure out where to click, you're burning tokens on every turn. LumaBrowser tries the cheap paths first: an accessibility match that costs no tokens, then a local cache of selectors the model already resolved. The model is only asked when both miss, and it sees a compact list of up to 80 interactable elements, not the raw HTML.

0
model calls when a cached selector replays

Resolve once, replay after

When the model resolves a description like “the Save button”, LumaBrowser stores the answer locally as a robust selector, keyed by page pattern, action and description. Next time it checks the element is still there (one visible match, same tag, similar text) and replays it with no model call, even if no model is configured. Anything doubtful is a miss and goes back to the model. Entries expire after 30 days.

What your agent can do

The browser group alone is 28 browser_* tools. Desktop control (Windows), the terminal (when you switch on “Let AI use the terminal”), the Hub, timed tasks, page monitors, Site APIs, agents and Tool Forge add their own groups, more than a hundred tools in all. Every interaction tool that targets the DOM accepts an llmFallback description.

Navigate

browser_create_tab · browser_navigate · browser_get_tabs · browser_refresh · browser_close_tab · browser_wait_for

Open tabs, route them to URLs, wait on a selector or page state, close them when done. The agent gets a real tab list it can reason about, not a single sandboxed page.

Interact

browser_observe_page · browser_click · browser_click_until · browser_type · browser_fill_form · browser_select_option · browser_set_date · browser_set_slider · browser_press_key · browser_scroll · browser_handle_dialog · browser_execute_js

See the page as a numbered list of elements, then click, type, pick options, set dates and sliders, scroll, answer dialogs, send keystrokes, or run JS in page context. Selector-based tools fall back to an LLM description if the CSS misses, so a frontend redesign doesn't end the run.

Extract

browser_get_source · browser_get_element · browser_get_table · browser_extract_data · browser_collect_list · browser_screenshot · browser_get_console · browser_get_network

Grab page text or markdown, structured element properties, table rows, repeating items, lists of links, screenshots, console logs and network traffic. Several formats means the agent picks the cheapest one for the job.

Where LumaBrowser fits in the stack

There are a lot of ways to give an agent a browser right now. Here's how the local-desktop-app approach compares to the alternatives engineers usually try first.

Browser MCP / Claude in Chrome chrome-devtools-mcp Browserbase Browserless LumaBrowser
Where it runs Chrome / Edge extension Local Chrome via Puppeteer Vendor cloud only Vendor cloud or self-host Local desktop app
MCP host support Claude Desktop / Code only Any MCP host Custom SDK + MCP server HTTP / WS API, MCP via wrappers Any MCP host
Pricing model Free, gated to Anthropic Free, OSS Free 1 hr, then $20+/mo Free 1k units, then $25+/mo Free, no caps
Self-healing selectors No No (raw Puppeteer) Stagehand AI actions No LLM fallback per call
Cached selector resolutions No No Stagehand action caching No Local resolution cache
Local model support No (Anthropic only) Bring your own host Cloud-only Cloud-only Built-in local runtimes, LM Studio, OpenAI, Anthropic
Where the data lives Anthropic + your Chrome Your machine Their cloud Their cloud or yours Your machine

Pricing as listed by each vendor at time of publication. Cloud headless-browser pricing is metered, Browserbase by browser-hours, Browserless by 30-second “Units”, so cost scales with how often your agent loops. Higher tiers (Browserbase Startup at $99/mo, Browserless Starter at $140/mo annually) raise the included quota and concurrency.

This comparison reflects publicly available pricing and feature information gathered to the best of our knowledge from each vendor's public materials. Vendors update plans frequently and we're a small team; if anything here looks wrong, please email [email protected] with the correction and a source, and we'll update the page.

Compatibility & BYOK

Bring your own MCP host. Bring your own model.

Works as an MCP server with

  • Claude Desktop - tested daily; the canonical setup target
  • Claude Code, Cline, Codex, OpenCode, JetBrains Air - written for you by Settings > Editors & agents > Coding agents
  • JetBrains Air and Zed - also run your LumaBrowser agents in their own chat panel through luma acp (Agent Client Protocol)
  • Cursor - via ~/.cursor/mcp.json
  • OpenClaw and other open MCP hosts
  • Custom agents - speak MCP over stdio with the standard SDK
  • WebDriver / CDP clients - turn on the Selenium and CDP endpoints in Settings (both off by default), then Puppeteer and Playwright connect via connectOverCDP. On 127.0.0.1 they need no key; bound to any other address they won't start until you create an API key, and clients then send it (http://luma:<key>@host:9515 for Selenium, a Bearer header or ?token= for CDP)

Bring your own model

  • LM Studio - point at http://localhost:1234/v1; fully local inference
  • Anthropic - paste an API key; full Claude model lineup supported
  • OpenAI - same; plus any OpenAI-compatible endpoint (Ollama, vLLM)
  • Local runtimes - llama.cpp for NVIDIA, AMD, Intel, Qualcomm and Apple hardware, or MLX on Apple Silicon, downloaded from Setup; no API keys

Stop losing agent runs to a class name change

LumaBrowser is the local desktop browser your agent already wishes you had wired up. Free to download, plugs into your existing MCP host, runs with the model you're already paying for; or no model at all if you want to drive it from a script.

Download LumaBrowser - free Read the MCP tool reference