EyeBrowse
EyeBrowse is an MCP server that drives a stealth Chromium browser (resistant to anti-bot systems like Cloudflare and DataDome) with 81 tools for web automation via the Chrome DevTools Protocol.
Session & Tab Management
Create, close, and list isolated browser sessions with optional proxies and randomized fingerprints
Manage multiple tabs; switch to popups and OAuth windows
Navigation
Navigate to URLs, go back/forward, reload, and wait for text, selectors, URL changes, or network idle
Page Inspection
Capture the ARIA accessibility tree with
[ref=...]handles (browser_snapshot)Take screenshots (viewport, full-page, or element), read console messages, resize the viewport
Interaction
Click (single, double, right-click), type, hover, select dropdowns, drag, upload files, press keys
Fill multiple form fields at once; accept/dismiss JS dialogs
Low-level mouse control by coordinates (move, click, scroll, drag)
Scrolling & JavaScript
Scroll by direction/amount, scroll elements into view, auto-scroll infinite pages
Execute arbitrary JS in the page or cross-origin iframes
Network Inspection & Control
Inspect XHR/fetch requests and WebSocket messages
Block URLs, mock responses, toggle offline mode, set custom HTTP headers, export HAR files
Wait for file downloads
Storage Management
Full CRUD on cookies, localStorage, and sessionStorage
Save and restore complete browser state
Captcha Solving & Auth
Solve Turnstile, reCAPTCHA v2/v3, hCaptcha, and FunCaptcha
Generate TOTP codes for two-factor authentication
Content Extraction
Extract rendered page content as clean, token-efficient markdown
Recording & Tracing
Record sessions to MP4, WebM, or GIF; capture Playwright traces for debugging
Verification & Debugging
Assert element visibility, text presence, and input values
Highlight elements, generate stable CSS selectors
Emulation
Override geolocation, grant browser permissions (camera, microphone, notifications, etc.)
Provides a stealth browser engine that bypasses Akamai bot detection, enabling automated web interactions such as navigation, form filling, and data extraction without being flagged as a bot.
Provides a stealth browser engine that bypasses Cloudflare bot detection, enabling automated web interactions such as navigation, form filling, captcha solving, and data extraction without being flagged as a bot.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@EyeBrowseNavigate to https://news.ycombinator.com and summarize the top story"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ποΈ EyeBrowse
A stealthy, LLM-drivable browser engine β one codebase, two faces.
A Python library and an MCP server for driving a real, hard-to-detect browser, so legitimate automation isn't false-flagged or IP-banned by Cloudflare, DataDome, Akamai, or PerimeterX. Built on CloakBrowser β a stealth Chromium (Chrome/146) that's a Playwright drop-in β so EyeBrowse gets the full Chrome DevTools Protocol: trusted cursorless clicks, deep network inspection, MHTML, PDF, and native video.

