GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Claude Code helper: DeepSeek V4.1 Flash reviews Claude's code for bugs and gives second opinions
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
DEPUTY_PROVIDER, DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_MODE, DEPUTY_THINKING, DEPUTY_MODEL, DEPUTY_BASE_URL, DEPUTY_WORKSPACE, DEPUTY_API_KEY「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"deputy": {
"command": "uvx",
"args": [
"deputy-cc",
"serve"
],
"env": {
"DEPUTY_PROVIDER": "your-value",
"DEEPINFRA_API_KEY": "your-value",
"XAI_API_KEY": "your-value",
"DEPUTY_MODE": "your-value",
"DEPUTY_THINKING": "your-value",
"DEPUTY_MODEL": "your-value",
"DEPUTY_BASE_URL": "your-value",
"DEPUTY_WORKSPACE": "your-value",
"DEPUTY_API_KEY": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add deputy --env DEPUTY_PROVIDER=your-value --env DEEPINFRA_API_KEY=your-value --env XAI_API_KEY=your-value --env DEPUTY_MODE=your-value --env DEPUTY_THINKING=your-value --env DEPUTY_MODEL=your-value --env DEPUTY_BASE_URL=your-value --env DEPUTY_WORKSPACE=your-value --env DEPUTY_API_KEY=your-value -- uvx deputy-cc serve動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"deputy": {
"command": "uvx",
"args": [
"deputy-cc",
"serve"
],
"env": {
"DEPUTY_PROVIDER": "your-value",
"DEEPINFRA_API_KEY": "your-value",
"XAI_API_KEY": "your-value",
"DEPUTY_MODE": "your-value",
"DEPUTY_THINKING": "your-value",
"DEPUTY_MODEL": "your-value",
"DEPUTY_BASE_URL": "your-value",
"DEPUTY_WORKSPACE": "your-value",
"DEPUTY_API_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"deputy": {
"type": "stdio",
"command": "uvx",
"args": [
"deputy-cc",
"serve"
],
"env": {
"DEPUTY_PROVIDER": "your-value",
"DEEPINFRA_API_KEY": "your-value",
"XAI_API_KEY": "your-value",
"DEPUTY_MODE": "your-value",
"DEPUTY_THINKING": "your-value",
"DEPUTY_MODEL": "your-value",
"DEPUTY_BASE_URL": "your-value",
"DEPUTY_WORKSPACE": "your-value",
"DEPUTY_API_KEY": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
DEPUTY_PROVIDER envDEPUTY_MODE envDEPUTY_THINKING envDEPUTY_MODEL envDEPUTY_BASE_URL envDEPUTY_WORKSPACE envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月9日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント alimohammadiamirhossein で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:DEEPINFRA_API_KEY, XAI_API_KEY, DEPUTY_API_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.3.1)がレジストリに届いたのは13 日前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.
| Run | Time | Cost |
|---|---|---|
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 angles | 68 s | $0.0018 |
investigate: list a project's functions and their tests | 18 s | $0.0004 |
delegate: fix a bug, add 3 tests, run pytest until green | 46 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.
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.
| Config | Hidden tests passed | Mean cost (Claude + Deputy) | Median time |
|---|---|---|---|
| Opus alone | 4/4 | $0.18 | 30 s |
Opus + /deputy:review | 4/4 | $0.31 ($0.30 + $0.013) | 3.7 min |
Opus + /deputy:delegate | 4/4 | $0.19 ($0.19 + $0.0015) | 76 s |
What this shows, and what it doesn't:
low and stop after 180 s, and Claude reviews only risky or large changes.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):
| Diffs | Reviews | Flagged | Flagged major or critical | Mean cost | Median time | Slowest |
|---|---|---|---|---|---|---|
| Planted bug | 30 | 30/30 caught | 30/30 | $0.0016 | 28 s | 59 s |
| Clean | 40 | 22/40 | 10/40 | $0.0039 | 80 s | 230 s |
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.git diff does, and those findings went from 6 to 0.high thinking, no cap, first run.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:
| Tool | What 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.
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).
Use it for:
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:
DEPUTY_BASE_URL (a local model works too).savings mode. Keep those with Claude.1. Get a DeepInfra API key (DeepInfra hosts DeepSeek's models in the US)
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.
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
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.
冒頭だけを表示しています。続きはリポジトリで読めます