Skip to main content

Deputy

io.github.alimohammadiamirhossein/deputy

v0.3.1Updated Oct 27, 2026stdio · PyPI

Claude Code helper: DeepSeek V4.1 Flash reviews Claude's code for bugs and gives second opinions

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add deputy -e DEPUTY_PROVIDER=deepinfra -e DEPUTY_MODE=accuracy -e DEPUTY_THINKING=high -e DEPUTY_MODEL=deepseek-ai/DeepSeek-V4.1-Flash-1017 -e DEPUTY_BASE_URL=https://api.deepinfra.com/v1/openai -- uvx deputy-cc==0.3.1 serve

Configuration

9 settings.

  • DEEPINFRA_API_KEY
    Env var· optional· secret
    DeepInfra API key (deepinfra.com, Dashboard > API Keys), for the default provider. Only sent to api.deepinfra.com.
  • XAI_API_KEY
    Env var· optional· secret
    xAI API key (console.x.ai), when DEPUTY_PROVIDER is xai. Only sent to api.x.ai.
  • DEPUTY_API_KEY
    Env var· optional· secret
    API key for a non-DeepInfra endpoint. Takes precedence over DEEPINFRA_API_KEY.
  • DEPUTY_PROVIDER
    Env var· optional
    deepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3).Default: deepinfra
  • DEPUTY_MODE
    Env var· optional
    accuracy: Claude writes all code; Deputy reviews and consults. lean: fewest Claude tokens, little accuracy loss. balanced: Deputy takes mechanical work. partner: Deputy does all low-level work and gives ideas. savings: Deputy takes most coding.Default: accuracy
  • DEPUTY_THINKING
    Env var· optional
    How hard the helper model thinks.Default: high
Show 3 more
  • DEPUTY_MODEL
    Env var· optional
    Model id served by the endpoint.Default: deepseek-ai/DeepSeek-V4.1-Flash-1017
  • DEPUTY_BASE_URL
    Env var· optional
    Any OpenAI-compatible endpoint (https, or http on localhost for a local model).Default: https://api.deepinfra.com/v1/openai
  • DEPUTY_WORKSPACE
    Env var· optional
    Project folder Deputy may read and edit. Defaults to the client's project folder.

Listed in the official MCP Registry since Oct 27, 2026. Mirrored daily; last checked Nov 26, 2026.