βΆ Full-quality MP4: docs/demo.mp4 β an AI agent drives EyeBrowse over MCP: clears a Cloudflare check, then reads real docs (asyncio Β· httpx Β· MDN).
Why EyeBrowse?
π₯· Stealth by default β engine-level fingerprint spoofing (
geoip+humanizeon out of the box, novel fingerprint per launch);navigator.webdrivermasked; viewport auto-sized to the spoofed screen. Nopuppeteer-extraband-aids β the anti-detection is compiled into the browser.π€ Built for LLMs β pages are read as an ARIA tree with
[ref=β¦]handles; the model acts by ref (click/type/hover), not by brittle CSS or raw pixels. Cross-origin iframes, shadow DOM, popups β handled.β‘ Chrome DevTools Protocol β trusted, cursorless clicks by node ref (
Input.dispatchMouseEvent), rawNetwork/Performance/Emulationaccess, MHTML snapshots, PDF export, and native video β all reachable as tools.π§° Library and MCP from one codebase β a clean Python API (
EyeBrowse+Session), mirrored 1:1 by a thin MCP server (85browser_*tools) for Claude Code and any MCP client.πͺ Never boxed in β the curated high-level API doesn't hide Playwright: reach
session.page/.context/.browserfor anything it doesn't wrap.π Batteries included β multi-session, proxy + identity rotation, API-mode captcha solvers, native video, full HAR capture, and clean-markdown extraction.
Scope. EyeBrowse is a low-level browser engine β it holds no workflow logic. Consumers decide what to do; the engine provides what's possible.
Related MCP server: Camoufox Browser MCP
Contents
Quickstart Β· Install Β· Features Β· Compare Β· Library Β· MCP Β· Proxy & identity Β· Extraction Β· Recording Β· How it works Β· Caveats Β· Tools Β· License
Quickstart
pip install eyebrowse
# The stealth-Chromium binary downloads automatically on first launch β nothing else to run.import asyncio
from eyebrowse import EyeBrowse
async def main():
eb = EyeBrowse() # stealth defaults: geoip Β· humanize
async with eb.session() as s:
await s.navigate("https://example.com")
print(await s.snapshot()) # ARIA tree with [ref=...] handles
await s.click("e6") # act on a ref from the snapshot
await eb.aclose()
asyncio.run(main())β¦or wire it into Claude Code (or any MCP client) β see Use over MCP.
Install
From PyPI
pip install eyebrowse # or: uv pip install eyebrowse
# CloakBrowser fetches its Chromium binary lazily on first launch β nothing to run.
pip install "eyebrowse[extract]" # optional: + Crawl4AI markdown extraction (heavier)From source (development)
git clone https://github.com/Evil-Bane/eyebrowse && cd eyebrowse
uv sync # core engine (add --extra extract for Crawl4AI)
cp .env.example .env # only if you use a proxy / captcha keysPython 3.12 (pinned <3.13). Engine: cloakbrowser>=0.3 (stealth Chromium, Chrome/146), on
playwright 1.60 and mcp 1.27.
Features
π₯· Stealth | CloakBrowser's patched-Chromium fingerprint spoofing (novel |
π€ LLM interaction |
|
β‘ CDP | trusted cursorless click by ref, raw CDP ( |
πͺ Frames & DOM | cross-origin iframe routing by ref, shadow-DOM piercing, popup/new-tab switching, |
π Multi-session | independent stealth sessions, each with its own context / identity / proxy. |
π Network | inspect requests/responses (incl. XHR/fetch bodies & WebSocket frames), block URLs, mock responses, go offline, full HAR export. |
πΎ State | cookies, localStorage & sessionStorage (CRUD), |
πͺͺ Identity rotation | fresh fingerprint + isolated profile + paired proxy; pluggable residential |
π§© Captcha | pluggable API-mode solvers (CapSolver / 2Captcha / CapMonster / NextCaptcha) + TOTP β no browser extension. |
π Extraction | Crawl4AI |
π₯ Capture | screenshots, Playwright tracing, and native video ( |
β Verify & debug | assertions, element highlighting, locator generation, geolocation/header emulation. |
Full per-tool reference: docs/TOOLS.md (85 tools across 18 groups).
How EyeBrowse compares
EyeBrowse | Playwright MCP | browser-use | playwright-stealth | |
Anti-detection compiled into the browser | β | β | β | β οΈ JS patches |
LLM-native ARIA | β | β | β | β |
Ships an MCP server | β (85 tools) | β | β οΈ partial | β |
One codebase: Python library and MCP | β | MCP-only | lib-only | lib-only |
Full CDP (trusted clicks Β· network Β· MHTML Β· PDF Β· video) | β | β οΈ partial | β | β οΈ partial |
Captcha (API-mode) + TOTP | β | β | β | β |
Proxy + identity rotation built in | β | β | β οΈ partial | β |
Cross-origin iframes Β· shadow DOM Β· popups | β | β | β οΈ partial | n/a |
Fair-use note: each project targets a different niche β this compares them on the axes EyeBrowse optimizes for (stealth + LLM-drivable + one library/MCP codebase), not as an overall ranking.
Use as a library
import asyncio
from eyebrowse import EyeBrowse
async def main():
eb = EyeBrowse() # stealth defaults
try:
async with eb.session() as s: # a stealth session (auto-closed)
await s.navigate("https://example.com")
print(await s.snapshot()) # ARIA tree with [ref=...] handles
await s.click("e6") # act on a ref
await s.type("e8", "hello", submit=True)
png = await s.screenshot(full_page=True)
title = await s.page.title() # full Playwright power when you need it
finally:
await eb.aclose()
asyncio.run(main())Run the included proof: uv run python examples/direct_usage.py.
Use over MCP
EyeBrowse ships an MCP server (eyebrowse-mcp, FastMCP over stdio). Add it to any MCP client.
Claude Code (CLI):
claude mcp add eyebrowse -- eyebrowse-mcpAny MCP client (JSON config):
{
"mcpServers": {
"eyebrowse": {
"command": "eyebrowse-mcp"
}
}
}Then drive the loop: browser_navigate(url) β read the snapshot β act by ref
(browser_click / browser_type / β¦). A default session is auto-created, so most tools just
work. Full list: docs/TOOLS.md.
Proxy & identity (optional)
Runs proxyless by default (geoip still aligns locale/timezone to your real IP). Add a proxy
only when you want one:
await eb.new_session(proxy="http://user:pass@residential.example:8080")
await eb.rotate_identity(proxy="socks5://host:1080") # fresh fingerprint + paired IP
await eb.new_session(no_proxy=True) # force proxylessSet a default once via EYEBROWSE_PROXY_* in .env, eb.set_static_proxy(...), or a custom
ProxyProvider for rotation. Over MCP: browser_new_session(proxy_url=β¦) /
browser_new_identity(proxy_url=β¦) / browser_set_proxy(β¦).
reCAPTCHA v3 / reputation gates are score-based and key off IP + session reputation β a fresh browser on a flagged IP fails regardless of stealth. Pair EyeBrowse with a clean residential proxy.
Extraction
eb.extract() (or browser_extract) hands the rendered HTML to Crawl4AI's raw: feed and
returns clean, pruned markdown β no LLM is called and no LLM keys are ever read; the
consuming agent does any structuring.
md = await eb.extract() # markdown string
res = await eb.extract(output_path="data/page.md") # β {"path": ..., "chars": ...}Recording
Native video β Playwright records the whole session to a .webm, written on close. The path
is known up-front; the file finalizes when the session closes:
s = await eb.new_session(record_video=True)
# ... drive the browser ...
print(await s.video_path()) # path is known up-front; file finalizes on close
await eb.close_session(s.id)Over MCP: browser_new_session(record_video=True) β browser_video_path. Want a GIF for a README?
Convert the .webm with ffmpeg (ffmpeg -i demo.webm demo.gif). The demo at the top was captured
this way β see examples/make_demo.py.
How it works
CONSUMERS ENGINE (library: eyebrowse/)
Claude Code ββMCPβββΆ mcp/ βββΆ EyeBrowse faΓ§ade (public API)
your code β import βββββββββββΆ ββ BrowserEngine (CloakBrowser / stealth Chromium)
any MCP client ββ proxy / identity rotation (pluggable)
ββ captcha solvers (pluggable, API-mode)
ββ Crawl4AI (raw: feed) β clean markdownThe faΓ§ade (EyeBrowse + Session) is the product; the MCP adapter is a thin 1:1 wrapper over
it. The high-level API is curated and LLM-friendly β not a reimplementation of all of Playwright
β and the raw page / context / browser objects are always one attribute away. The launcher
is the only engine-specific layer; everything else is plain Playwright.
Caveats
Worth knowing:
evaluateruns in the page's main world (page globals reachable). To override a page's widget globals and fire a site callback (e.g. for captcha), EyeBrowse injects a<script>so the code runs in the page world β seecaptcha/inject.py.HAR export closes the session β Playwright only flushes the HAR buffer when the context closes. Use the checkpoint pattern:
browser_storage_stateβbrowser_har_exportβbrowser_new_session(storage_state=...). For the initiator-rich Chrome HAR (JS call stacks), reach theNetwork.*domain viabrowser_cdp_send.Native video is
.webmβ convert to GIF/MP4 with ffmpeg if you need another format.
Project layout
eyebrowse/
api.py EyeBrowse faΓ§ade β the single public entry point
config.py settings / secrets (pydantic-settings)
snapshot.py aria_snapshot(mode="ai") + aria-ref= resolution
proxy.py ProxyConfig + pluggable ProxyProvider
identity.py Identity + random_identity() (isolated profile dir)
extract.py Crawl4AI raw: feed β markdown (lazy, optional dep)
engine/ engine.py (CloakBrowser launch) + session.py (verbs + registry)
captcha/ solver ABC + 4 providers + DOM detect/inject
mcp/ FastMCP server + state + tools/ (18 groups Β· 85 tools)
examples/direct_usage.py library proof (no MCP)
examples/make_demo.py the native-video demo above
docs/TOOLS.md full tool referenceBuild notes, version-pin rationale, and verified engine behavior live in CLAUDE.md.
Use responsibly
EyeBrowse drives a real browser with anti-detection features. Use it only against sites you own or are explicitly authorized to automate, and within their terms and applicable law.
License
MIT Β© Evil-Bane
Found EyeBrowse useful? β Star the repo β it genuinely helps.
Built with Python Β· Playwright Β· CloakBrowser Β· FastMCP Β· the Model Context Protocol
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Evil-Bane/eyebrowse'
If you have feedback or need assistance with the MCP directory API, please join our Discord server