Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Login Keeper for Claude CodeNew to Visual Studio Code? Get it now.
Login Keeper for Claude Code

Login Keeper for Claude Code

ImmersiveDataAI

|
1 install
| (0) | Free
Keep your Claude Code logins (work, personal, a client's) and switch between them in one click, without /login. Shows each account's usage and when its login expires.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Login Keeper for Claude Code

Keep your Claude Code logins (work, personal, a client's) and switch between them in one click, without running /login every time.

What it does

  • Switch accounts from the status bar or the Claude Accounts sidebar.
  • See each account's usage: the 5-hour session and the weekly limit, with when each one resets.
  • Know when a login ends: each account shows the date its saved login runs out, and you get a heads-up in its last 5 days.
  • Saved logins stay current: when Claude Code renews a login in the background, the saved copy is updated too, so switching back never asks you to log in again.

Getting started

  1. In Claude Code, run /login with your first account. Open Claude Accounts in the sidebar and press +.
  2. Run /login with your next account and press + again.
  3. From now on, press Switch on an account card (or click the account name in the status bar). New Claude conversations use the new account straight away.

Privacy and security

  • Your logins never leave your computer. Saved logins are kept in VS Code's secret storage, which uses your operating system's credential store (Windows Credential Manager, macOS Keychain, or the Linux keyring).
  • One network request, to Anthropic only. To show usage, the extension calls api.anthropic.com with that account's own login. Nothing is sent anywhere else. There is no telemetry and no tracking.
  • Only the Claude login is swapped. Other logins Claude Code keeps (for example MCP servers) are left as they are. Before each switch, ~/.claude.json is backed up to ~/.claude.json.switcher-bak.
  • No third-party code. The extension has no dependencies: all it runs is two small, readable files.

Good to know

  • No window reload is needed. Conversations already open stay on the old account until you press Move Open Conversations in the message after a switch: each one is closed and reopened from history, with nothing lost, and continues on the new account. A reply Claude is writing at that moment is cut off, so move them between replies. A conversation in the side bar is not a tab, so close and reopen that one yourself. Claude running in a terminal needs a restart (claude --continue picks up where you left off).
  • If you run /login with a different account instead of using Switch, the account you left may need saving again later.
  • Usage figures come from an Anthropic service that is not a documented public API. If Anthropic changes it, the usage bars may stop updating; switching keeps working.
  • On Linux without a keyring, VS Code stores secrets with weaker protection.

Use it within Anthropic's terms

Every account you save must be your own, and Anthropic's Consumer Terms apply to each one. Don't share accounts or use this extension to get around usage limits. It is for people who genuinely have separate accounts, such as work and personal.

Not affiliated with Anthropic

This is an independent extension. It is not made, endorsed or supported by Anthropic. Claude and Claude Code are trademarks of Anthropic, PBC.

Requirements

  • VS Code 1.85 or later
  • Claude Code (the CLI or the VS Code extension), logged in with a Claude subscription
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft