Deputy

io.github.alimohammadiamirhossein/deputy

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "deputy": {
      "command": "uvx",
      "args": [
        "deputy-cc"
      ],
      "env": {
        "DEPUTY_PROVIDER": "deepinfra",
        "DEEPINFRA_API_KEY": "<your DEEPINFRA_API_KEY>",
        "XAI_API_KEY": "<your XAI_API_KEY>",
        "DEPUTY_MODE": "accuracy",
        "DEPUTY_THINKING": "high",
        "DEPUTY_MODEL": "deepseek-ai/DeepSeek-V4.1-Flash-1017",
        "DEPUTY_BASE_URL": "https://api.deepinfra.com/v1/openai",
        "DEPUTY_API_KEY": "<your DEPUTY_API_KEY>"
      }
    }
  }
}
Environment variables
  • DEPUTY_PROVIDERdeepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3).
  • DEEPINFRA_API_KEYsecretDeepInfra API key (deepinfra.com, Dashboard > API Keys), for the default provider. Only sent to api.deepinfra.com.
  • XAI_API_KEYsecretxAI API key (console.x.ai), when DEPUTY_PROVIDER is xai. Only sent to api.x.ai.
  • DEPUTY_MODEaccuracy: 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.
  • DEPUTY_THINKINGHow hard the helper model thinks.
  • DEPUTY_MODELModel id served by the endpoint.
  • DEPUTY_BASE_URLAny OpenAI-compatible endpoint (https, or http on localhost for a local model).
  • DEPUTY_API_KEYsecretAPI key for a non-DeepInfra endpoint. Takes precedence over DEEPINFRA_API_KEY.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.3.1
Registry
active
Published
10/27/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Deputy is listed here — it’s also the link we check for a free listing.

Deputy — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-alimohammadiamirhossein-deputy?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Deputy — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Deputy — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-alimohammadiamirhossein-deputy?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.