原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Deputy

作者:alimohammadiamirhossein版本 0.3.1i★ 2i在你的电脑上运行
注册名称io.github.alimohammadiamirhossein/deputy

安装方法

What it does

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

  • Connects 在你的电脑上运行
  • Account or key Needs DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_API_KEY
  • Category 开发者工具

安装

选择你使用的 AI 应用,然后复制设置。

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 Deputy 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Deputy 网站 ↗

  3. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  4. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "deputy": {
          "command": "uvx",
          "args": [
            "deputy-cc",
            "serve"
          ],
          "env": {
            "DEEPINFRA_API_KEY": "your-value",
            "XAI_API_KEY": "your-value",
            "DEPUTY_API_KEY": "your-value"
          }
        }
      }
    }

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 退出 Claude 再重新打开

  6. 试一试

    用 Deputy 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 Deputy,或回答中出现 Deputy 的工具名称,就表示连接成功

6 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DEPUTY_PROVIDER deepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3). · 默认值 deepinfra
  • DEPUTY_MODE 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 gi… · 默认值 accuracy
  • DEPUTY_THINKING How hard the helper model thinks. · 默认值 high
  • DEPUTY_MODEL Model id served by the endpoint. · 默认值 deepseek-ai/DeepSeek-V4.1-Flash-1017
  • DEPUTY_BASE_URL Any OpenAI-compatible endpoint (https, or http on localhost for a local model). · 默认值 https://api.deepinfra.com/v1/openai
  • DEPUTY_WORKSPACE Project folder Deputy may read and edit. Defaults to the client's project folder.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 Deputy

Deputy 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 Deputy 的应用

  • 需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

B · 开发者工具 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 Deputy 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Deputy 网站 ↗

  3. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  4. 粘贴这条命令并按 Enter

    claude mcp add --scope user deputy --env DEEPINFRA_API_KEY=your-value --env XAI_API_KEY=your-value --env DEPUTY_API_KEY=your-value -- uvx deputy-cc serve

    按 Enter 前,把“your-value”改成你的密钥

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Claude Code 中输入 /mcp

    应能看到 Deputy 在列表中并显示已连接

  6. 试一试

    用 Deputy 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 Deputy,或回答中出现 Deputy 的工具名称,就表示连接成功

6 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DEPUTY_PROVIDER deepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3). · 默认值 deepinfra
  • DEPUTY_MODE 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 gi… · 默认值 accuracy
  • DEPUTY_THINKING How hard the helper model thinks. · 默认值 high
  • DEPUTY_MODEL Model id served by the endpoint. · 默认值 deepseek-ai/DeepSeek-V4.1-Flash-1017
  • DEPUTY_BASE_URL Any OpenAI-compatible endpoint (https, or http on localhost for a local model). · 默认值 https://api.deepinfra.com/v1/openai
  • DEPUTY_WORKSPACE Project folder Deputy may read and edit. Defaults to the client's project folder.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 Deputy 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Deputy 网站 ↗

  3. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Deputy 的设置中,DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 Cursor 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Deputy 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 Deputy,或回答中出现 Deputy 的工具名称,就表示连接成功

6 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DEPUTY_PROVIDER deepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3). · 默认值 deepinfra
  • DEPUTY_MODE 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 gi… · 默认值 accuracy
  • DEPUTY_THINKING How hard the helper model thinks. · 默认值 high
  • DEPUTY_MODEL Model id served by the endpoint. · 默认值 deepseek-ai/DeepSeek-V4.1-Flash-1017
  • DEPUTY_BASE_URL Any OpenAI-compatible endpoint (https, or http on localhost for a local model). · 默认值 https://api.deepinfra.com/v1/openai
  • DEPUTY_WORKSPACE Project folder Deputy may read and edit. Defaults to the client's project folder.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要 Deputy 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)

  1. 安装 Python (uv)

    只需一次,所有需要 Python (uv) 的服务器都能用

    打开 Python (uv) 下载页 ↗

  2. 注册并创建 Deputy 的密钥

    打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。

    打开 Deputy 网站 ↗

  3. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  4. 填写你的密钥

    在 Deputy 的设置中,DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_API_KEY 还是空的,填入你的密钥并保存

    只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人

  5. 在 VS Code 中以 Agent 模式打开 AI 聊天

  6. 试一试

    用 Deputy 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 Deputy,或回答中出现 Deputy 的工具名称,就表示连接成功

