Skip to content
PluginStats

@musistudio/claude-code-router weekly downloads statistics

By musistudio · npm · Claude Code

Local Claude Code Router gateway with CLI and web management UI.

View on npm Stale · Oct 17, 2026

@musistudio/claude-code-router has 20,527 recorded weekly downloads on npm, a decrease of 71.7% over the past 30 days, ranking #746 of 2,314 tracked listings.

Weekly downloads
20,527
Official API · Oct 18, 2026
7-day growth
-40.6%
-14K weekly downloads
30-day growth
-71.7%
-52K weekly downloads
90-day growth
-87.5%
-144.1K weekly downloads
Rank
#746
Among tracked npm listings

About @musistudio/claude-code-router

Claude Code Router CLI

中文 · Documentation · GitHub

@musistudio/claude-code-router is the Node.js distribution of Claude Code Router. It provides the ccr command, the browser-based management UI, the local model gateway, and profile launch commands without requiring Electron.

Use the CLI on developer machines and headless hosts. If you want the tray, desktop notifications, automatic app updates, or desktop-only browser integrations, install the desktop application instead.

Requirements And Installation

  • Node.js 22 or newer
  • A supported upstream model provider, or a locally logged-in agent account that CCR can import
  • A locally installed agent executable when using profile launch commands

Install globally:

npm install -g @musistudio/claude-code-router
ccr --help

Upgrade or remove it with npm:

npm install -g @musistudio/claude-code-router@latest
npm uninstall -g @musistudio/claude-code-router

Removing the package does not delete CCR's local configuration or databases.

Quick Start

Start the background service and open the management UI:

ccr ui

Then:

  1. Add an upstream provider and at least one model.
  2. Create a CCR client key under API Keys.
  3. Configure routing if the default provider/model is not sufficient.
  4. Confirm that the gateway is running under Server.
  5. Point your client at the gateway URL shown in the UI. The default gateway is http://127.0.0.1:3456; the management UI defaults to http://127.0.0.1:3458.

The management token and CCR client API keys are different credentials. The management token protects the browser UI and RPC API. CCR client keys authenticate model requests sent to the gateway.

Service Commands

CommandBehavior
ccr startStarts a detached background management service and gateway, then prints its authenticated management URL.
ccr uiReuses or starts the background service and opens the management UI.
ccr stopStops the detached service started by ccr start or ccr ui.
ccr serveRuns the management service and gateway in the foreground. ccr web is an alias.
ccr <profile>Opens an enabled Agent Profiles profile by name or ID.
ccr start
ccr start [--host <host>] [--port <port>] [--open|--no-open] [--gateway|--no-gateway]
  • --host <host>: management listener, default 127.0.0.1.
  • --port <port>: preferred management port, default 3458.
  • --open / --no-open: enable or disable opening a browser.
  • --gateway: explicitly request gateway startup; this is the default.
  • --no-gateway: start only the management service.
ccr ui
ccr ui [--host <host>] [--port <port>] [--open|--no-open] [--gateway|--no-gateway]

ui opens the browser by default. Use --no-open on SSH or other headless sessions.

ccr serve
ccr serve [--host <host>] [--port <port>] [--open|--no-open] [--gateway|--no-gateway]

serve stays attached to the current terminal and handles SIGINT/SIGTERM. It is the appropriate mode for a process supervisor. ccr stop only manages the detached service; stop a foreground server through its terminal or supervisor.

If the preferred management port is occupied, CCR tries the next available ports and prints the actual URL. When start or ui reuses an existing service, new host, port, and --no-gateway choices do not reconfigure that process. Run ccr stop first when those settings must change.

Agent Profiles

Create and enable profiles in Agent Profiles, then launch one by name or ID:

ccr "Codex - Work"
ccr "Codex - Work" app
ccr "Claude - Review" cli -- --model sonnet
ccr profile-id -- --help

The syntax is:

ccr <profile-name-or-id> [cli|app] [-- <agent arguments>]
  • --cli and --app are accepted alternatives to the positional surface.
  • Put agent-specific arguments after -- so they cannot be confused with CCR options.
  • If the surface is omitted, CCR uses the first surface allowed by the profile: CLI for Claude Code, Codex, Grok CLI, Kimi CLI, and Pi; App for ZCode.
  • Grok CLI, Kimi CLI, and Pi support CLI only. ZCode supports App only. Claude App and ZCode App do not accept trailing agent arguments.
  • Desktop App launches require that app to be installed and a graphical session to be available.
  • Start the CCR service before opening most profiles. Grok CLI, Kimi CLI, and Pi profiles can start a temporary shared service automatically and stop it after the last managed session exits.

The desktop application installs a related command named ccr-app. Commands copied from desktop Agent Profiles cards use ccr-app; the npm package documented here installs ccr.

Configuration And Runtime Files

PlatformConfig directory
macOS / Linux~/.claude-code-router
Windows%APPDATA%\claude-code-router

Important files include:

  • config.sqlite: current application configuration.
  • app-data/: API key, usage, request-log, certificate, and other runtime databases/files.
  • service.json: state and private token for a detached CLI service.
  • gateway.config.json: generated gateway runtime configuration.
  • profiles/ and bin/: isolated profile configuration and launch wrappers.

Do not edit or copy live SQLite files while CCR is writing to them. Use the UI export feature, or stop CCR before taking a filesystem backup.

Environment And Security

VariableDescription
CCR_WEB_HOSTDefault management listener when --host is omitted.
CCR_WEB_PORTDefault management port when --port is omitted.
CCR_WEB_AUTH_TOKENFixes the management UI/RPC token instead of generating a random token for the process.

Description from the npm listing.

  • claude-code
  • codex
  • llm
  • gateway
  • router

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@musistudio/claude-code-router weekly downloads on npm, last 90 days: 19,225 weekly downloads as of Oct 18, 2026, -87.2% over 90 days.@musistudio/claude-code-routerWeekly downloads on npm · Last 90 days19,225downloads / week-87.2% over 90 days050K100K150K200KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
@musistudio/claude-code-router weekly downloads on npm, last 90 days: 19,225 weekly downloads as of Oct 18, 2026, -87.2% over 90 days.

7/30/90-day growth

@musistudio/claude-code-router weekly downloads growth on npm: -51.1% over 7 days, -65.5% over 30 days, -87.2% over 90 days.@musistudio/claude-code-routerWeekly downloads growth on npm19,225downloads / week now7-day growth-20,057 weekly downloads-51.1%30-day growth-36,523 weekly downloads-65.5%90-day growth-131,453 weekly downloads-87.2%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@musistudio/claude-code-router weekly downloads growth on npm: -51.1% over 7 days, -65.5% over 30 days, -87.2% over 90 days.

Ranking history

@musistudio/claude-code-router npm ranking history: currently #746 (by weekly downloads).@musistudio/claude-code-routernpm ranking · by weekly downloads · Last 90 days#746current rank#744#745#746#747#748Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@musistudio/claude-code-router npm ranking history: currently #746 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 38, #6 (overall #746)
All npm: every listing in weekly downloads order

Listing placement

Claude Code231 listings · 12 pages · page 1, #12 (overall #12)
Claude Code: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (122)
Recent weekly downloads observations for @musistudio/claude-code-router
Date (UTC)Weekly downloadsChange vs. previous
19,225-1.3K
20,527-6.2K
26,759-3.9K
30,611-7.7K
38,354-7.4K
45,7210
45,721+6.4K
39,282+4.7K
34,570+3.6K
31,000+5.4K
25,580+3.5K
22,082+3.7K
18,381-5.2K
23,629—

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@musistudio/claude-code-router. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.