Skip to content
PluginStats

playwright-mcp weekly downloads statistics

By Ashish-Bansal · npm · MCP servers

Playwright integration for ModelContext

View on npm Stale · Oct 18, 2026

playwright-mcp has 3,012 recorded weekly downloads on npm, ranking #1266 of 2,391 tracked listings.

Weekly downloads
3,012
Official API · Oct 18, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1266
Among tracked npm listings

About playwright-mcp

How to Use playwright-mcp?

npm version Docs

Introduction

Ever tried using Cursor or Claude to write Playwright tests? Yeah, it's kind of a mess.

Why? Because your AI assistant has no clue what's on your web page. It's like trying to describe a painting to someone who's blindfolded. The result?

  • Flaky tests → The AI is guessing selectors, and it gets them wrong.
  • Broken scripts → You spend more time fixing tests than writing them.
  • Debugging nightmares → The AI can't "see" what's happening, so you end up doing all the heavy lifting.

Wouldn't it be nice if your AI could actually understand your web page instead of just making educated guesses?

Enter playwright-mcp !

playwright-mcp gives your AI assistant superpowers by making the browser fully visible to it. Instead of working in the dark, your AI assistant now has real-time access to the page DOM, elements, and interactions.

How playwright-mcp Works (AKA How We Fix This Mess)

Once installed, playwright-mcp spins up a Playwright-controlled browser and gives your AI assistant full access to it. This unlocks:

  1. Recording interactions → Click, type, scroll—let playwright-mcp turn your actions into fully functional Playwright test cases.
  2. Taking screenshots → Capture elements or full pages so your AI gets actual visual context (no more guessing).
  3. Extracting the DOM → Grab the entire HTML structure so the AI can generate rock-solid selectors.
  4. Executing JavaScript → Run custom JS inside the browser for debugging, automation, or just for fun.
Why You'll Love playwright-mcp

🚀 AI-generated tests that actually work → No more flaky selectors, broken tests, or guesswork.

⏳ Massive time savings → Write and debug Playwright tests 5x faster.

🛠️ Fewer headaches → Your AI assistant gets live page context, so it can generate real test cases.

🔌 Works out of the box → Plug it into Cursor, Claude, WindSurf, or whatever you use—it just works.

Give Your AI the Context It Deserves

Tired of fixing AI-generated tests? Stop debugging AI's bad guesses—start writing flawless Playwright tests. Use the guide below to install playwright-mcp and let your AI assistant actually help you for once.


Installation: Get Up and Running in No Time
Prerequisites (a.k.a. What You Need Before You Start)

Before you install playwright-mcp, make sure you have:

✅ Node.js installed on your system (because, well… it's an npm package)

✅ Playwright and its Chromium browser installed

✅ An IDE that supports MCP, like Cursor

✅ A brain that's ready to automate Playwright tests like a pro

Setting Up playwright-mcp (It's Easy, I Promise)
Connect It to Your IDE (Cursor Setup)

If you're using Cursor, follow these steps to connect playwright-mcp like a boss:

  1. Open Cursor IDE

  2. Navigate to Settings (⚙️)

  3. Select Cursor Settings → Go to the MCP tab

  4. Click "Add new MCP server"

  5. Fill in the following details:

    Connect playwright-mcp to cursor

    • Name → playwright-mcp
    • Command → npx -y playwright-mcp
  6. Click "Add", and boom—you're connected! 🚀

Note: If clicking on "Add new MCP server", opens a file(.cursor/mcp.json), Paste the following code and save:

{
  "mcpServers": {
    "playwright-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "playwright-mcp"
      ]
    }
  }
}

Now Cursor actually understands your web pages. No more random test suggestions based on zero context! Head to the Claude tutorial or Cursor tutorial to understand it in details.


Connect It to Claude desktop

Wait… Does It Work with Other AI Assistants? Yes! While playwright-mcp is a match made in heaven for IDEs, you can use it with Claude desktop to write tests as well.

  1. Install playwright-mcp (The Easy Part)

    1. First things first, fire up your terminal and run:
    2. npm install -g playwright-mcp
  2. Hook It Up to Claude Desktop

    1. Find the Configuration File
    2. On windows
      1. %APPDATA%\Claude\claude_desktop_config.json
    3. On macOS:
      1. ~/Library/Application Support/Claude/claude_desktop_config.json
    4. Update the config file
    {
      "mcpServers": {
        "playwright": {
          "command": "npx",
          "args": ["-y", "playwright-mcp"]
        }
      }
    }
    
  3. Restart Claude Desktop (Because It's a New Day)

    1. Close and reopen Claude Desktop to apply the changes.
  4. Verify That It's Working

    1. Once everything is set up, let's test if Claude can actually talk to Playwright now.
    2. Open Claude and ask: "List all available MCP tools."
    3. If playwright-mcp is installed correctly, it should list tools like:
      1. init-browser → Initialize browser and navigate to a URL
      2. get-interactive-snapshot → Get focused snapshot of interactive elements (buttons, links, inputs) with annotated screenshot
      3. get-full-snapshot → Get complete page snapshot including all visible content for full context understanding
      4. get-text-snapshot → Extract all text content from the page for reading and content analysis
      5. get-screenshot → Take a simple screenshot of the current page
      6. get-full-dom → Get raw HTML DOM (deprecated - use snapshot tools instead)
      7. execute-code → Run custom Playwright JavaScript code against the page
    4. Ask Claude to init browser and a browser should open up after your approval!…

Description from the npm listing.

  • playwright
  • mcp
  • modelcontextprotocol
  • test automation
  • playwright-mcp

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

playwright-mcp weekly downloads on npm, last 90 days: 3,012 weekly downloads as of Oct 18, 2026.playwright-mcpWeekly downloads on npm · Last 90 days3,012downloads / week2.7K2.8K2.9K3K3.1K3.2K3.3K3.4KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
playwright-mcp weekly downloads on npm, last 90 days: 3,012 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

playwright-mcp weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.playwright-mcpWeekly downloads growth on npm3,012downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
playwright-mcp weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

playwright-mcp npm ranking history: currently #1266 (by weekly downloads).playwright-mcpnpm ranking · by weekly downloads · Last 90 days#1266current rank#1264#1265#1266#1267#1268Jul 23Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21rankOct 21, 2026 – Oct 21, 2026 · 1 observations · Updated Oct 18, 2026pluginstats.com
playwright-mcp npm ranking history: currently #1266 (by weekly downloads).

Listing placement

All npm2,389 listings · 120 pages · 1,195 shown · page 64, #17 (overall #1,277)
All npm: every listing in weekly downloads order

Listing placement

MCP servers300 listings · 15 pages · page 14, #8 (overall #268)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (1)
Recent weekly downloads observations for playwright-mcp
Date (UTC)Weekly downloadsChange vs. previous
3,012—

Similar npm MCP servers plugins

All 20 playwright-mcp alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/playwright-mcp. First seen Oct 21, 2026; last successful collection Oct 21, 2026. See the methodology.