OfficialLocalFree

Playwright MCP server

microsoft/playwright-mcp

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

38,885 GitHub stars3.3k forks

Install Playwright in Claude Code

Claude Code
claude mcp add playwright -- npx -y @playwright/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "playwright": {
      "command": "npx",
      "args": [
        "-y",
        "@playwright/mcp"
      ]
    }
  }
}

Frequently asked questions

What does the Playwright MCP server do?

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

Is the Playwright MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does Playwright run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Playwright to Claude Code?

Run: claude mcp add playwright -- npx -y @playwright/mcp

More browser automation MCP servers

View all