"One subscription is never enough." — Every power user, probably
A CLI tool to run multiple Claude Code instances with different accounts simultaneously.
This is NOT a "switch" tool. You don't switch your whole environment to another account.
This IS a "run" tool. Each terminal can run a Claude Code instance with a different account.
# Terminal 1
mcc run work # Claude instance using work account
# Terminal 2
mcc run personal # Claude instance using personal account
# Terminal 3
mcc # Claude instance using default accountThree terminals. Three accounts. Running simultaneously. No conflicts.
You have multiple Claude subscriptions. But Claude Code ties to one account per config directory. Want to use your work account? Log out, log in, wait, configure...
mcc run work # Launches claude with work account
mcc run personal # Launches claude with personal account
mcc # Launches claude with default accountEach command spawns a Claude instance using that account's config. Open as many as you want.
~/.mcc/
├── profiles/
│ ├── default/ ← Account A's config
│ ├── work/ ← Account B's config
│ └── personal/ ← Account C's config
└── current → ... ← Points to last used profile
When you run mcc run work, it:
- Points the symlink to
profiles/work - Launches Claude with
CLAUDE_CONFIG_DIR=~/.mcc/current
Each terminal gets its own Claude process with the right account.
Download the latest binary for your platform from GitHub Releases, then:
chmod +x mcc-*
sudo mv mcc-* /usr/local/bin/mccgit clone https://github.com/lulucatdev/mcc.git
cd mcc
make setup
source ~/.zshrcmcc # Switch to default and launch claude
mcc run <name> # Switch to profile and launch claude
mcc new <name> # Create a new claude profile
mcc new <name> <provider> <key> # Create a profile with a provider
mcc set-key <name> <api-key> # Update API key for a profile
mcc sync [name] # Sync settings from ~/.claude (excludes credentials)
mcc status # Show current status and profiles
mcc list # List all profiles
mcc delete <name> # Delete a profile
mcc help # Show helpAliases: multicc and multi-claude-code also work, if you're feeling verbose.
# 1. Install
make setup && source ~/.zshrc
# 2. Check your setup
mcc status
# 3. Create a profile for your second account
mcc new work
# 4. Switch to it (will prompt for login)
mcc run work
# 5. Done. Switch back anytime:
mccmcc supports Kimi Coding as an alternative provider. Kimi Coding uses the same claude CLI but connects to the Kimi API instead.
# Create a Kimi profile with your API key
mcc new kimi-work kimi sk-your-kimi-api-key
# Launch it
mcc run kimi-workThis sets ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY automatically when launching claude.
# Update an existing profile's API key
mcc set-key kimi-work sk-new-api-keyWhen you run mcc run kimi-work, mcc launches the claude CLI with these extra environment variables:
ANTHROPIC_BASE_URL=https://api.kimi.com/coding/ANTHROPIC_API_KEY=<your kimi api key>
The profile's provider info is stored in .mcc-profile.json inside the profile directory. Claude profiles don't need this file.
- Multiple Claude Code account management
- Profile switching with auto-launch
- Settings sync (without credentials)
- Works on macOS and Linux
- Kimi Coding provider support
What if
mccwasn't just for Claude?
Imagine:
mcc run copilot # GitHub Copilot
mcc run cursor # Cursor
mcc run gemini # Google GeminiOne tool to rule them all. One tool to find them. One tool to bring them all, and in the terminal bind them.
Coming eventually™ — or sooner if you open a PR.
- World domination
- Make coffee
- Achieve AGI
- Fix that one CSS bug
- macOS, Linux, or Windows
- Claude Code CLI installed
- Multiple subscriptions (optional but... why else are you here?)
Releases are automated via GitHub Actions. When a version tag is pushed:
git tag v0.2.0
git push origin v0.2.0The workflow automatically:
- Cross-compiles binaries for 6 platforms (darwin/amd64, darwin/arm64, linux/amd64, linux/arm64, windows/amd64, windows/arm64)
- Creates a GitHub Release with all binaries attached
PRs welcome. Issues welcome. Star this repo if it saved you from subscription juggling hell.
MIT License - Lulucat Innovations
Because managing AI accounts shouldn't require AI.
"一个订阅永远不够。" — 每个重度用户
一个让你同时运行多个不同账号的 Claude Code 实例的命令行工具。
这不是"切换"工具。 不是把整个环境切换到另一个账号。
这是"运行"工具。 每个终端可以运行一个使用不同账号的 Claude Code 实例。
# 终端 1
mcc run work # 使用工作账号的 Claude 实例
# 终端 2
mcc run personal # 使用个人账号的 Claude 实例
# 终端 3
mcc # 使用默认账号的 Claude 实例三个终端。三个账号。同时运行。互不干扰。
你有多个 Claude 订阅。但 Claude Code 的配置目录绑定一个账号。想用工作账号?登出、登录、等待、配置...
mcc run work # 启动使用工作账号的 claude
mcc run personal # 启动使用个人账号的 claude
mcc # 启动使用默认账号的 claude每个命令启动一个使用对应账号配置的 Claude 实例。想开几个开几个。
~/.mcc/
├── profiles/
│ ├── default/ ← 账号 A 的配置
│ ├── work/ ← 账号 B 的配置
│ └── personal/ ← 账号 C 的配置
└── current → ... ← 指向最后使用的配置
当你运行 mcc run work 时:
- 把软链接指向
profiles/work - 用
CLAUDE_CONFIG_DIR=~/.mcc/current启动 Claude
每个终端获得自己的 Claude 进程,使用正确的账号。
从 GitHub Releases 下载适合你平台的最新版本,然后:
chmod +x mcc-*
sudo mv mcc-* /usr/local/bin/mccgit clone https://github.com/lulucatdev/mcc.git
cd mcc
make setup
source ~/.zshrcmcc # 切换到 default 并启动 claude
mcc run <名称> # 切换到指定配置并启动 claude
mcc new <名称> # 创建新的 claude 配置
mcc new <名称> <提供商> <API密钥> # 创建指定提供商的配置
mcc set-key <名称> <API密钥> # 更新配置的 API 密钥
mcc sync [名称] # 从 ~/.claude 同步设置(不包括登录凭证)
mcc status # 显示当前状态和所有配置
mcc list # 列出所有配置
mcc delete <名称> # 删除配置
mcc help # 显示帮助别名: multicc 和 multi-claude-code 也可以用,如果你喜欢打字的话。
# 1. 安装
make setup && source ~/.zshrc
# 2. 查看状态
mcc status
# 3. 为第二个账号创建配置
mcc new work
# 4. 切换过去(会提示登录)
mcc run work
# 5. 搞定。随时切回来:
mccmcc 支持 Kimi Coding 作为替代提供商。Kimi Coding 使用相同的 claude CLI,但连接到 Kimi API。
# 使用你的 API 密钥创建 Kimi 配置
mcc new kimi-work kimi sk-your-kimi-api-key
# 启动它
mcc run kimi-work启动时会自动设置 ANTHROPIC_BASE_URL 和 ANTHROPIC_API_KEY。
# 更新已有配置的 API 密钥
mcc set-key kimi-work sk-new-api-key当你运行 mcc run kimi-work 时,mcc 会用以下额外环境变量启动 claude CLI:
ANTHROPIC_BASE_URL=https://api.kimi.com/coding/ANTHROPIC_API_KEY=<你的 Kimi API 密钥>
配置的提供商信息存储在配置目录内的 .mcc-profile.json 文件中。Claude 配置不需要此文件。
- 多 Claude Code 账号管理
- 配置切换 + 自动启动
- 设置同步(不含凭证)
- 支持 macOS 和 Linux
- Kimi Coding 提供商支持
如果
mcc不只是给 Claude 用呢?
想象一下:
mcc run copilot # GitHub Copilot
mcc run cursor # Cursor
mcc run gemini # Google Gemini一个工具统治所有。一个工具找到所有。一个工具召唤所有,在终端中绑定所有。
即将推出™ — 或者你来提 PR 会更快。
- 统治世界
- 自动泡咖啡
- 实现 AGI
- 修复那个 CSS bug
- macOS、Linux 或 Windows
- 已安装 Claude Code CLI
- 多个订阅(可选,但... 不然你来这干嘛?)
发布通过 GitHub Actions 自动化。当推送版本标签时:
git tag v0.2.0
git push origin v0.2.0工作流自动:
- 交叉编译 6 个平台的二进制文件(darwin/amd64、darwin/arm64、linux/amd64、linux/arm64、windows/amd64、windows/arm64)
- 创建 GitHub Release 并附带所有二进制文件
欢迎 PR。欢迎 Issue。如果这个工具拯救了你,给个 Star。
MIT License - Lulucat Innovations
因为管理 AI 账号不应该需要 AI。