Claude Code multi-account manager, usage monitor (CLI, TUI & cross-account delegation via MCP)
open sourceMITself-hostablefreeMCP
clauth is a Rust CLI and terminal UI that manages several Claude Code accounts (Pro, Max, Ultra, Team, Enterprise or a custom API endpoint) with a live 5-hour and 7-day usage monitor. A switch swaps the snapshot of Claude Code's .credentials.json and the env block of settings.json that it keeps per profile under ~/.clauth/; clauth start runs an account in its own config directory, so several run at once. A fallback chain auto-switches off an account as it crosses its threshold, with weekly and spend-ceiling gates, in the TUI or as a headless daemon. Its Claude Code plugin is an MCP server that lets a session list or switch accounts or delegate a prompt to another account; it also rotates OpenAI Codex logins and integrates with herdr.
Problems it solves
- fall back to my next Claude account automatically when the current one reaches its limit
- a terminal UI with 5-hour and weekly usage bars for all my Claude Code accounts
- have Claude hand a task to another of my accounts from inside the session
- run Claude Code headless on another account without my global CLAUDE.md, plugins or hooks
- rotate ChatGPT Codex logins as well as Claude Code ones
- keep a long unattended Claude run going without surprise usage credit bills
- a background daemon that switches Claude accounts with no terminal UI open
- stagger my Claude accounts' 5-hour windows so they don't all start at once
- resume a past Claude Code session under a different account
- see which Claude account each herdr pane is running on
- answer a Claude Code session's permission prompts from my phone
- check for Claude service incidents next to my account usage
- switch Claude Code between a subscription login and a custom API endpoint
Features
- switch accounts in one keypress or with clauth <name>
- OAuth profiles (Pro, Max, Ultra, Team, Enterprise) and custom API endpoint profiles
- live 5h and 7d rate-limit bars, token dashboard with API-equivalent cost
- fallback chain auto-switch with weekly-window and spend-ceiling gates
- clauth start: run an account in its own CLAUDE_CONFIG_DIR, several in parallel
- isolated headless sessions without global memory, plugins or hooks
- Claude Code plugin (MCP server): profiles, switch_profile, delegate, monitor
- headless daemon with status.json and an optional HTTPS REST API
- Codex profiles and a separate codex rotation chain
- browse and resume past sessions under any account
View 3 more
- herdr plugin with a per-pane account tag
- Claude status incident feed
- signed, checksum-verified self-updates
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
Alternatives
The same job
These do what clauth does.
- Claude account rotator Claude Code mod: rotates between your Claude logins as their usage limits fill
- claude-swap Multi-account switcher for Claude Code
- cux Run multiple Claude Code accounts as one
- cc-account-switcher Account Switcher for Claude Code
- Claude account rotator (Nathan Broadbent's fork) The account rotator with one coordinator for every session, a menu bar app and weekly-limit rotation
- claude-multi-desktop Run multiple Claude Desktop accounts at the same time on a Mac
