Capture Claude Code with `mitmproxy` — step-by-step guide (with ready-to-run addons & analysis scripts)
Updated: September 22, 2025
Intercept Claude Code traffic with mitmproxy: step-by-step setup, custom addons, and Python scripts that log exactly what the CLI sends to Anthropic's API.