Skip to content
PluginStats

playwright-mcp weekly downloads statistics

By Ashish-Bansal · npm · MCP servers

Playwright integration for ModelContext

View on npm Outdated · Nov 4, 2026

playwright-mcp has 11,189 recorded weekly downloads on npm, an increase of 34.7% over the past 30 days, ranking #1218 of 3,247 tracked listings.

Weekly downloads
11,189
Official API · Dec 5, 2026
7-day growth
+9.4%
+966 weekly downloads
30-day growth
+34.7%
+2.9K weekly downloads
90-day growth
+39.6%
+3.2K weekly downloads
Rank
#1218
▲ 15 in 7 days

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: 11,189 weekly downloads as of Dec 5, 2026, +39.6% over 90 days.playwright-mcpWeekly downloads on npm · Last 90 days11,189downloads / week+39.6% over 90 days02K4K6K8K10K12KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
playwright-mcp weekly downloads on npm, last 90 days: 11,189 weekly downloads as of Dec 5, 2026, +39.6% over 90 days.

7/30/90-day growth

playwright-mcp weekly downloads growth on npm: +9.4% over 7 days, +34.7% over 30 days, +39.6% over 90 days.playwright-mcpWeekly downloads growth on npm11,189downloads / week now7-day growth+966 weekly downloads+9.4%30-day growth+2,884 weekly downloads+34.7%90-day growth+3,174 weekly downloads+39.6%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
playwright-mcp weekly downloads growth on npm: +9.4% over 7 days, +34.7% over 30 days, +39.6% over 90 days.

Ranking history

playwright-mcp npm ranking history: currently #1218 (by weekly downloads).playwright-mcpnpm ranking · by weekly downloads · Last 90 days#1218current rank#1100#1150#1200#1250#1300#1350Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 21, 2026 – Dec 6, 2026 · 21 observations · Updated Dec 5, 2026pluginstats.com
playwright-mcp npm ranking history: currently #1218 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 61, #18 (overall #1,218)
All npm: every listing in weekly downloads order

Listing placement

MCP servers468 listings · 24 pages · page 14, #9 (overall #269)
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 (156)
Recent weekly downloads observations for playwright-mcp
Date (UTC)Weekly downloadsChange vs. previous
11,189-445
11,634+1K
10,627+230
10,397-117
10,514-144
10,658+140
10,518+295
10,223-538
10,761+333
10,428+909
9,519-776
10,295+778
9,517-739
10,256—

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 Nov 4, 2026. See the methodology.