6 项可选设置(不填也能用)

上面的命令不填这些也能用。想调整时再按开发者的说明添加。

  • DEPUTY_PROVIDER deepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3). · 默认值 deepinfra
  • DEPUTY_MODE 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 gi… · 默认值 accuracy
  • DEPUTY_THINKING How hard the helper model thinks. · 默认值 high
  • DEPUTY_MODEL Model id served by the endpoint. · 默认值 deepseek-ai/DeepSeek-V4.1-Flash-1017
  • DEPUTY_BASE_URL Any OpenAI-compatible endpoint (https, or http on localhost for a local model). · 默认值 https://api.deepinfra.com/v1/openai
  • DEPUTY_WORKSPACE Project folder Deputy may read and edit. Defaults to the client's project folder.

说明仍为英文原文。

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 Deputy 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user deputy --env DEEPINFRA_API_KEY=your-value --env XAI_API_KEY=your-value --env DEPUTY_API_KEY=your-value -- uvx deputy-cc serve

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "deputy": {
      "command": "uvx",
      "args": [
        "deputy-cc",
        "serve"
      ],
      "env": {
        "DEEPINFRA_API_KEY": "your-value",
        "XAI_API_KEY": "your-value",
        "DEPUTY_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "deputy": {
      "command": "uvx",
      "args": [
        "deputy-cc",
        "serve"
      ],
      "env": {
        "DEEPINFRA_API_KEY": "your-value",
        "XAI_API_KEY": "your-value",
        "DEPUTY_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "deputy": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "deputy-cc",
        "serve"
      ],
      "env": {
        "DEEPINFRA_API_KEY": "your-value",
        "XAI_API_KEY": "your-value",
        "DEPUTY_API_KEY": "your-value"
      }
    }
  }
}

需要你填写的值

  • DEPUTY_PROVIDER env
    deepinfra (DeepSeek V4.1 Flash) or xai (Grok, default model grok-4.3).
  • DEEPINFRA_API_KEY 机密 必填 env
    DeepInfra API key (deepinfra.com, Dashboard > API Keys), for the default provider. Only sent to api.deepinfra.com.
  • XAI_API_KEY 机密 必填 env
    xAI API key (console.x.ai), when DEPUTY_PROVIDER is xai. Only sent to api.x.ai.
  • DEPUTY_MODE env
    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 gi…
  • DEPUTY_THINKING env
    How hard the helper model thinks.
  • DEPUTY_MODEL env
    Model id served by the endpoint.
  • DEPUTY_BASE_URL env
    Any OpenAI-compatible endpoint (https, or http on localhost for a local model).
  • DEPUTY_WORKSPACE env
    Project folder Deputy may read and edit. Defaults to the client's project folder.
  • DEPUTY_API_KEY 机密 必填 env
    API key for a non-DeepInfra endpoint. Takes precedence over DEEPINFRA_API_KEY.

说明仍为英文原文。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

每周下载量i
46/周
连接方式
在你的电脑上运行
最新版本i
0.3.1
发布到注册中心i
2026年10月27日
代码最后更新i
2026年10月27日
作者
alimohammadiamirhossein
软件包
pypi: deputy-cc
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 alimohammadiamirhossein 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于18天前

  • ✓ 通过

    有许可证

    使用 MIT

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

使用 Google 登录后发帖

用户评价

还没有评价

用 Google 登录后写评价

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 5872 个服务器的 77%
  • 发布到注册中心的时间比此分类中其他 5872 个服务器的 60% 更新
  • 基础检查结果等于或优于此分类中其他 5872 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Deputy 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于18天前,最新版本(0.3.1)于18天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent

同类别的其他选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

作者:morluto广泛使用↓ 38.9万/周★ 45.8万前天更新

在你的电脑上运行

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万11天前更新

电脑或云端

Serena MCP: the IDE for your agent

A powerful toolkit for coding, providing semantic retrieval and editing capabilities.

作者:oraios广泛使用↓ 3.5万/周★ 3.1万6个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Deputy

Deputize cheap models. Claude stays the sheriff.

Deputy is a Claude Code plugin and MCP server that has a cheap model, DeepSeek V4.1 Flash, review Claude's code for bugs and give second opinions, for under a cent each. Claude keeps writing the code.

