Directory · Hooks
ccproxy
A mitmproxy-based interceptor for Claude Code and other LLM clients that hooks requests and responses and routes them across providers.
★ 362 stars · last updated 2026-08-10 · Free, open source · View on GitHub
Best for
- Routing Claude Code requests to other providers such as Gemini, OpenAI, or DeepSeek
- Writing inbound and outbound hooks that modify LLM traffic
- Inspecting TLS traffic from LLM CLIs inside a WireGuard namespace jail
- Bridging MCP features like sampling and notifications into clients that lack them
Install
uv tool install ai-ccproxy
Our take
Version 2.0 adds Codex/OpenAI Responses support and DeepSeek routing, and it does its own cross-provider conversion through a built-in lightllm layer, so no LiteLLM proxy process is needed. Transparent capture mode works only on Linux and WSL2 and requires system tools like slirp4netns and wireguard-tools. On macOS only the reverse proxy is available, and the license is listed as NOASSERTION.
Similar hooks
- Claude Code Ultimate Guide: Large open guide to Claude Code covering agent workflows, hooks, skills, MCP, security, and team adoption, with reusable templates.
- dcg (Destructive Command Guard): Rust pre-execution hook that blocks destructive shell, git, filesystem, database, and cloud commands run by AI coding agents.
- Claude Code Showcase: Example Claude Code project config with hooks, skills, agents, slash commands, MCP setup, and GitHub Actions workflows to copy from.
- Claude Code Hooks Mastery: Reference project implementing all 13 Claude Code hook events as UV Python scripts, plus sub-agents, status lines, and output styles.
- Continuous Claude v3: Hooks, skills, and agents that keep Claude Code context across sessions via YAML handoffs, ledgers, and a PostgreSQL memory store.
- Build with Claude: Plugin marketplace and discovery hub of agents, commands, hooks, and skills for Claude Code users extending their workflows.