CC-Gateway is a professional reverse proxy tool designed for Claude Code, providing comprehensive privacy protection through identity standardization and traffic rewriting.
Based on analysis of 512,000 lines of leaked Claude Code source code
Block 640+ telemetry events that report your device information every 5 seconds.
Unified device identity prevents "three-code mismatch" detection that leads to bans.
Docker one-click deployment, configure in 5 minutes, no complex setup required.
Three-layer defense architecture
Simple configuration through environment variables to route API requests through the gateway.
Network-level traffic interception via Clash rules, forcing all Claude Code traffic through the gateway.
The core defense layer - all device fingerprints in requests are replaced with standardized values.
What CC-Gateway protects
Replace device_id with standardized values. All devices appear as one standard Mac device to servers.
Standardize platform, OS version, CPU architecture to match the proxy exit location.
Unify terminal type (iTerm2), shell (zsh), and other terminal-related fingerprints.
Standardize Node.js version, package managers, Python version, and other development tool versions.