Skip to content

Claude Code: CC-Switch Quick Configuration

CC-Switch can manage Claude Code configuration without manual edits to configuration files or environment variables.

Access Information

ItemValue
API Base URLhttps://ai.hctopup.com
API KeyUse the Claude Code Key created in HCAI
Provider nameHCAI is recommended

CC-Switch Benefits

  • Graphical interface with simple, direct operation.
  • One-click switching between provider configurations.
  • Automatic management of environment variables and configuration files.
  • Configuration backup and restore support.
  • Switch configurations from the tray without reopening a terminal.

Configuration Steps

  1. Start CC-Switch and add a Claude Code configuration.

    • Open the CC-Switch application.
    • Click the "Claude" tab at the top.
    • Click the orange "+" button in the upper-right corner to add a new configuration.

    Image placeholder: CC-Switch add Claude Code configuration screen

  2. Fill in the provider configuration.

    • Provider name: choose a custom name, such as HCAI.
    • API Base URL: enter https://ai.hctopup.com.
    • API Key: paste the Claude Code Key created in HCAI.
    • Model selection: choose an available Claude model based on your needs.
    • Click "Save".

    Image placeholder: CC-Switch Claude Code configuration details

  3. Enable the configuration.

    • Find the HCAI configuration in the list.
    • Click the "Current" button on the right side, or click the configuration card directly.
    • The configuration will be marked as the current active configuration.
    • Restart Claude Code for the new configuration to take effect.
  4. Switch quickly from the system tray.

    • Right-click the CC-Switch icon in the system tray.
    • Choose the Claude category from the menu.
    • Select the configuration you want to switch to.
    • The configuration switches immediately without opening the main window.

Tip

You can add multiple provider configurations. CC-Switch automatically updates ~/.claude/settings.json; after switching, close and restart Claude Code for the selected configuration to take effect.

Next Steps