Skip to content
mcp/skillhub

Playwright MCP Server

by executeautomation

An MCP server using Playwright for browser automation and webscrapping

5.7kNode.jsstdio

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-server

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

ModelPer 1,000 turnsWith 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 tok

    Get 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 tok

    Resize 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 tok

    Take a screenshot of the current page or a specific element

  • playwright_navigatehttp174 tok

    Navigate to a URL

  • playwright_save_as_pdf155 tok

    Save the current page as a PDF file

  • playwright_console_logs138 tok

    Retrieve console logs from the browser with filtering options

  • start_codegen_session125 tok

    Start a new code generation session to record Playwright actions

  • playwright_post100 tok

    Perform an HTTP POST request

  • playwright_put100 tok

    Perform an HTTP PUT request

  • playwright_patch100 tok

    Perform an HTTP PATCH request

  • playwright_expect_response99 tok

    Ask Playwright to start waiting for a HTTP response. This tool initiates the wait operation but does not wait for its completion.

  • playwright_assert_response99 tok

    Wait for and validate a previously initiated HTTP response wait operation.

  • playwright_iframe_fill91 tok

    Fill an element in an iframe on the page

  • playwright_get82 tok

    Perform an HTTP GET request

  • playwright_delete82 tok

    Perform an HTTP DELETE request

  • playwright_upload_file77 tok

    Upload a file to an input[type='file'] element on the page

  • playwright_iframe_click76 tok

    Click an element in an iframe on the page

  • playwright_press_key74 tok

    Press a keyboard key

  • playwright_drag70 tok

    Drag an element to a target location

  • playwright_select64 tok

    Select an element on the page with Select tag

  • playwright_fill59 tok

    fill out an input field

  • playwright_custom_user_agent55 tok

    Set a custom User Agent for the browser

  • playwright_click_and_switch_tab54 tok

    Click a link and switch to the newly opened tab

  • end_codegen_session52 tok

    End a code generation session and generate the test file

  • clear_codegen_session51 tok

    Clear a code generation session without generating a test

  • get_codegen_session49 tok

    Get information about a code generation session

  • playwright_click47 tok

    Click an element on the page

  • playwright_evaluate47 tok

    Execute JavaScript in the browser console

  • playwright_hover46 tok

    Hover an element on the page

  • playwright_get_visible_text35 tok

    Get the visible text content of the current page

  • playwright_close31 tok

    Close the browser and release all resources

  • playwright_go_back30 tok

    Navigate back in browser history

  • playwright_go_forward30 tok

    Navigate 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.

  1. Last commit (default branch)

    2025-12-13 · 11mo ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. 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.

ServerStarsToolsTokens / turnFreshnessRuns
Playwright (this)5,668332,920Stalelocal
Browser Use118,44421,623Activelocal
Scrapling88,517—not measuredActivelocal
Chrome DevTools53,807326,117Activelocal
Browser39,318211,574Activelocal + hosted
Playwrightcompare38,349253,710Activelocal
All browser automation MCP servers

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
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.

View all