</>MCP Agents Market
Plugin

claude-swap

by realiti42.2kPythonUpdated 2026-09-02

Switch between multiple Claude Code accounts, with automatic rate-limit rotation, usage dashboard, and parallel sessions

Claude Code

claude-swap is a multi-account manager for Claude Code that enables developers to switch between multiple Claude accounts without logging out. It provides automatic rate-limit rotation, real-time usage tracking across 5-hour and 7-day windows, and parallel session support for both the Claude Code CLI and VS Code extension. The plugin prevents workflow interruptions by proactively switching accounts before hitting rate limits and offers a live dashboard to monitor quota consumption across all registered accounts.

Key Features

Switch between multiple Claude Code accounts manually or automatically before hitting rate limits
Live usage dashboard tracking 5-hour, 7-day, and per-model quota consumption with reset timers
Automatic rotation with configurable thresholds (default 90%) and multiple switching strategies
Parallel session mode to run different accounts simultaneously in separate terminals
Interactive TUI and optional macOS menu bar app for at-a-glance usage monitoring
Directory-to-account mapping for automatic account selection per repository
Secure credential storage using platform-native methods (Keychain on macOS, file-based on Linux/Windows)
Export/import functionality for account backup and cross-machine migration

Use Cases

  • 01Developers managing separate work and personal Claude accounts without constant re-login
  • 02Teams sharing a pool of Claude accounts to distribute usage across rate limits
  • 03Power users running multiple long-running tasks in parallel across different accounts
  • 04Consultants switching between client-specific Claude accounts per project directory
  • 05Users monitoring quota consumption across multiple subscriptions to maximize availability
  • 06Automating continuous workflows that exceed single-account rate limits

Related Plugins

View more

claude-swap — FAQ

What is claude-swap and what does it do?+

claude-swap is a plugin that manages multiple Claude Code accounts, enabling seamless switching between them and automatic rotation before rate limits are hit. It tracks usage in real-time and supports running multiple accounts in parallel sessions.

How do I install claude-swap?+

Install via uv with 'uv tool install claude-swap' or pipx with 'pipx install claude-swap'. After installation, log into Claude Code with your first account and run 'cswap add' to register it. Python 3.12+ and an existing Claude Code installation are required.

Which clients does claude-swap work with?+

claude-swap works with both the Claude Code CLI and the VS Code extension. It manages the underlying Claude Code credentials that both interfaces use.

Do I need API keys to use claude-swap?+

No API keys are required for normal OAuth-based Claude accounts. However, claude-swap also supports registering managed API keys (sk-ant-api...) or OAuth setup tokens directly via the 'cswap add-token' command.

Is claude-swap free to use?+

Yes, claude-swap is open-source software released under the MIT license. However, you still need valid Claude Code account subscriptions, each with their own rate limits and potential costs.

Do I need to restart Claude Code after switching accounts?+

Usually not. On Linux and Windows, the new account takes effect immediately on your next message. On macOS, credentials are cached for about 30 seconds by the Keychain, so the switch applies automatically after that brief delay unless you restart Claude Code for instant activation.

How do I install claude-swap?+

Open the source repository on GitHub and follow its README. claude-swap is a plugin — MCP Agents Market links you directly to the official repo.

Is claude-swap free?+

claude-swap is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches