
Playwright MCP Server
An MCP server using Playwright for browser automation and webscrapping
context tax
~2,920 tok/turn33 tools
security
97/100
cold start
1494 ms
freshness
Stale11mo ago
Our reading of Playwright, from the data
Playwright is a browser automation MCP server from executeautomation.
Its 33 tools add about 2,920 tokens to every model turn, heavier than the browser automation median of 1,734 tokens across 152 measured servers (measured 2026-10-23).
It looks stale: the newest commit, release or package publish we found was 11 months ago (2025-12-13). For comparison, 66% of browser automation servers are active or maintained.
With 5,668 GitHub stars it ranks #18 of 1,199 browser automation servers we index.
It runs locally on your machine over stdio.
Install Playwright MCP server
Install in Claude Code
claude mcp add playwright-executeautomation -- npx -y @executeautomation/playwright-mcp-serverInstall in Cursor
{
"mcpServers": {
"playwright-executeautomation": {
"command": "npx",
"args": [
"-y",
"@executeautomation/playwright-mcp-server"
]
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"playwright-executeautomation": {
"command": "npx",
"args": [
"-y",
"@executeautomation/playwright-mcp-server"
]
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"playwright-executeautomation": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@executeautomation/playwright-mcp-server"
]
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"playwright-executeautomation": {
"command": "npx",
"args": [
"-y",
"@executeautomation/playwright-mcp-server"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test @executeautomation/playwright-mcp-server
Context tax
Connecting this server adds ~2,920 tokens of tool definitions to every model turn (moderate, 33 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $11.68 | $0.584 |
| Claude Sonnet 5.5 | $5.84 | $0.584 |
| Claude Haiku 5.5 | $0.292 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (33)
playwright_get_visible_html228 tokGet the HTML content of the current page. By default, all <script> tags are removed from the output unless removeScripts is explicitly set to false.
playwright_resize205 tokResize the browser viewport using manual dimensions or device presets. Supports 143+ device presets including iPhone, iPad, Android devices, and desktop browsers with proper user-agent and touch emulation.
playwright_screenshot193 tokTake a screenshot of the current page or a specific element
playwright_navigatehttp174 tokNavigate to a URL
playwright_save_as_pdf155 tokSave the current page as a PDF file
playwright_console_logs138 tokRetrieve console logs from the browser with filtering options
start_codegen_session125 tokStart a new code generation session to record Playwright actions
playwright_post100 tokPerform an HTTP POST request
playwright_put100 tokPerform an HTTP PUT request
playwright_patch100 tokPerform an HTTP PATCH request
playwright_expect_response99 tokAsk Playwright to start waiting for a HTTP response. This tool initiates the wait operation but does not wait for its completion.
playwright_assert_response99 tokWait for and validate a previously initiated HTTP response wait operation.
playwright_iframe_fill91 tokFill an element in an iframe on the page
playwright_get82 tokPerform an HTTP GET request
playwright_delete82 tokPerform an HTTP DELETE request
playwright_upload_file77 tokUpload a file to an input[type='file'] element on the page
playwright_iframe_click76 tokClick an element in an iframe on the page
playwright_press_key74 tokPress a keyboard key
playwright_drag70 tokDrag an element to a target location
playwright_select64 tokSelect an element on the page with Select tag
playwright_fill59 tokfill out an input field
playwright_custom_user_agent55 tokSet a custom User Agent for the browser
playwright_click_and_switch_tab54 tokClick a link and switch to the newly opened tab
end_codegen_session52 tokEnd a code generation session and generate the test file
clear_codegen_session51 tokClear a code generation session without generating a test
get_codegen_session49 tokGet information about a code generation session
playwright_click47 tokClick an element on the page
playwright_evaluate47 tokExecute JavaScript in the browser console
playwright_hover46 tokHover an element on the page
playwright_get_visible_text35 tokGet the visible text content of the current page
playwright_close31 tokClose the browser and release all resources
playwright_go_back30 tokNavigate back in browser history
playwright_go_forward30 tokNavigate forward in browser history
Security signals
97/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
- No security policy (SECURITY.md)-3
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Stale — last maintenance signal 11mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2025-12-13 · 11mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
no data · official registry
How it compares in Browser Automation
Against the most-starred browser automation servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| Playwright (this) | 5,668 | 33 | 2,920 | Stale | local |
| Browser Use | 118,444 | 2 | 1,623 | Active | local |
| Scrapling | 88,517 | — | not measured | Active | local |
| Chrome DevTools | 53,807 | 32 | 6,117 | Active | local |
| Browser | 39,318 | 21 | 1,574 | Active | local + hosted |
| Playwrightcompare | 38,349 | 25 | 3,710 | Active | local |
FAQ
›How do I install the Playwright MCP server in Claude Code?
Run: claude mcp add playwright-executeautomation -- npx -y @executeautomation/playwright-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Playwright require an API key?
No required environment variables are declared in its published metadata.
›Can I use Playwright as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Playwright in the official MCP registry?
No. It was indexed from npm, awesome-mcp-servers (punkpeye), awesome-mcp-servers (wong2).
›How many tokens does Playwright add to my context?
Its tool definitions total about 2,920 tokens, resent on every turn.
Sources and method
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to Playwright
Other browser automation MCP servers.