Professional Claude Code provider switcher for managing multiple API configurations
npx claudepluginhub iqbal-rashed/claude-provider-pluginSwitch between API providers (Anthropic, Kimi, Qwen, DeepSeek, MiniMax, Z.ai) by managing Claude Code settings profiles via MCP
Plugin & CLI tool to switch between LLM providers in Claude Code
A powerful tool that enables you to manage and switch between multiple LLM API providers for Claude Code. Available as both a Claude Code plugin and a standalone CLI.
npm install -g claude-provider
This installs both the Claude Code plugin and the CLI tool.
Use the provider commands directly within Claude Code via slash commands.
Via Marketplace:
# Add the marketplace
/plugin marketplace add iqbal-rashed/claude-provider-plugin
# Install the plugin
/plugin install provider@claude-provider-plugin
/provider:switch <profile_name>
Switch to a different provider profile instantly.
/provider:list
View all available profiles and see which one is currently active.
/provider:add <name>
Create a new profile from a preset or custom configuration. You'll be prompted for:
custom/provider:snapshot <name>
Save your current ~/.claude/settings.json as a named profile for later use.
/provider:delete <profile_name>
Remove a profile you no longer need.
After installation, you can use claude-provider or the shorthand cpr from your terminal.
claude-provider
# or
cpr
Launches an interactive menu to:
claude-provider <provider_name>
# or
cpr kimi
Switch directly to a provider by name.
claude-provider --list
# or
cpr -l
Display all installed providers with the active one highlighted.
| Provider | Preset Key | Default Model |
|---|---|---|
| Anthropic | anthropic | claude-sonnet-4.5 |
| Z.ai (GLM) | zai | glm-4.7 |
| MiniMax | minimax | minimax-m2.1 |
| Kimi (Moonshot) | kimi | kimi-k2.5 |
| Qwen (DashScope) | qwen | qwen-max-latest |
| DeepSeek | deepseek | deepseek-chat |
| Custom | custom | User defined |
💡 Tip: When using a preset, you can optionally specify a custom model to override the default.
~/.claude/settings.<name>.json~/.claude/settings.json| Issue | Solution |
|---|---|
| Command not found | Run npm install -g claude-provider or check your PATH |
| Plugin not found | Ensure you used the absolute path to the plugin directory |
| Command not recognized | Restart Claude Code after installing the plugin |