mitmproxy
An interactive, SSL/TLS-capable intercepting proxy for HTTP/1, HTTP/2, and WebSockets.
Decision gist · record as of 2026-08-14
Yes. mitmproxy is a well-established, actively maintained tool with no known vulnerabilities, low install friction, and a permissive MIT license. It is suitable for developers, QA engineers, and security professionals who need to inspect or modify HTTP(S) and WebSocket traffic. Install it if you need interactive traffic inspection, debugging, or testing capabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later; system may need elevated privileges to intercept network traffic depending on OS and network configuration.
- Low install friction with a pure-wheel distribution.
- Active maintenance with a recent commit on 2026-08-13 and 44699 repository stars.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2026-05-12 (94 days) · last repo commit 2026-08-13 · 44,699 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,250,329 downloads/mo, #1,946 on PyPI
Alternatives
Verify before relying
pip install mitmproxy
mitmproxy # Start interactive proxy console
# or: mitmdump # Command-line mode
# or: mitmweb # Web-based interface- Specific platform support details beyond the listed classifiers (macOS, Windows, POSIX).
- Whether mitmproxy-rs is a compiled extension and what its build requirements are.
- Performance characteristics or throughput limits for high-volume traffic inspection.
What it is and what it does
mitmproxy is a mature, actively maintained intercepting proxy designed to capture, inspect, and modify HTTP/1, HTTP/2, and WebSocket traffic in real time. It provides three interfaces—an interactive console (mitmproxy), a command-line tool (mitmdump), and a web UI (mitmweb)—making it accessible for different workflows. The package handles SSL/TLS interception, allowing you to see encrypted traffic contents, and supports scripting and modification of requests and responses on the fly.
The package depends on a substantial set of runtime libraries covering cryptography (cryptography, pyOpenSSL, argon2-cffi, bcrypt), HTTP protocol support (h2, h11, hyperframe, wsproto, aioquic), data handling (msgpack, ruamel.yaml, zstandard), and UI rendering (urwid for console, flask for web). It is classified as Production/Stable and supports Python 3.12, 3.13, and 3.14, with no known security vulnerabilities as of the fact sheet date.
Use it for
- Debug and inspect HTTP/HTTPS requests and responses from web applications during development and testing.
- Intercept and modify API traffic to test error handling, edge cases, or inject test data without changing client code.
- Monitor and analyze WebSocket traffic for real-time communication protocols in web applications.
- Perform security testing by observing encrypted TLS traffic and validating certificate handling.
- Automate traffic manipulation via scripts to simulate network conditions or third-party service responses.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
mitmproxy is a well-established, actively maintained tool with no known vulnerabilities, low install friction, and a permissive MIT license. It is suitable for developers, QA engineers, and security professionals who need to inspect or modify HTTP(S) and WebSocket traffic. Install it if you need interactive traffic inspection, debugging, or testing capabilities.
Install
mitmproxy on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a recent commit on 2026-08-13 and 44699 repository stars. Requires Python 3.12 or later.
Requires Python 3.12 or later; system may need elevated privileges to intercept network traffic depending on OS and network configuration.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install mitmproxy
mitmproxy # Start interactive proxy console
# or: mitmdump # Command-line mode
# or: mitmweb # Web-based interface
Verify before relying
- Specific platform support details beyond the listed classifiers (macOS, Windows, POSIX).
- Whether mitmproxy-rs is a compiled extension and what its build requirements are.
- Performance characteristics or throughput limits for high-volume traffic inspection.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 27 packagesaioquicargon2-cffiasgirefbcryptBrotlicertificryptographyflaskh11h2hyperframekaitaistructldap3mitmproxy-rsmsgpackpyOpenSSLpyparsingpyperclipruamel.yamlsortedcontainerstornadourwidwsprotopublicsuffix2zstandardtyping-extensionspydivert |
| Maintenance | Actively maintained 94 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,250,329 / month, #1,946 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Console :: CursesLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Internet :: Proxy ServersTopic :: Internet :: WWW/HTTPTopic :: SecurityTopic :: Software Development :: TestingTopic :: System :: Networking :: MonitoringTyping :: Typed |
Evidence: mitmproxy-12.2.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “http proxy interceptor”
- mitmproxymitmproxy is an interactive, SSL/TLS-capable intercepting proxy that…
- authcaptureproxyIntercepts and logs authentication credentials from web traffic by…
- nemo-evaluatorNeMo Evaluator runs standardized benchmarks against language models…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also authcaptureproxy · mitmproxy-windows · mitmproxy-macos · pproxy · websockify · mitmproxy-wireguard · hass-web-proxy-lib · proxy-protocol · proxy.py · status