Skip to content
MCP server

playwright-plus-python-mcp

MCP server giving AI clients Playwright browser tools for navigation, clicks, forms

playwright-plus-python-mcp is an open-source MCP server for browser automation. It is available on CLI, API and Self-hosted.

Pricing
Open source
Platforms
CLI, API, Self-hosted
GitHub stars
187
Last commit
Language
Python

Similar MCP servers

About playwright-plus-python-mcp

Exposes a headless-style browser automation toolkit over the Model Context Protocol, so an AI client can drive a Playwright browser session without custom glue code. Calls such as navigating to a URL, clicking by CSS selector or visible text, filling inputs, running JavaScript in the page, and reading page text or HTML are available as named tools.

A session is created automatically the first time a navigation call runs, and screenshots can capture either the full page or a single element chosen by selector. The server also ships a small note-storage resource and a summarize-notes prompt alongside the browser tools.

The package is aimed at developers who want an assistant to inspect or interact with web pages from Claude Desktop or another MCP-compatible client. It is installed from PyPI with uv or uvx and can be run from a local project directory for development.

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 8 tools read data; 6 names don't say.

From the server's own tool labels and tool names; not verified by us.

playwright_navigate
Navigates to a specified URL, creating a session if none is active.
playwright_screenshot
Takes a screenshot of the page or a specific element.
playwright_click
Clicks an element using a CSS selector.
playwright_fill
Fills an input field with a value.
playwright_evaluate
Executes JavaScript in the browser console.
playwright_click_text
Clicks an element by its text content.
playwright_get_text_contentName suggests: reads
Gets the text content of all visible elements.
playwright_get_html_contentName suggests: reads
Gets the HTML content of an element selected by CSS selector.

What it does

Page navigation
Opens a URL and starts a browser session automatically if none is active.
Element interaction
Clicks elements by CSS selector or visible text and fills input fields.
Screenshots
Captures the full page or a single element identified by a CSS selector.
Content extraction
Returns visible page text or the HTML of a selected element.
JavaScript execution
Runs a supplied script in the browser console context of the page.
Note resources and prompts
Stores notes under a note:// scheme and offers a prompt that summarizes them.

Good for

  • Letting an AI assistant read the visible text of a web page
  • Automating form filling during testing or data entry
  • Capturing screenshots of specific page elements for review
  • Scraping HTML fragments from a page for further analysis
  • Debugging browser behaviour by running scripts from within an MCP client

Pricing

Open source

Free open-source package under Apache-2.0.

playwright-plus-python-mcp FAQ

How is the server installed?

For published builds, add a config entry that runs uvx with playwright-server as the argument. Local development builds can be run with uv from a project directory.

How do I debug the server?

The README recommends the MCP Inspector, launched with npx, which shows a URL for browsing the server's tools.

What license does playwright-plus-python-mcp use?

The repository is licensed under Apache-2.0.

Is playwright-plus-python-mcp free?

Yes. playwright-plus-python-mcp is open source, so you can use and self-host it for free.

What are the best alternatives to playwright-plus-python-mcp?

The closest alternatives to playwright-plus-python-mcp are MCP-Server-Playwright, mcp-playwright, Playwright MCP, playwright_mcp and mcp-browser-agent.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers