Claude Code Router
Local gateway that routes Claude Code requests to any model provider with dynamic /model switching and a plugin/transformer system.
🛡️ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for Claude Code Router, derived from its capabilities.
These scores are auto-generated from public information (the agent's own listing, docs, and repository) using the canonical OWASP AIVSS formula and the MAESTRO framework — an estimate for guidance, not a penetration test, audit, or certification. See the scoring methodology — every score is re-derived by the same automated method as an agent's public evidence changes.
Overview
Claude Code Router (CCR) is a local gateway sitting between agents (Claude Code, Codex, ZCode) and upstream model providers, centralizing model management, API keys, routing rules, and observability. It enables dynamic model switching via /model, CLI management via `ccr model`, GitHub Actions integration, and an extensible plugin system of custom transformers. It supports OpenAI-compatible, Anthropic, Gemini, OpenRouter, DeepSeek, Moonshot, Mistral, and more.
Key features and capabilities
- Dynamic /model provider switching
- Local gateway for API keys + routing rules
- Custom transformer plugin system
- GitHub Actions integration, broad provider support
Use cases
- Running Claude Code against non-Anthropic models
- Centralized routing/observability for multiple agents