A replay of one benchmark case. Deputy's findings, time and cost, the repro and the test run are real.

claude plugin marketplace add alimohammadiamirhossein/deputy

claude plugin install deputy@deputy

Inside Claude Code the same thing is /plugin marketplace add alimohammadiamirhossein/deputy. You need uv and a DeepInfra API key.

What it costs (measured)

RunTimeCost
review: two reviewers check a change with a planted off-by-one bug (both caught it)27 s$0.0011
consult: second opinions from 2 angles68 s$0.0018
investigate: list a project's functions and their tests18 s$0.0004
delegate: fix a bug, add 3 tests, run pytest until green46 s$0.0006

Measured on a small demo project with thinking high. Reviews and second opinions now think at low by default, which makes them faster and cheaper (see the review benchmark below). On real projects, expect consult and review to stay under $0.01. Every result shows its real tokens and cost.

Benchmark: Opus with and without Deputy

Four small Python tasks with hidden tests Claude never sees (bench/), one run each on Claude Opus 5.5, October 2026. These runs predate the faster reviews: reviewers then thought at high with no time limit, and the prompt asked Claude to review every task.

ConfigHidden tests passedMean cost (Claude + Deputy)Median time
Opus alone4/4$0.1830 s
Opus + /deputy:review4/4$0.31 ($0.30 + $0.013)3.7 min
Opus + /deputy:delegate4/4$0.19 ($0.19 + $0.0015)76 s

What this shows, and what it doesn't:

  • No accuracy gain to measure here. The tasks are too easy: Opus passed every hidden test on its own.
  • Reviews cost Claude more than they cost Deputy. Deputy's share is about a cent, but Claude spends more checking the findings, so a reviewed task cost 68% more and took longer. One review took 24 minutes because a reviewer thought for 73k tokens. Reviewers now think at low and stop after 180 s, and Claude reviews only risky or large changes.
  • The findings still changed the code. In 3 of 4 tasks Claude hardened the code beyond the spec: it fixed a rate limiter that a NaN timestamp would block forever, and added missing tests. It rejected one finding that contradicted the spec.
  • Delegating saved nothing on tasks this small. Claude's own reading and checking cost about as much as writing the code itself.
  • Small sample. One run per config. Full table: bench/results/2026-10-24-opus.
Does review catch bugs, and how often does it cry wolf?

Deputy's review on its own, without Claude, on 6 changes with a planted bug and 8 clean changes. Each planted bug has a clean twin, the same change done right. Five runs each with the default settings (bench/review_cases):

DiffsReviewsFlaggedFlagged major or criticalMean costMedian timeSlowest
Planted bug3030/30 caught30/30$0.001628 s59 s
Clean4022/4010/40$0.003980 s230 s
  • Every planted bug was caught, at major or critical severity, by both reviewers every time.
  • Reviews are quick. Reviewers think at low and stop after 180 s. With high thinking and no cap they caught the same bugs, but the median clean review took 160 s and the slowest 23 minutes.
  • Clean code still draws findings, so Claude has to check each one. Most are minor (36 of 50), but a quarter of clean reviews included a major claim.
  • Many of those findings are fair, such as a test that can't fail, an entry point no test covers, or a cache key wider than the change assumed.
  • The benchmark already fixed one cause of false alarms. In the first run, reviewers read new files labelled "(untracked)" as left out of the change. Deputy now shows them as git diff does, and those findings went from 6 to 0.
  • Agreement is weak evidence on clean code. Both reviewers flagged the same spot on 20% of clean diffs, so a finding isn't real just because two reviewers report it.
  • Every finding on a clean diff is listed in the results: default settings, high thinking, no cap, first run.

What it does

Claude (for example Opus 5.5) stays in charge and writes the code. Deputy adds four tools that run a much cheaper model as a helper inside your project:

ToolWhat it does
`review`Independent reviewers hunt for bugs in a risky or large change before Claude calls it done
`consult`Second opinions from 2–4 angles at once, before Claude commits to a plan
`investigate`Reads lots of code and returns file:line leads
`delegate`Hands a coding task to the cheap model (off by default; on request, or in savings mode)
`stats`Shows roughly how many tokens and dollars Deputy saved: this session, today, this week, all time

Claude treats everything Deputy says as an unverified hint: it checks each finding against the code and keeps only what holds up.

See what you saved

Every result ends with a one-line estimate, for example from a real investigate run:

Savings (rough): this work would cost about $0.0082 on Claude Opus 5.5; Deputy did it for $0.0001. Saved about $0.0074 and 2.0k Claude Opus 5.5 tokens.

Ask Claude for stats, or run deputy stats, for totals. Reviews and second opinions are listed separately as extra checks, so they never inflate the savings. The estimate assumes your lead model would use about as many tokens, so treat it as an order of magnitude. Only numbers are stored, never code or prompts. Set your lead model with DEPUTY_LEAD_MODEL (opus, sonnet, haiku, fable or custom).

When to use Deputy, and when not to

Use it for:

  • Risky or large changes, where a missed bug costs more than a minute of waiting: tricky logic, security, data handling, concurrency, refactors that touch several files.
  • A second opinion before Claude commits to a design, without spending Claude tokens on it.
  • Wide reading in a big codebase, such as "where is this setting read?".
  • Well-specified mechanical work (boilerplate, renames, test scaffolding) in lean, balanced, partner or savings mode, when you want to save Claude tokens on larger jobs. On small tasks it saved nothing in the benchmark.

Skip it for:

  • Routine changes whose tests pass, and trivial edits like typos and one-liners. A review makes you wait and adds little there.
  • Code you may not share with a third party. Deputy sends code to DeepInfra, or to whatever endpoint you set in DEPUTY_BASE_URL (a local model works too).
  • Final answers. Findings come from a weaker model and include false positives, which is why Claude verifies every one.
  • Architecture and security-sensitive decisions in savings mode. Keep those with Claude.

Quick start

1. Get a DeepInfra API key (DeepInfra hosts DeepSeek's models in the US)

  1. Sign up at [deepinfra.com](https://deepinfra.com/) with GitHub, Google or email.
  2. In Dashboard → Billing, add a card and $5–10 of credit, then set a spending limit equal to that amount.
  3. In API Keys, create a key (it starts with sk-di-) and copy it. Keep it private.

You don't need a plan, a model purchase or a dedicated GPU. Pay-as-you-go credit is enough.

2. Install uv and the plugin

claude plugin marketplace add alimohammadiamirhossein/deputy

claude plugin install deputy@deputy

Claude Code asks for your DeepInfra key and stores it in your system's secure storage.

3. Restart Claude Code and try it

/deputy:review

/deputy:consult I plan to cache sessions in Redis. What am I missing? /deputy:investigate how does a request reach the database? /deputy:ds add input validation to the signup form, with tests

Or just work normally: Claude calls Deputy on its own when it pays off, and skips reviews on routine changes whose tests pass.

Cursor and Codex

One command adds Deputy to the editor's MCP config (with a backup of the old file) and installs the playbook as a Cursor rule or Codex skill:

uvx --from git+https://github.com/alimohammadiamirhossein/deputy deputy setup cursor --project .

uvx --from git+https://github.com/alimohammadiamirhossein/deputy deputy setup codex

Set DEEPINFRA_API_KEY in your environment first, then restart the editor. Add --dry-run to see the changes without writing them. Ready-made files are in integrations/.

Grok instead of DeepSeek (experimental, not tested yet): Grok support follows xAI's documentation but has not been run with a real xAI key. If you try it, please tell us what worked and what didn't, even if it was just a one-word "works". Add --provider xai and set XAI_API_KEY (from console.x.ai) instead. Deputy then uses grok-4.3; set DEPUTY_MODEL to grok-build-0.1 (xAI's coding model) or grok-4.7 (its strongest). Grok costs about 10 times more per token than DeepSeek V4.1 Flash.

uvx --from git+https://github.com/alimohammadiamirhossein/deputy deputy setup cursor --project . --provider xai
Other MCP clients (Cline, Windsurf, Claude Desktop)

Deputy is on PyPI as deputy-cc. Add a stdio MCP server that runs:

uvx deputy-cc serve

with DEEPINFRA_API_KEY set in its environment. Check your setup with uvx deputy-cc doctor.

Recommended model: DeepSeek V4.1 Flash, thinking

只显示了开头部分;其余内容请在仓库中阅读