Claude Code model router
cc-account-switcher
Script for switching between multiple Claude Code accounts.
Install
brew install jqgit clone https://github.com/ming86/cc-account-switcher.gitFrom the README
Multi-Account Switcher for Claude Code A simple tool to manage and switch between multiple Claude Code accounts on macOS, Linux, and WSL. Features - Multi-account management: Add, remove, and list Claude Code accounts - Quick switching: Switch between accounts with simple commands - Cross-platform: Works on macOS, Linux, and WSL - Secure storage: Uses system keychain (macOS) or protected files (Linux/WSL) - Settings preservation: Only switches authentication - your themes, settings, and preferences remain unchanged Installation Download the script directly: Usage Basic Commands First Time Setup 1. Log into Claude Code with your first account (make sure you're actively logged in) 2. Run ./ccswitch.sh --add-account to add it to managed accounts 3. Log out and log into Claude Code with your second account 4. Run ./ccswitch.sh --add-account again 5. Now you can switch between accounts with ./ccswitch.sh --switch 6. Important: After each switch, restart Claude Code to use the new authentication What gets switched: Only your authentication credentials change. Your themes, settings, preferences, and chat history remain exactly the same. Requirements - Bash 4.4+ - jq (JSON processor) Installing Dependencies macOS: Ubuntu/Debian: How It Works The switcher stores account authentication data separately: - macOS: Credentials in Keychain, OAuth info in ~/.claude-switch-backup/ - Linux/WSL: Both credentials and OAuth info in ~/.claude-switch-backup/ with restricted permissions When switching accounts, it: 1. Backs up the current account's authentication data 2. Restores the target account's authentication data 3. Updates Claude Code's authentication files Troubleshooting If a switch fails - Check that you have accounts added: ./ccswitch.sh --list - Verify…
Details
- Repository
- ming86/cc-account-switcher
- Language
- Shell
- License
- MIT
- Last updated
- 1 July 2025
FAQ
What is cc-account-switcher?
Script for switching between multiple Claude Code accounts. It is a model router for Claude Code, from ming86/cc-account-switcher on GitHub.
How do I install cc-account-switcher?
Run brew install jq, then follow the setup in the README.
Is cc-account-switcher popular?
ming86/cc-account-switcher has 452 GitHub stars and 77 forks. It was last updated on 1 July 2025.
More model routers & proxies
CLI Proxy
162guojinpeng/cli_proxy
本地 claude code 和 codex 代理工具
Table GitHub Capability Router
181duoduoler-ops/Table-GitHub-Capability-Router
GitHub intake + capability routing for Obsidian/Codex/Claude Code|GitHub项目自动入库 + Agent能力冷库与调用路由
Grokbuild Proxy
159GreyGunG/grokbuild-proxy
本地自托管的 Grok Build → Claude Code / OpenAI 兼容代理 | Local self-hosted Grok Build compatibility proxy
Opencode2api
1486Kmfi6HP/opencode2api
OpenCode zen/go to OpenAI Codex/Anthropic Claude Code API proxy
Llm Router
120ypollak2/llm-router
Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.
Codex Proxy
164XxxXTeam/codex-proxy
Codex API 代理服务,提供 OpenAI / Claude 多协议兼容接口 用户交流群 : 1081291958
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.