Purpose: Solves the problem of Claude Code's WebFetch returning 403 on most websites. Browser Buddy lets the agent read pages through your own logged-in browser, bypassing the limitations of server-side scrapers that lack cookies, login state, and sessions; pages never leave your machine except to enter the agent's context.
Main capabilities: Provides two MCP tools—read_active_tab (reads the current active tab) and open_and_read_url (opens the specified URL in a background tab, extracts the text, then automatically closes it). A Chrome extension's MV3 service worker communicates with a Python native host ($TMPDIR/browser-buddy/browser-buddy.sock), and the MCP server forwards calls using a handwritten JSON-RPC 2.0 over stdio based on the standard library. Requests are correlated by id, with a 90-second timeout.
How to use: 1) Open chrome://extensions, enable Developer mode, load the unpacked extension/ directory, and copy the extension ID; 2) Register the native host (write com.browserbuddy.host.json; after restarting Chrome, the service worker console should show native host connected); 3) Add the MCP server to Claude Code (around ~/.claude.json or the project's .mcp.json). Requires Python 3.9+, no pip install needed, and it can also be installed via pip install browser-buddy-mcp.
Use cases: Accessing login-walled pages that WebFetch cannot reach, private GitHub issues, documentation requiring SSO/2FA, etc.; read-only, no per-page cost, no frequent permission pop-ups.
Limitations: Only supports Chrome/Chromium; read-only, does not click, type, or fill out forms, and cannot get past CAPTCHA; text extraction is heuristic, so complex SPAs may include noise; it can see everything the browser can access, so installing requires trusting the session; MV3 service workers are short-lived, and cold starts may add about 1 second of latency; not suitable for concurrent scraping; long pages are truncated at 60k characters and marked (truncated). For security, a domain allowlist can be used to restrict the domains that open_and_read_url can open; by default an empty list allows all but logs a warning, URLs outside the list are rejected, and the allowlist does not affect read_active_tab.