90-tool MCP browser automation that bypasses anti-bot systems — network hooks, UI cloning, and CDP control via natural language.
stealth-browser-mcp is an MCP server for undetectable browser automation using nodriver and Chrome DevTools Protocol. It provides 90 tools across 11 categories: browser management, element interaction, pixel-perfect UI cloning, network debugging with dynamic hooks, CDP functions, progressive cloning, cookies/storage, tabs, and page analysis. Bypasses Cloudflare and similar protections. Works with Claude, Cursor, and other MCP clients.
Save scraped data and cloned UI elements to organized files
Scrape all product data from the page and save it as JSON to ~/data/products.json.✓ Copied
Tools
What this MCP exposes
Tool
Inputs
When to call
Cost
spawn_browser
options?: obj
Launch a new stealth browser instance
0
navigate
url: str
Navigate to a URL
0
query_elements
selector: str
Find elements by CSS selector
0
clone_element_complete
selector: str
Pixel-perfect clone of a DOM element with all styles
0
create_dynamic_hook
hook_function: str
Create a Python function to intercept network traffic
0
take_screenshot
selector?: str
Capture a screenshot of the page or specific element
0
execute_script
script: str
Execute JavaScript in the page context
0
Cost & Limits
What this costs to run
API quota
N/A — runs locally
Tokens per call
200–2000 tokens per tool call
Monetary
Free
Tip
Use core mode (22 tools) if your client struggles with the full 90-tool set.
Security
Permissions, secrets, blast radius
Credential storage: No credentials stored by the server. If accessing authenticated sites, manage cookies via get/set_cookie tools.
Data egress: Connects to whatever URLs you navigate to via Chrome
⚠ This tool is designed for authorized security research, CTF competitions, and defensive analysis only. Do not use it against systems you don't own or have written authorization to test.
Anti-bot bypass capabilities should only be used on sites you have authorization to access.
Dynamic hooks execute arbitrary Python code — review all hook functions before running.
Ensure your scraping complies with each site's Terms of Service and applicable laws.
Troubleshooting
Common errors and fixes
Chrome not found
The server uses nodriver which manages its own Chrome. Ensure Chrome is installed or let nodriver download it.
Verify: which google-chrome || which chromium
Anti-bot detection still triggered
Try adding delays between actions, reduce concurrent requests, or use different browser profiles.
Verify: Check the page for CAPTCHA or block messages
Element clone incomplete
Some elements use shadow DOM or iframe isolation. Use execute_cdp_command for low-level access.
Verify: Inspect the element in DevTools to check for shadow roots
Alternatives
stealth-browser-mcp vs others
Alternative
When to use it instead
Tradeoff
playwright MCP
You don't need anti-bot bypass and want standard browser automation
Standard Playwright with no stealth features but broader community support