Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

SeleniumBase MCP

MCP server by seleniumbase Community

SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.

  • Score 94
  • 13k stars
  • MIT
  • Updated

Install SeleniumBase MCP

Built from the published package, never by AI.

claude mcp add seleniumbase-mcp -- uvx seleniumbase

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install SeleniumBase MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the seleniumbase-mcp block.

About

SeleniumBase is a Python browser automation framework for testing, automation and web scraping. Its CDP Mode works with Chromium-based browsers and is meant to avoid the restrictions that websites impose through bot-detection services. The README shows examples that launch a stealth browser, type into forms, call solve_captcha when a CAPTCHA is not bypassed automatically, and save a page as a PDF.

The project also includes regular modes for end-to-end testing, with over 200 testing examples, many of which run with pytest. Stealthy Playwright Mode extends CDP Mode's stealth to Playwright. The source describes the framework as something that helps software teams innovate faster and handle modern web challenges. It is installed from PyPI with pip.

Written from the project's README and checked against it.

What you need

  • Python
  • Git
  • Chrome (default browser; Chromium and Chrome-for-Testing download automatically)

Try asking

  • Open a bot-protected page in a stealth browser and read the page title
  • Log in to a test site and check that the welcome message appears
  • Search Hacker News for a term and save the results to a PDF

Good to know

  • solve_captcha only handles CAPTCHAs that are not bypassed automatically
  • Only unbranded Chromium and Chrome-for-Testing download automatically if missing
  • sb.assert_* methods wait up to 7 seconds before raising an exception

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Browsing sites that use bot-detection services
  • End-to-end web testing with pytest
  • Scraping search results from a web page

Alternatives to SeleniumBase MCP

All alternatives →
browser-use browser-use
100

Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.

AAA Local and remote 123k
Pomerado Pomerado
96

Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.

AAA Remote 1.8k
Selenide selenide
96

Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.

AAA Local 1.9k
Camofox Browser MCP jo-inc
94

Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.

AAA Local 13k
Cline cline
94

Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.

AAA Local 72k
MCP BrowserMCP
94

Lets AI apps such as Claude Code, Cursor and Claude Desktop control your own Chrome browser. It suits people who want an assistant to work in their signed-in sites and profile. Everything runs on your computer.

AAA Local 7.4k

Compare with browser-use, Pomerado or Selenide

SeleniumBase MCP: common questions

What is CDP Mode in SeleniumBase?

CDP Mode is a stealth option that bypasses bot detection with Chromium-based browsers. The README says it is used through sb_cdp.Chrome or activate_cdp_mode.

Can SeleniumBase be used for testing as well as scraping?

Yes. The source describes regular modes for E2E testing with pytest or pynose, along with CDP Mode for stealth browsing and scraping.

Which browsers does SeleniumBase support?

Google Chrome is the default. The source also mentions command-line options for unbranded Chromium, Chrome-for-Testing, Microsoft Edge and Brave, and says Regular Mode also supports Safari/WebKit and Firefox/Gecko.

How do I install SeleniumBase MCP?

In Claude Code run claude mcp add seleniumbase-mcp -- uvx seleniumbase. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is SeleniumBase MCP the official server?

SeleniumBase MCP is a community project by seleniumbase, not verified by a company domain.

Is SeleniumBase MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is SeleniumBase MCP safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to SeleniumBase MCP?

Similar MCP servers: browser-use, Pomerado, Selenide, Camofox Browser MCP.

Does SeleniumBase MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

SeleniumBase MCP Install

Add to stack

Loading.