Claude Code Router (CCR)

One local control plane for every AI agent: route, fail over, extend, and observe from a single app.

Stars
★ 38k
Last updated
1mo ago
License
MIT
Primary language
TypeScript

At a glance

How it runs
Desktop appCLISelf-hosted service
Works with
Universal · cross-platformChatGPT · Codex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.js 22npmDocker (optional)Shell / CLINetwork accessLocal filesystem
Typical use
A developer using Claude Code who wants to switch models or providers without editing config files.
Not a fit if
  • Environments still on Node.js below version 22
  • Users wanting zero-config setup with no routing or credential pool tuning
Website
ccrdesk.top ↗ set on GitHub
Maintenance
Commits in the last 6 monthslast commit 2026-10-10latest release v3.1.3 (2026-10-09)+14.9 ★/day over 7 days
Source review
62/100 · Some gaps

What does this agent do, and when should you use it?

Claude Code Router (CCR) is a local model gateway that provides a stable local endpoint (default http://127.0.0.1:3456) for coding agents including Claude Code, Claude Design, Codex, Grok CLI, Kimi CLI, Kilo Code, OpenCode, Pi, and ZCode. It supports protocols like OpenAI Chat/Responses, Anthropic Messages, Gemini Generate Content/Interactions, OpenRouter, DeepSeek, SiliconFlow, Moonshot, Kimi Code, Mistral, Z.AI, Bailian, and custom compatible endpoints. CCR offers a desktop app (macOS, Windows, Linux), a CLI via npm, and Docker deployment. Core capabilities include provider presets, model discovery, routing rules, retries, credential pools, key rotation, fallback models, Fusion vision, web search, MCP tools, and ToolHub. It provides detailed request logs, latency, token usage, cost estimates, and account status. The project is MIT-licensed and has an active community and sponsor support.

CCR runs as a local proxy that intercepts API requests from multiple AI agents and forwards them to chosen providers based on configured routing rules. It provides routing rules, credential pools, retries, fallback models, request rewriting, and conditional matching. It supports Fusion models (vision, web search, MCP tools) and ToolHub, extending capabilities via plugins. It logs requests and responses, including resolved provider, model, credential, status, latency, tokens, cost, and tool calls. It supports agent relay through Weixin iLink, WeCom, Slack, Discord, Telegram, LINE, Feishu, and DingTalk via AgentClaw.

  1. A developer using Claude Code who wants to switch models or providers without editing config files.
  2. A team using multiple AI agents (e.g., Claude Code and Codex) that wants to unify model configuration and credentials.
  3. A user needing high availability with retries, credential pools, and fallback models to keep requests running.
  4. A user wanting to add vision, web search, or MCP tool capabilities to existing models using Fusion and ToolHub.
  5. An organization requiring detailed audit logs, cost estimates, and performance metrics for AI usage.
  6. A user needing to relay agent requests through enterprise communication platforms like Slack or DingTalk via AgentClaw.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npm install -g @musistudio/claude-code-router
  • docker compose up -d --build
Runtime
Node.js 22+
Install notes cover
Windows · macOS · Linux · Docker

How do you install or deploy this agent?

Desktop app: Download the installer for macOS, Windows, or Linux from GitHub Releases and launch it. CLI: Ensure Node.js 22+, run npm install -g @musistudio/claude-code-router, then execute ccr ui. Docker: Clone the repo and run docker compose up -d --build.

How do you use this agent?

After launching CCR, open Providers → Add Provider, choose a built-in preset or custom endpoint, enter the API key, select protocol and models. Start the server (default http://127.0.0.1:3456). In Agent Config, select your agent (e.g., Claude Code), choose a model, and apply the profile. Then use your agent normally; open Logs to see resolved provider, model, status, tokens, latency, and errors. Configure conditions, retries, request rewrites, and fallback models in Routing.

What are this agent's strengths and limitations?

Pros
  • Centralizes management of multiple agents and providers, reducing configuration fragmentation.
  • Supports built-in presets and custom endpoints, compatible with multiple protocols (OpenAI, Anthropic, etc.).
  • Provides retries, credential pools, key rotation, and fallback models for high reliability.
  • Extends model capabilities via Fusion and ToolHub, supporting vision, search, and MCP tools.
  • Offers detailed logs and cost estimation for better observability.
  • Active community and sponsor support, with ongoing development.
Limitations
  • Desktop app requires installing an Electron app, which may use significant system resources.
  • CLI requires Node.js 22 or higher, which may not be available in older environments.
  • Dependent on third-party API keys and subscriptions, with provider lock-in risk.
  • Advanced routing and plugin configuration has a learning curve.
  • Some features (e.g., AgentClaw) require additional external service configuration.
  • Documentation is mostly in English, with limited Chinese resources.

How does this agent compare with similar options?

Similar tools include LiteLLM and OpenRouter, but CCR focuses on a local control plane and agent management without relying on cloud services.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Claude Code Router (CCR) This agent 62 · Some gaps Desktop appFree + model costs ★ 38k 1mo ago TypeScript ChatGPT · Codex · Claude Code
Puppetmaster 73 · Some gaps CLIFree + model costs ★ 472 4d ago Python Codex · Claude Code
ccxray 76 · Good CLIFree + model costs ★ 296 8d ago JavaScript Claude Code · Claude API
Runtm 60 · Some gaps CLIFreemium ★ 304 1d ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
62/ 100 5-point scale 3.1 / 5
Trust 12/29
Reliability 8/14
Adaptability 14/18
Convention 13/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The product is explicitly a local gateway: the README gives a 127.0.0.1 default and describes routing, credentials, and request logs, which supports some data-flow visibility. The CLI handles configuration, service tokens, and configuration files, but the supplied material does not show credential encryption, broad permission boundaries, controls on outbound data, user confirmation, a complete side-effect inventory, or rollback mechanisms, so trust controls receive partial credit. The dependency list and overrides show dependency management, but there is no vulnerability audit or full supply-chain evidence. The MIT license and repository attribution are visible; publisher identity remains unknown.

Reliability8 / 14 · 2.9/5

The README, package metadata, and CLI code largely agree on a local gateway, management UI, and configuration workflow; Node requirements and desktop build constraints are also documented. Availability depends on external model services, providers, and npm packages, with no offline fallback or availability commitment shown. The CLI includes clear errors for invalid arguments, startup failures, and unavailable gateways, but the supplied excerpt cannot establish coverage for all failure cases.

Adaptability14 / 18 · 3.9/5

The README names a broad set of coding agents, CLI and desktop applications, providers, routing, tools, deployment modes, and use cases, so audience and scenarios are well covered. The CLI explicitly rejects unsupported arguments or launch modes for some agents and surfaces, but the complete capability boundary, compatibility matrix, and limitations are not exhaustive in this packet. The local service default, Node 22 requirement, and desktop and Docker paths show concrete environment support, while remote deployment details point to external documentation.

Convention13 / 18 · 3.6/5

The README is organized around quick start, architecture, features, deeper documentation, and support; installation covers desktop, CLI, Docker, and builds, including platform differences. The license file and package metadata both state MIT. Product and command names are mostly stable, though the monorepo package names and many agent names add some naming complexity. Examples focus on installation and routing, and no FAQ is included; some limitations are disclosed, but the supplied material contains no change log. Maintainers and support channels are discoverable through links and sponsorship information, but specific maintenance responsibility and update commitments are unclear.

Effectiveness10 / 13 · 3.8/5

Routing, multiple providers, failover, capability extensions, and request observability in one interface address fragmented agent configuration and offer clear marginal value. Log fields and configuration steps support operational use, but the material does not show full output examples or how cost estimates are validated. Desktop, CLI, and Docker options plus a shared local endpoint offer useful benefits; setup, provider configuration, and maintaining an additional gateway also incur costs that are not quantified.

Verifiability5 / 8 · 3.1/5

README claims about the local port, Node version, commands, supported scope, and some limitations can be partly matched to package metadata and CLI configuration, startup, and argument checks. Test files show specific static test cases for the Claude Design plugin, but do not substantiate every integration claim in the README; no execution or testing was performed for this assessment. The material distinguishes feature descriptions from setup instructions, but broad compatibility and capability claims lack evidence mapped to each claim, warranting only partial credit.

Risks and how to mitigate them
  • The gateway handles provider credentials, prompts, and responses. Review local access controls, log retention, and remote deployment settings; the supplied material does not fully explain these handling details.
  • The README lists many agents and providers, but the supplied evidence covers only part of the CLI and Claude Design tests; it does not establish that every integration works in a target environment.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 057abaa1f955
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/claude-code-router.svg)](https://followagents.com/en/agents/claude-code-router)
<a href="https://followagents.com/en/agents/claude-code-router"><img src="https://followagents.com/badge/claude-code-router.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v3.1.3
    Release notes excerpt
    Highlights - Rebuild the bundled model catalog and publish it to [models.ccrdesk.top](https://models.ccrdesk.top/models.json). The catalog refreshes from the CDN at startup and hourly, with bundled and cached data available offline. - Improve routing script token estimation, gateway restart recovery, and raw trace delivery. - Fix Codex session affinity, protocol-specific provider aliases, and upstream streaming resets. - Add the Y-API provider preset and bound OpenRouter catalog requests with a timeout. What's Changed …
    View on GitHub ↗
  2. v3.1.2
    Release notes excerpt
    Highlights - Fix Codex workspace launching and network requirements handling, and preserve approval reviewer settings. - Protect configuration saves against stale concurrent edits and preserve provider capabilities, routing rules, and fallback settings. - Bundle the gateway regression fixes in every release: valid Anthropic tool IDs and replay histories, complete Fusion traces, and accurate upstream HTTP status and headers. - Improve fallback error details, Anthropic reasoning compatibility, OpenCode Go cache usage, and live OAuth credential refresh during model discovery and requests. …
    View on GitHub ↗
  3. v3.1.1
    Release notes excerpt
    What's Changed * fix(gateway): surface per-attempt failure details in aggregate error messages by @zeal-up in https://github.com/musistudio/claude-code-router/pull/1773 * fix(gateway): raise and make configurable the core config-acceptance timeout by @fszcd in https://github.com/musistudio/claude-code-router/pull/1794 * fix(usage): price routed models instead of rule aliases (#1787) by @cpruijsen in https://github.com/musistudio/claude-code-router/pull/1790 …
    View on GitHub ↗

FAQ

Does CCR slow down request latency?
CCR runs as a local proxy adding a network hop, but it defaults to a loopback address, minimizing latency. Actual impact depends on routing rules and provider performance.
Can I use CCR without the desktop app?
Yes, the CLI (ccr ui) provides a browser-based management UI, and Docker deployment is also available.
What protocols does CCR support?
It supports OpenAI Chat/Responses, Anthropic Messages, Gemini Generate Content/Interactions, OpenRouter, DeepSeek, SiliconFlow, Moonshot, Kimi Code, Mistral, Z.AI, Bailian, and custom compatible providers.
Does CCR support multiple accounts and credential pools?
Yes, it supports credential pools and key rotation for load balancing and failover.
How do I debug routing issues?
Use the Logs view to see resolved provider, model, status, and errors for each request, which helps in debugging.
Is Claude Code Router (CCR) free?
The software is free, but Claude Code Router (CCR) calls an AI model, and you pay that model provider for usage (or run a local model).
Is Claude Code Router (CCR) open source?
Yes. The source code is on GitHub (musistudio/claude-code-router) under the MIT licence.
Is Claude Code Router (CCR) safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored Claude Code Router (CCR) 12/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is Claude Code Router (CCR) still maintained?
Development has slowed: the latest commit on GitHub is from 2026-10-10, within the last six months but not the last 30 days. The latest release is v3.1.3 (2026-10-09).
Who makes Claude Code Router (CCR)?
Claude Code Router (CCR) is published on GitHub by the account musistudio. FollowAgents has not verified which person or company is behind that account.
What is Claude Code Router (CCR)'s official website?
The project's GitHub repository lists https://ccrdesk.top/ as its website. That link is set by the repository owner; the source code itself is on GitHub (musistudio/claude-code-router).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.