Install Playwright in Claude Code
claude mcp add playwright -- npx -y @playwright/mcp{
"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 allBrowser
lightpanda-io/browser
Headless browser for AI and web automation with a built-in MCP server.
UI TARS Desktop
bytedance/UI-TARS-desktop/browser
Browser automation using Puppeteer, supporting local and remote browser connections.
Next AI Draw.io
DayuanJiang/next-ai-draw-io
draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand
Scrapling
D4Vinci/Scrapling
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Firecrawl
firecrawl/firecrawl-mcp-server
Firecrawl web scraping: search, scrape, crawl, map and extract structured data, with live browser interaction and website change monitoring.
Browser Use
browser-use/browser-use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.