Self-hostable proxy service that routes Claude Code traffic through a local mirror, enabling stable API access via Docker deployment.
git clone https://github.com/adryfish/reclaude-code.gitReclaude Code is an open-source, self-deployable proxy server that acts as a local mirror for Claude Code, allowing users to route their Claude Code client traffic through their own infrastructure. It runs as a Docker container and exposes a local API endpoint that Claude Code clients can be pointed to by configuring ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN in the Claude settings file. Users authenticate by exchanging a session key for a reclaude token via a simple REST endpoint, then configure their Claude Code client to use the local service. The service supports optional HTTP proxy passthrough, configurable ports, and a persistent data volume, making it suitable for environments where direct access to Anthropic's servers is restricted or unstable. It is intended for technical users who want more control over their Claude Code connectivity.
Deploy the service using Docker or Docker Compose, setting the PORT and optional PROXY_SERVER environment variables. Once running, call the /v1/auth/token endpoint with your session key to obtain a reclaude token. Edit ~/.claude/settings.json to set ANTHROPIC_BASE_URL to your local server address and ANTHROPIC_AUTH_TOKEN to the reclaude token. Verify the service is running by checking http://localhost:4567/api/hello.
Routing Claude Code API calls through a self-hosted local proxy for more stable access
Configuring Claude Code to use a custom ANTHROPIC_BASE_URL behind a corporate or regional network
Running Claude Code in environments that require HTTP proxy server passthrough
Deploying a shared Claude Code mirror service for a team using Docker Compose
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/adryfish/reclaude-codeCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I need to set up a self-hosted proxy service using Claude Code. Please provide step-by-step instructions for deploying [PROXY_NAME] in a [CLOUD_PLATFORM] environment. Include details about required dependencies, configuration files, and any security considerations.
# Claude Code Proxy Deployment Guide ## Prerequisites - A server running [CLOUD_PLATFORM] - Basic knowledge of command line interface - [PROXY_NAME] source code ## Step-by-Step Deployment 1. **Install Dependencies** ```bash sudo apt-get update sudo apt-get install -y git python3 python3-pip ``` 2. **Clone the Repository** ```bash git clone https://github.com/[REPO_URL].git cd [REPO_NAME] ``` 3. **Configure the Proxy** Edit the `config.ini` file with your preferred text editor: ```ini [DEFAULT] host = 0.0.0.0 port = 8080 debug = true ``` 4. **Run the Proxy** ```bash python3 proxy.py ``` ## Security Considerations - Ensure your server's firewall is properly configured - Regularly update the proxy software to the latest version - Monitor the proxy logs for any suspicious activity
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
ITIL-aligned IT service management platform
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan