puppeteer-mcp-claude MCP Server
Browser automation MCP server for Claude, powered by Puppeteer.
puppeteer-mcp-claude scores 38 (Limited), licensed MIT and written in TypeScript. It installs as a local process. It declares 13 tools. Filed under Browser automation, AI and memory. GitHub shows 48 stars. Package registries report about 374 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
38 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: 6 of 13 tools barely described, short summary.
How quality is graded
Where the 38 comes from
0 + 5 + 9 + 10 + 4 + 10 = 38. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 5 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 9 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "jaenster-puppeteer-mcp-claude": { "command": "npx", "args": [ "-y", "puppeteer-mcp-claude@0.2.2" ] } }}
Environment variables
This server does not declare environment variables.
Tools13Tool docs quality grade C
All capabilitiespuppeteer_clicktoolClick a CSS selector.
Close the whole browser.
Close a tab.
Run a JS expression in page context, returns the value.
Read textContent of an element.
puppeteer_launchtool(Optional) launch a browser or connect to an existing Chrome via browserWSEndpoint. Use this for stealth mode, proxies, custom viewport, etc.
Go to a URL.
Open a new tab.
Capture a PNG — returned inline as an MCP image block, optionally also saved to disk.
Block resources by type or inject request headers.
puppeteer_typetoolType into an input.
Wait until an element appears.
About
puppeteer-mcp-claude
A Model Context Protocol server that gives Claude Code (and any other MCP-aware client) a real browser via Puppeteer — navigate pages, click and type, run JavaScript, capture screenshots, manage cookies, intercept requests.
Requirements
- Node.js ≥ 18
- An MCP-aware client (Claude Code, Claude Desktop, Cursor, Codex CLI, …)
- Chromium is downloaded automatically by Puppeteer on first install (~170 MB)
Install
macOS / Linux
curl -fsSL https://raw.githubusercontent.com/jaenster/puppeteer-mcp-claude/main/install.sh | bash
Windows (PowerShell)
iwr -useb https://raw.githubusercontent.com/jaenster/puppeteer-mcp-claude/main/install.ps1 | iex
Both scripts verify Node ≥ 18, install the package globally via npm, and register it with Claude Code at user scope. Override scope with SCOPE=project (bash) or $env:SCOPE='project' (PowerShell).
Manual — if you'd rather not run a remote script:
npm install -g puppeteer-mcp-claude
claude mcp add puppeteer-mcp-claude -- npx -y puppeteer-mcp-claude serve
Then restart Claude Code and ask: "Take a screenshot of example.com".
Tools
You don't have to call puppeteer_launch first — the browser auto-launches with defaults the moment any other tool runs. Page ids default to "default", so single-tab flows can omit pageId entirely.
| Tool | What it does |
|---|---|
puppeteer_launch | (Optional) launch a browser or connect to an existing Chrome via browserWSEndpoint. Use this for stealth mode, proxies, custom viewport, etc. |
puppeteer_new_page | Open a new tab. |
puppeteer_navigate | Go to a URL. |
puppeteer_click | Click a CSS selector. |
puppeteer_type | Type into an input. |
puppeteer_get_text | Read textContent of an element. |
puppeteer_screenshot | Capture a PNG — returned inline as an MCP image block, optionally also saved to disk. |
puppeteer_evaluate | Run a JS expression in page context, returns the value. |
puppeteer_wait_for_selector | Wait until an element appears. |
puppeteer_close_page | Close a tab. |
puppeteer_close_browser | Close the whole browser. |
puppeteer_set_cookies / puppeteer_get_cookies / puppeteer_delete_cookies | Cookie jar management. |
puppeteer_set_request_interception | Block resources by type or inject request headers. |
Response format
Every tool returns its result in two parallel forms:
content[0].text— TOON (Token-Oriented Object Notation), a compact, schema-aware JSON alternative. Good for hosts that pipe the text body straight into the model's context.structuredContent— the same data as a typed JSON object, for MCP clients that prefer machine-readable output.
Which one your host uses is up to the host — both are MCP-spec-compliant. Typed clients that want the object without depending on structuredContent can import { decode } from '@toon-format/toon' and parse content[0].text.
Examples
How an LLM would typically drive this server — each example shows the prompt you'd give Claude and the tool sequence it produces.
Take a screenshot of a site
"Take a screenshot of news.ycombinator.com."
puppeteer_navigate { url: "https://news.ycombinator.com" }
puppeteer_screenshot { fullPage: true }
Returns the PNG as an inline image block (Claude sees it directly), plus structured { bytes, path: null, fullPage: true }.
Scrape article titles
"Give me the titles of the top 10 stories on Hacker News as a markdown list."
puppeteer_navigate { url: "https://news.ycombinator.com" }
puppeteer_evaluate { script: "[...document.querySelectorAll('.titleline > a')].slice(0,10).map(a => a.textContent)" }
Claude formats the resulting array into the requested markdown list.
Fill a form
"On example.com, fill the search box with 'TOON' and submit."
puppeteer_navigate { url: "https://example.com" }
puppeteer_type { selector: "input[name=q]", text: "TOON" }
puppeteer_click { selector: "button[type=submit]" }
puppeteer_wait_for_selector { selector: ".results" }
puppeteer_get_text { selector: ".results h1" }
Reuse an existing logged-in browser
"Connect to my running Chrome and take a screenshot of the GitHub dashboard."
# In one terminal
puppeteer-mcp-claude chrome 9222
# Sign in to GitHub once in the launched Chrome window.
puppeteer_launch { browserWSEndpoint: "ws://localhost:9222" }
puppeteer_navigate { url: "https://github.com" }
puppeteer_screenshot {}
Avoids re-doing login flows in every session.
Block images for faster scraping
"Scrape the article text from as quickly as possible."
puppeteer_set_request_interception { enable: true, blockResources: ["image","media","font","stylesheet"] }
puppeteer_navigate { url: "<url>" }
puppeteer_get_text { selector: "article" }
CLI
puppeteer-mcp-claude install [--scope user|project|local] Register with Claude Code
puppeteer-mcp-claude uninstall [--scope ...] Remove from Claude Code
puppeteer-mcp-claude status Show "claude mcp list"
puppeteer-mcp-claude serve Run the MCP server on stdio
puppeteer-mcp-claude chrome [port] [userDataDir] Launch Chrome with remote debugging
puppeteer-mcp-claude help Show help
Development
pnpm install
pnpm build
pnpm test # node:test via tsx, ~165 tests
pnpm dev # run the server directly from src/
Other MCP servers I maintain
- remote-shell-mcp — persistent SSH, SFTP, port forwarding, and Docker over MCP. Long-running daemon so sessions, tunnels, and PTY shells survive across Claude Code / Claude Desktop / Cursor / Codex CLI restarts.
- node-debugger-mcp — real Node.js debugger over MCP. Breakpoints, stepping, scope inspection, eval, source-map-aware BPs, child-process and worker-thread auto-attach. Speaks the V8 Inspector Protocol.
Links
License
MIT
Frequently asked questions
What is puppeteer-mcp-claude MCP Server?
Browser automation MCP server for Claude, powered by Puppeteer.
How do I install puppeteer-mcp-claude MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. puppeteer-mcp-claude MCP Server runs locally from the npm package puppeteer-mcp-claude with the command npx -y puppeteer-mcp-claude@0.2.2.
Is puppeteer-mcp-claude MCP Server free and open source?
Yes. puppeteer-mcp-claude MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does puppeteer-mcp-claude MCP Server support remote (HTTP) connections?
No remote endpoint is listed for puppeteer-mcp-claude MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does puppeteer-mcp-claude MCP Server provide?
puppeteer-mcp-claude MCP Server provides 13 tools, including puppeteer_click, puppeteer_close_browser, puppeteer_close_page, and puppeteer_evaluate. See the full tool list for descriptions and parameters.
How is puppeteer-mcp-claude MCP Server's trust score calculated?
puppeteer-mcp-claude MCP Server scores 38 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
