puppeteer
JavaScript API for Chrome and Firefox
Puppeteer is a JavaScript library that provides a high-level API for controlling Chrome and Firefox browsers through the DevTools Protocol or WebDriver BiDi. It enables developers to automate browser tasks, run tests, capture screenshots, generate PDFs, and scrape web content in headless or headful mode. The library can be integrated with MCP workflows through the chrome-devtools-mcp server and experimental WebMCP API, making browser automation accessible to AI agents and development tools.
Key Features
Use Cases
- 01Automated end-to-end testing of web applications
- 02Web scraping and data extraction from dynamic websites
- 03Generating PDF reports or screenshots from web content
- 04Automating repetitive browser tasks like form submissions
- 05Testing browser extensions and developer tools
- 06Performance monitoring and debugging of web applications
Related MCP Servers
View morepublic-apis
A collective list of free APIs
awesome-python
The definitive list that answers "I want to do X in Python, which tool should I use?"
awesome-selfhosted
A list of Free Software network services and web applications which can be hosted on your own servers
ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
puppeteer — FAQ
What is Puppeteer MCP server?+
Puppeteer is a JavaScript library for browser automation that can be used with MCP through the chrome-devtools-mcp server. It provides AI agents and development tools with the ability to control Chrome or Firefox browsers programmatically for testing, scraping, and automation tasks.
How do I install Puppeteer?+
Install Puppeteer using npm with 'npm i puppeteer', which downloads a compatible Chrome browser automatically. Alternatively, use 'npm i puppeteer-core' for a library-only installation without the bundled browser. If your package manager blocks install scripts, manually download browsers with 'npx puppeteer browsers install'.
Which AI clients work with Puppeteer MCP?+
Puppeteer works with MCP-compatible clients through the chrome-devtools-mcp server. It also supports the experimental WebMCP API for enhanced integration with AI development environments.
Do I need API keys to use Puppeteer?+
No, Puppeteer does not require API keys. It's a standalone library that controls browsers locally on your machine through standard browser protocols.
Is Puppeteer free to use?+
Yes, Puppeteer is free and open-source software available on GitHub. Both the standard puppeteer package and puppeteer-core library are free to install and use.
What's the difference between Puppeteer and Puppeteer-core?+
Puppeteer automatically downloads a compatible Chrome browser during installation, while puppeteer-core is a lightweight library that requires you to provide your own browser executable. Use puppeteer-core when you want full control over browser versions or need a smaller package size.
How do I install puppeteer?+
Open the source repository on GitHub and follow its README. puppeteer is a mcp server — MCP Agents Market links you directly to the official repo.
Is puppeteer free?+
puppeteer is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.