Protect Your Digital Identity

CC-Gateway is a professional reverse proxy tool designed for Claude Code, providing comprehensive privacy protection through identity standardization and traffic rewriting.

Why CC-Gateway?

Based on analysis of 512,000 lines of leaked Claude Code source code

🔒

Privacy First

Block 640+ telemetry events that report your device information every 5 seconds.

🛡️

Anti-Ban Protection

Unified device identity prevents "three-code mismatch" detection that leads to bans.

Easy Deployment

Docker one-click deployment, configure in 5 minutes, no complex setup required.

How It Works

Three-layer defense architecture

1

Environment Variable Layer

Simple configuration through environment variables to route API requests through the gateway.

2

Clash Rules Layer

Network-level traffic interception via Clash rules, forcing all Claude Code traffic through the gateway.

3

Identity Rewriting Layer

The core defense layer - all device fingerprints in requests are replaced with standardized values.

Core Features

What CC-Gateway protects

🔖 Device Identity

Replace device_id with standardized values. All devices appear as one standard Mac device to servers.

💻 System Info

Standardize platform, OS version, CPU architecture to match the proxy exit location.

🖥️ Terminal Environment

Unify terminal type (iTerm2), shell (zsh), and other terminal-related fingerprints.

📦 Development Stack

Standardize Node.js version, package managers, Python version, and other development tool versions.

Ready to Protect Your Privacy?

Open source and free, deploy in 5 minutes

Quick Start →