What is Claude Code Copilot?
Claude Code Copilot is a lightweight local proxy that lets you use Claude Code for free by routing it through your existing GitHub Copilot subscription. No Anthropic API key required — just your Copilot subscription. The proxy runs locally on your machine and translates between Anthropic’s Messages API (which Claude Code speaks) and OpenAI’s Chat Completions API (which GitHub Copilot speaks). All processing happens on your machine, and no data is stored or logged.How it works
The proxy acts as a transparent bridge between Claude Code and GitHub Copilot:- Claude Code sends requests in Anthropic’s Messages API format
- Proxy translates to OpenAI’s Chat Completions format
- GitHub Copilot processes the request
- Proxy translates the response back to Anthropic format
- Claude Code receives the response seamlessly
Key features
Full API translation
Complete translation between Anthropic Messages API and OpenAI Chat Completions, including streaming responses and tool calls
Web search support
Emulates Anthropic’s
web_search_20250305 tool using DuckDuckGo Lite (free) or Brave Search API for up-to-date informationDocker support
Run the proxy as an always-on container with
restart: always that survives system rebootsZero dependencies
Pure Node.js implementation with no npm packages to install — just clone and run
What you’ll need
Before getting started, make sure you have:GitHub Copilot
An active Copilot subscription (Individual, Business, or Enterprise)
Node.js or Docker
Node.js 18+ or Docker for running the proxy server
Claude Code
Install with:
npm install -g @anthropic-ai/claude-codeGet started
Quickstart
Get up and running in under 5 minutes
Docker setup
Run the proxy as a persistent Docker container
Configuration
Customize ports, search providers, and more
Web search
Enable web search with Brave or DuckDuckGo
Why use this?
Save money on API costs
Save money on API costs
If you already have a GitHub Copilot subscription, you can use Claude Code without paying for an additional Anthropic API subscription. Perfect for developers who want to try Claude Code or use it occasionally.
Privacy-focused
Privacy-focused
The proxy runs entirely on your local machine. No data is sent to third-party services except GitHub Copilot (which you’re already using). No logging, no tracking, no data storage.
Seamless integration
Seamless integration
Once configured, Claude Code works exactly as if you were using the Anthropic API directly. All features including streaming, tool use, and web search are fully supported.
Open source
Open source
The entire codebase is open source and easy to audit. The proxy implementation is under 1400 lines of readable Node.js code with no external dependencies.
Available models
The proxy supports all Claude models available through GitHub Copilot:- Claude Opus 4.6 — Most capable model for complex tasks
- Claude Sonnet 4.5 — Balanced performance and speed
- Claude Sonnet 4 — Fast and capable for most tasks
- Claude Opus 4.5 — Previous generation Opus
- Claude Haiku 4.5 — Fastest model for simple tasks