mycdp
Autogenerated CDP utilities for Python
What it is and what it does
MyCDP is a Python library that wraps the Chrome DevTools Protocol (CDP) to make it accessible for browser automation. Rather than requiring external drivers, it lets you control Chromium directly through CDP commands, or connect to an already-running browser instance if you know its remote-debugging-port. The library is designed as a component to import into larger automation frameworks rather than a standalone tool.
The package has no external runtime dependencies, making installation straightforward. It supports Python 3.8 onward and runs on Windows, macOS, and Linux. Because it's built on autogenerated CDP utilities, it aims to keep pace with the Chrome DevTools Protocol specification.
Use it for:
- Integrate CDP-based browser control into existing Python automation frameworks without adding driver dependencies
- Connect to and control a Chromium instance remotely when the debugging port is accessible
- Build custom browser automation scripts that leverage CDP commands directly for fine-grained control
- Enable multiple automation frameworks to control the same browser instance simultaneously via CDP
- Reduce automation stack complexity by replacing external driver requirements with native CDP bindings
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
MyCDP provides autogenerated Chrome DevTools Protocol utilities for Python-based browser automation without external drivers, enabling direct Chromium control or connection to existing browser instances via remote debugging.
Yes. MyCDP is actively maintained, has zero known vulnerabilities, carries a permissive MIT license, and installs with no external dependencies. It fills a specific role—making CDP accessible to Python automation frameworks—and is already adopted by established projects. Install it if you need CDP-based browser automation or want to add CDP capabilities to an existing framework.
Install
mycdp on PyPI
pip
pip install mycdpuv
uv add mycdppoetry
poetry add mycdpInstalling mycdp
Before you install
Low friction install with no runtime dependencies. Actively maintained as of June 2026, with recent releases and a stable codebase supporting Python 3.8 through 3.15.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install mycdp
import mycdp
# Connect to Chromium via remote-debugging-port or use CDP commands directly
Verify before relying
- Whether MyCDP works with all Chromium versions or has specific version requirements
- Performance characteristics compared to other CDP bindings or automation approaches
- Completeness of CDP protocol coverage relative to the full Chrome DevTools Protocol specification
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 62 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 764,907/month — #5,119 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mycdp-1.4.0-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
browser-harnessConnects an LLM agent directly to a real…
permissive · top 5,000 on PyPI
cdp-useGenerates type-safe Python bindings for the…
permissive · top 5,000 on PyPI
geckordpGeckordp is a Python client for Firefox's…
permissive · top 15,000 on PyPI
pychromePychrome provides a Python interface to control…
permissive · top 15,000 on PyPI
nokapnokap captures screenshots and PDFs from web…
permissive · top 15,000 on PyPI
choreographerChoreographer provides remote control of…
unclear · top 5,000 on PyPI
pydoll-pythonPydoll automates Chromium-based browsers via…
unclear · top 15,000 on PyPI
zendriverZendriver is an async-first web automation…
agpl · top 15,000 on PyPI
sbvirtualdisplayProvides a virtual display wrapper for running…
permissive · top 15,000 on PyPI
html2imageGenerates PNG/image files from HTML, CSS, and…
permissive · top 15,000 on PyPI