Token-efficient browser agent for local LLMs. Playwright + accessibility tree + MarkGrab.
Most browser automation work still happens through a UI a human drives. Browsegrab MCP server moves it into the conversation instead. Token-efficient browser agent for local LLMs. Playwright + accessibility tree + MarkGrab.
async with BrowseSession() as session: # Navigate and get accessibility tree snapshot await session.navigate("https://example.com") snap = await session.snapshot() print(snap.tree_text) # - heading "Example Domain" [level=1] # - link "Learn more": [ref=e1]
Installation goes through your MCP client rather than a global install: point it at browsegrab on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: BROWSEGRAB_LLM_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the browser automation options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by ArkNill; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Browsegrab's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
{
"mcpServers": {
"browsegrab": {
"command": "uvx",
"args": ["browsegrab"],
"env": {
"BROWSEGRAB_LLM_BASE_URL": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| BROWSEGRAB_LLM_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
Industrial-strength web extraction — render, scrape, crawl and search entire sites into clean markdown.
The original Chromium automation reference server — simple, screenshot-driven browser control.
Give your coding agent the full DevTools toolbox: traces, network, console, heap snapshots and Lighthouse.
Puppeteer-powered browser control that drives pages from the accessibility tree instead of pixels.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.