Launching today
Claude Code Local Gateway - CCLG
Turn your Claude Code into a self-hosted opensource REST API
1 follower
Turn your Claude Code into a self-hosted opensource REST API
1 follower
Already paying for Claude Code PRO or MAX? CCLG lets you use that subscription as a self-hosted REST API, no separate API credits needed. Send prompts from any language, automate workflows, or use the built-in Web UI right from your browser. Support for: - Windows - Linux - Raspberry Pi API key auth, rate limiting, audit logging, and Docker support included. MIT licensed. Zero telemetry.




Hello everyone!
I built CCLG because i wanted to use Claude Code directly with my scripts/webapps, so by routing CC's CLI through a flask (python) webserver i can now do that without haveing to pay for the API plan!
You spin up the docker container, log into claude code from CLI and you are ready to use CC as an API (with the limitations of your plan PRO/MAX)!
Before anyone asks, this is a gray area of the TOS of anthropic, but as long as you use this for personal use and don't intend to use CCLG as a SaaS, you'll be fine.
Would love to hear how you'd use it and happy to answer any questions below!