Skip to content
mcp/skillhub

Playwright MCP Server

by microsoftio.github.microsoft/playwright-mcpv0.0.82

Playwright browser automation: interact with web pages through structured accessibility snapshots.

38kNode.jsstdioofficial registry

context tax

~3,710 tok/turn25 tools

security

100/100

cold start

965 ms

freshness

Active33d ago

Our reading of Playwright, from the data

Playwright is a browser automation MCP server from microsoft, listed in the official MCP Registry.

Its 25 tools add about 3,710 tokens to every model turn, heavier than the browser automation median of 1,734 tokens across 152 measured servers (measured 2026-10-23).

Maintenance is active: the last public signal was 33 days ago (2026-10-08). For comparison, 66% of browser automation servers are active or maintained.

With 38,349 GitHub stars it ranks #5 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 -- npx -y @playwright/mcp

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 @playwright/mcp

Context tax

Connecting this server adds ~3,710 tokens of tool definitions to every model turn (moderate, 25 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$14.84$0.742
Claude Sonnet 5.5$7.42$0.742
Claude Haiku 5.5$0.371—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (25)

  • browser_take_screenshot309 tok

    Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.

  • browser_emulate_media254 tok

    Emulate CSS media features for the page, for example switch between the light and dark color scheme. Omitted parameters are left unchanged; null clears an override.

  • browser_fill_form229 tok

    Fill multiple form fields

  • browser_drop212 tok

    Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.

  • browser_find194 tok

    Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), each shown under its path from the root of the tree, which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.

  • browser_network_request190 tok

    Returns full details (headers and body) of a single network request, or a single part if `part` is set. Use the number from browser_network_requests.

  • browser_run_code_unsafe182 tok

    Run a Playwright code snippet. Unsafe: executes arbitrary JavaScript in the Playwright server process and is RCE-equivalent.

  • browser_click180 tok

    Perform click on a web page

  • browser_type172 tok

    Type text into editable element

  • browser_snapshot169 tok

    Capture accessibility snapshot of the current page, this is better than screenshot

  • browser_evaluate168 tok

    Evaluate JavaScript expression on page or element

  • browser_network_requests168 tok

    Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.

  • browser_console_messages165 tok

    Returns all console messages

  • browser_drag157 tok

    Perform drag and drop between two elements

  • browser_select_option136 tok

    Select an option in a dropdown

  • browser_tabs128 tok

    List, create, close, or select a browser tab.

  • browser_wait_for103 tok

    Wait for text to appear or disappear or a specified time to pass

  • browser_hover96 tok

    Hover over element on page

  • browser_file_upload86 tok

    Upload one or multiple files

  • browser_handle_dialog85 tok

    Handle a dialog

  • browser_press_key83 tok

    Press a key on the keyboard

  • browser_resize80 tok

    Resize the browser window

  • browser_navigatehttp64 tok

    Navigate to a URL

  • browser_navigate_backhttp53 tok

    Go back to the previous page in the history

  • browser_close45 tok

    Close the page

Security signals

100/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 findings from the checks that ran.

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

Active — last maintenance signal 33d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-08 · 33d ago · GitHub

  2. Latest release

    2026-09-28 · 43d ago · GitHub · v0.0.83

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-09-18 · 53d ago · official registry · v0.0.82

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)38,349253,710Activelocal
Browser Usecompare118,44421,623Activelocal
Scrapling88,517—not measuredActivelocal
Chrome DevToolscompare53,807326,117Activelocal
Browsercompare39,318211,574Activelocal + hosted
Browser36,690—not measuredActive—
All browser automation MCP servers

FAQ

›How do I install the Playwright MCP server in Claude Code?

Run: claude mcp add playwright -- npx -y @playwright/mcp. 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?

Yes, as io.github.microsoft/playwright-mcp.

›How many tokens does Playwright add to my context?

Its tool definitions total about 3,710 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2026-09-18
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

Comparing Azure & Microsoft servers? All Azure & Microsoft MCP servers, official and community.