CC Switch

farion1231/cc-switch

Desktop manager for Claude Code, Codex and other agents

PersonalCoding assistantsDesktopPermissive

At a glance

stars on GitHub
157k
contributors
393+
last commit
latest release, yesterday
v4.0.40
license
MIT

About

A Tauri desktop app for Windows, macOS and Linux that switches the API provider behind Claude Code, Codex, Gemini CLI and nine other coding tools in one click, without hand-editing their config files. It also manages MCP servers, skills and prompts in one place, tracks token use and cost from local logs, and can route requests through your own machine to convert API formats or fail over to another provider.

From the repository: “A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io”

What is CC Switch used for?

CC Switch is for people who use AI coding tools with more than one model provider. You pick a provider from more than 90 presets, such as AWS Bedrock or NVIDIA NIM, enter a key, and switch with one click or from the system tray. Only the endpoint, key and model fields change, so your plugins, hooks and comments stay, and the original config is backed up first. With local routing you can use GPT models in Claude Code or Claude models in Codex. It also syncs MCP servers and skills to several tools, keeps a prompt library, shows past sessions in a readable view and tracks usage and quotas.

Does CC Switch work with OpenCode?

Yes, in what the project calls coexist mode. Instead of switching one active provider, CC Switch writes several providers into OpenCode's own configuration, and you choose the model inside OpenCode. For OpenCode it also manages MCP servers, skills, the AGENTS.md prompt file, session history and usage statistics. Local routing, aggregation mode and tray switching are not available for OpenCode; those work for Claude Code and Codex (and partly for Gemini CLI and Grok Build). OpenClaw, Hermes, Pi, MiniMax Code, Kimi Code and Oh My Pi use the same coexist mode.

What are the alternatives to CC Switch?

Claude Code Router, in our catalog, is the closest: a local gateway (by default on 127.0.0.1:3456) with a desktop app, an npm CLI and a Docker image, strong on routing rules, retries, fallback models and request logs. CC Switch does more around the tools themselves: MCP servers, skills, prompts and session history for twelve tools. For servers or SSH sessions without a desktop, the community CC Switch CLI shares the same data folder; it is not in our catalog yet. AionUi and cc-haha run agents in a desktop window rather than manage their settings, so they do a different job.

What do I need to run CC Switch, and where is my data stored?

CC Switch needs Windows 10 or newer, macOS 12 or newer, or a 64-bit Linux (x86_64 or ARM64) with glibc 2.35 and WebKitGTK 4.1, such as Ubuntu 22.04 or Debian 12. RHEL, Rocky and Alma Linux 8 and 9 are not supported yet. It is a desktop app only. Everything is stored in the .cc-switch folder in your home directory: a SQLite database, automatic backups every 24 hours (the 10 newest are kept), skills, logs and the login tokens for accounts you connect. Cloud sync through WebDAV or S3-compatible storage is optional. The app is free under the MIT license.

What are the limits and risks of CC Switch?

Codex, Gemini CLI and Grok Build need a restart after a provider switch, and Codex must be fully restarted after aggregation changes. Official Claude subscriptions cannot go through local routing. Routing writes 127.0.0.1 into the tool's config, which WSL 2 cannot reach in its default NAT network mode, so WSL users must switch to mirrored networking. The beta Accounts feature lets you use ChatGPT, Copilot or Grok subscriptions in other tools, and the README warns this may break the vendor's terms of service. Many sponsors are API relay services; check who runs a relay before you send your code through it.

Why it's in the catalog

A strong pick if you move Claude Code or Codex between several API providers or subscriptions and want MCP servers, skills and prompts managed in one place. If you only use one official account, each tool's own login is simpler. Be careful with the third-party API relays promoted as sponsors: a relay can read every request you send through it.

Get it

brew install --cask cc-switch
paru -S cc-switch-bin

Latest release: CC Switch v4.0.40, . Its files were downloaded 36,292 times.

All files (23)

macOS

Other files

To check the files: CC-Switch-v4.0.40-macOS.tar.gz.sig, CC-Switch-v4.0.40-Windows.msi.sig, CC-Switch-v4.0.40-Windows-arm64.msi.sig, CC-Switch-v4.0.40-Linux-x86_64.deb.sig, CC-Switch-v4.0.40-Linux-x86_64.rpm.sig, CC-Switch-v4.0.40-Linux-x86_64.AppImage.sig, CC-Switch-v4.0.40-Linux-arm64.rpm.sig, CC-Switch-v4.0.40-Linux-arm64.deb.sig, CC-Switch-v4.0.40-Linux-arm64.AppImage.sig

These files come from the project's GitHub release. DigGitHub does not check them.

CC Switch and its alternatives: GitHub stars, last commit, license and worth score
ProjectStarsLast commitLicenseWorth
CC SwitchThis project
157k (best)MIT95
AionUiCowork app for many CLI agents
34kApache-2.084
OrcaRun a fleet of coding agents in parallel
135kMIT96 (best)
cc-hahaDesktop workspace for Claude Code
16kCustom (read before use)75
Superset (agent IDE)Run many coding agents in parallel
17kMIT92

▲ marks the most stars and the best worth score.

ccswitch.io
Preview of CC Switch
Preview of CC Switch at ccswitch.io

Featured in

Topics