Claude Code Proxy — Development skill for Claude Code
Run Claude Code on OpenAI models.
How to install Claude Code Proxy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open 1rgs/claude-code-proxy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Proxy does
**Use Anthropic clients (like Claude Code) with Gemini, OpenAI, or direct Anthropic backends.** 🤝
Alternatives in Development
- Antigravity Claude Proxy — Proxy that exposes Antigravity provided claude / gemini models, so we can use them in Claude Code and OpenClaw 3.5k ★
- MCP Proxy — A bridge between Streamable HTTP and stdio MCP transports 2.4k ★
- Claude Balancer — A load balancer proxy for multiple Claude OAuth accounts with automatic failover, request tracking, and web da 910 ★
README
Anthropic API Proxy for Gemini & OpenAI Models 🔄
**Use Anthropic clients (like Claude Code) with Gemini, OpenAI, or direct Anthropic backends.** 🤝
A proxy server that lets you use Anthropic clients with Gemini, OpenAI, or Anthropic models themselves (a transparent proxy of sorts), all via LiteLLM. 🌉
Quick Start ⚡
Prerequisites
- OpenAI API key 🔑
- Google AI Studio (Gemini) API key (if using Google provider) 🔑
- Google Cloud Project with Vertex AI API enabled (if using Application Default Credentials for Gemini) ☁️
- uv installed.
Setup 🛠️
From source
**Clone this repository**:
git clone https://github.com/1rgs/claude-code-proxy.git cd claude-code-proxy**Install uv** (if you haven't already):
curl -LsSf https://astral.sh/uv/install.sh | sh*(`uv` will handle dependencies based on `pyproject.toml` when you run the server)*
**Configure Environment Variables**: Copy the example environment file:
cp .env.example .envEdit `.env` and fill in your API keys and model configurations:
ANTHROPIC_API_KEY: (Optional) Needed only if proxying to Anthropic models.OPENAI_API_KEY: Your OpenAI API key (Required if using the default OpenAI preference or as fallback).GEMINI_API_KEY: Your Google AI Studio (Gemini) API key (Required ifPREFERRED_PROVIDER=googleandUSE_VERTEX_AUTH=true).USE_VERTEX_AUTH(Optional): Set totrueto use Application Default Credentials (ADC) will be used (no static API key required). Note: when USE_VERTEX_AUTH=true, you must configureVERTEX_PROJECTandVERTEX_LOCATION.VERTEX_PROJECT(Optional): Your Google Cloud Project ID (Required ifPREFERRED_PROVIDER=googleandUSE_VERTEX_AUTH=true).
...
Related Skills
Openapis
Free Claude API + free OpenAI API in one unified proxy. Drop-in compatible with Anthropic SDK, OpenAI SDK, Cla
Antigravity Reverseproxy API
A proxy server that exposes both Anthropic-compatible and OpenAI-compatible APIs backed by Antigravity's Cloud
Opencc
Tiny zero-dependency proxy that runs Claude Code against any OpenAI-compatible API — free or local models
ModelLink
Local proxy for routing third-party API models through Claude Desktop
Claude Cursor Proxy
Local proxy so Claude Code and grok-build (Grok CLI) can use Cursor models (Fable), plus Codex, Kimi, and Grok
Agentrouter Dsh Setup
Personal kit: use AgentRouter models inside DeepSeek Harness via a local User-Agent proxy