Switch between multiple Claude Code accounts with one command — MCP servers, plugins, skills and session history stay shared.
View on GitHub ↗Switch between multiple Claude Code accounts with one command — without re-running /login every time, and without splitting your setup into isolated copies.
Claude Code stores one signed-in account at a time. The usual workaround is to give each account its own CLAUDECONFIGDIR, but that isolates everything — your MCP servers, plugins, skills, agents, slash commands, session history and CLAUDE.md all get duplicated per account, and each copy drifts.
ccswitch takes the opposite approach. One ~/.claude, shared by every account. Only the credential and the identity it belongs to are swapped.
Separate CLAUDECONFIGDIR ccswitch ---------------------------- ---------------------------- -------- MCP servers duplicated per account shared Plugins & marketplaces duplicated per account shared Skills, agents, commands duplicated per account shared Session history duplicated per account shared settings.json, CLAUDE.md duplicated per account shared Accounts active at once many one
That last row is the trade-off. If you need two accounts running simultaneously in different terminals, use CLAUDECONFIGDIR instead — ccswitch changes which account claude runs as, globally.
With npm, if you already have Node around:
The npm package is scoped because the unscoped ccswitch name belongs to an unrelated project. The installed command is still ccswitch.
Requires bash, python3, and Claude Code. Node is only a delivery mechanism — nothing at runtime uses it. Linux is supported; macOS is experimental — see Platform support.
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/2hmad--ccswitch.html)
Keep the signal. Cut the noise. Local CLI + MCP — fold verbose tool output for Claude Code, Codex, Cursor & Desktop.
cuongnbms/mastering-claude-codeCẩm nang thực chiến Mastering Claude Code (tiếng Việt): 16 chương biên soạn từ tài liệu chính thức của Anthropic — CLI, workflows, MCP, subagents, skills, hooks, plugins, CI/CD & tối ưu context.
cooperism-lab/packlightSee the tokens Claude Code and Codex load before you type: MCP tool lists, skills, hooks, CLAUDE.md and AGENTS.md per session. Find what you never use and archive it, with undo. Open source, runs offl
atraxsrc/claude-revokeAudit and revoke everything Claude Code has been given on Linux: trusted folders, "always allow" rules, saved transcripts, hooks, MCP servers. Quarantine instead of delete, one command to undo. Single
0xwilliamortiz/openclaude-improvedruns anywhere. uses anything
vshulcz/deja-vuYour agents already solved this. deja finds it — retroactive search and MCP recall over the session logs your coding agents already wrote. Cross-agent, SSH-portable, one zero-dep binary, fully local.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.