Home / Claude Code mods / Interface / provider-switch

provider-switch

provider-switch is a Claude Code mod by moxisuki that switch the API provider of a running Claude Code session with no restart. Depends on cc-switch: reads the provider list already configured there, applies the chosen env live, and records.

Updated 2026-11-06

What is provider-switch?

provider-switch is a Claude Code mod by moxisuki that switch the API provider of a running Claude Code session with no restart. Depends on cc-switch: reads the provider list already configured there, applies the chosen env live, and records. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authormoxisuki
Repositorymoxisuki/provider-switch
Popularityno public popularity data yet
CategoryInterface
SecurityReview before installing (64/100)
Rank#7,432 of 9,397 Claude Code mods; #3,141 in Interface
LicenseMIT
Last commit2026-11-06
Hooks3 events
Seesonly the events it hooks
Draws onPane, PromptHint

Is provider-switch safe to install?

provider-switch scores 64/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.command.rundrives Claude
$.config.setchanges config
$.env.getreads env vars
$.env.setsets env vars
$.process.runruns processes
$.session.id
$.ui.closedraws interface
$.ui.invalidatedraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install provider-switch?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/moxisuki/provider-switch
    claude plugin validate ./provider-switch/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add moxisuki/provider-switch && claude plugin install provider-switch@provider-switch

Or ask Claude to set it up

Paste this into Claude Code and it installs provider-switch for you:

Install the "provider-switch" Claude Code mod from https://github.com/moxisuki/provider-switch. Run claude plugin validate on it first and show me what it can access before you enable it.