{
  "id": "claude-code-router",
  "name": "Claude Code Router",
  "homepage": "https://musistudio.github.io/claude-code-router/",
  "description": "Tool to route Claude Code requests to different models and customize any request",
  "executables": [
    "ccr"
  ],
  "dotfiles": {
    "paths": [
      "~/.claude-code-router/"
    ],
    "secret": [
      "~/.claude-code-router/config.sqlite",
      "~/.claude-code-router/config.json"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Start CCR service",
    "description": "Start the CCR management service and model gateway in the background. Profile launching and other service modes are not covered.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "start"
        ],
        "label": "Start in background",
        "source": [
          {
            "id": "docs",
            "kind": "manual",
            "url": "https://ccrdesk.top/en/guides/cli/",
            "revision": "2026-10-27",
            "evidence": "ccr start [--host <host>] [--port <port>] [--open|--no-open] [--gateway|--no-gateway]\n--host <host> Management service listen address, default 127.0.0.1. --host=value is also accepted.\n--port <port> Preferred management service port, default 3458.\n"
          }
        ],
        "field": [
          {
            "id": "host",
            "label": "Listen address",
            "type": "string",
            "option": [
              "--host"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "port",
            "label": "Port",
            "type": "integer",
            "option": [
              "--port"
            ],
            "sources": [
              "docs"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Start service",
            "fields": [
              "host",
              "port"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "host",
              "port"
            ]
          }
        ]
      }
    ]
  }
}
