uwuclxdy/clauth
Claude Code multi-account manager, usage monitor (CLI, TUI & cross-account delegation via MCP)
What it solves
Claude Code users often juggle multiple accounts (Pro, Max, etc.) to avoid hitting rate limits. Doing this manually means logging out and back in, and you can't see how much usage you have left. clauth solves this by letting you save each login as a profile, switch between them instantly, watch live usage bars, and automatically move to another account when one is about to hit its limit.
How it works
clauth stores a snapshot of each account's credentials and settings in per-profile files. Switching swaps those files in Claude Code's config directory. For running several accounts at the same time, it launches Claude with a temporary config mirror so each session has its own identity.
It monitors usage through the Anthropic API and caches the data locally. You define a fallback chain of accounts; when the active one crosses its threshold, clauth switches to the next with headroom. You can also set spending ceilings and stagger start times for accounts with 5-hour windows.
The MCP plugin lets a live Claude Code session list accounts, switch profiles, or delegate a whole prompt to another account. A headless daemon runs the monitoring and auto-switch without the UI, and can serve a REST API for remote control.
Who it's for
Developers who use Claude Code with more than one account or custom API endpoints, and want to keep working without hitting limits, keep track of usage and cost, and manage accounts from the terminal or even from inside Claude Code.
Highlights
- Switch accounts with a single keypress or command.
- Live usage bars for 5-hour and 7-day rate limits, plus a token and cost dashboard.
- Auto-switch down a fallback chain with spending ceilings and staggered starts.
- Run multiple accounts in parallel in isolated config directories.
- MCP plugin for in-session control, including delegating tasks to another account.
- Headless daemon with REST API and status feed.
- Also works with Codex (ChatGPT logins as codex profiles).
- Works on Linux, macOS, and Windows.
Related
- Project
- Project
- Project
- Project