Codereviewbuddy
What it does
MCP server that helps AI coding agents interact with AI code reviewers on GitHub PRs
- Connects パソコンで動く
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 2/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "codereviewbuddy": { "command": "uvx", "args": [ "codereviewbuddy" ] } } }Claude を終了してもう一度開く
試してみる
Codereviewbuddy を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Codereviewbuddy を使っていると言うか、回答に Codereviewbuddy のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Codereviewbuddy につなげません
Codereviewbuddy はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Codereviewbuddy につなげるアプリを使う
- 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user codereviewbuddy -- uvx codereviewbuddyClaude Code で /mcp と入力
Codereviewbuddy が一覧にあり、接続済みと表示されれば OK です
試してみる
Codereviewbuddy を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Codereviewbuddy を使っていると言うか、回答に Codereviewbuddy のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
Cursor の AI チャットを Agent モードで開く
試してみる
Codereviewbuddy を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Codereviewbuddy を使っていると言うか、回答に Codereviewbuddy のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
VS Code の AI チャットを Agent モードで開く
試してみる
Codereviewbuddy を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Codereviewbuddy を使っていると言うか、回答に Codereviewbuddy のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user codereviewbuddy -- uvx codereviewbuddyClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"codereviewbuddy": {
"command": "uvx",
"args": [
"codereviewbuddy"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"codereviewbuddy": {
"command": "uvx",
"args": [
"codereviewbuddy"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"codereviewbuddy": {
"type": "stdio",
"command": "uvx",
"args": [
"codereviewbuddy"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月13日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント detailobsessed で確認済みです
- ✕ 不合格
今もメンテナンスされている
1年以上コードの更新がないか、リポジトリがアーカイブされています
- ✓ 合格
ライセンスがある
ISCを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5852件のうち0%よりスターが多い
- このカテゴリのほかの5852件のうち8%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5852件のうち44%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Codereviewbuddyは安全ですか?
当てはまる基本チェック3項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は5 か月前、最新バージョン(0.37.0)がレジストリに届いたのは7 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:REA, GitHub, Serena MCP: the IDE for your agent
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
codereviewbuddy
An MCP server that helps your AI coding agent manage PR review comments from any AI reviewer that uses GitHub's PR review infrastructure.
Features
Review comment management
- Triage review comments —
triage_review_commentsfilters to only actionable inline threads and includes direct GitHub URLs for each comment - Get thread details —
get_threadfetches full conversation history for any thread by node ID - Reply to anything — inline review threads (
PRRT_), PR-level reviews (PRR_), and bot issue comments (IC_) all routed to the correct GitHub API
CI & stack diagnosis
- Diagnose CI failures —
diagnose_cicollapses 3-5 sequentialghcommands into one call: finds the failed run, identifies failed jobs/steps, and extracts actionable error lines - Stack activity feed —
stack_activityshows a chronological timeline of pushes, reviews, labels, merges across all PRs in a stack with asettledflag for deciding when to proceed - Scan merged PRs —
list_recent_unresolvedcatches late review comments on already-merged PRs
Agent experience
- Recovery-guided errors — every tool handler classifies errors (auth, rate limit, not found, workspace, GraphQL, config) and returns actionable recovery hints so agents self-correct instead of retrying blindly
- Next-action hints — tool responses include
next_stepssuggestions guiding agents to the right follow-up tool call - Empty result messages — when results are empty, responses explain why and suggest what to try next
- GUI URLs — triage items include
comment_urlso agents can link users directly to the comment on GitHub - Tool classification tags — tools are tagged
query,command, ordiscoveryfor MCP clients that support filtering
Server features (FastMCP v3)
- Typed output schemas — all tools return Pydantic models with JSON Schema, giving MCP clients structured data instead of raw strings
- Progress reporting — long-running operations report progress via FastMCP context (visible in MCP clients that support it)
- Production middleware — ErrorHandling (transforms exceptions to clean MCP errors with tracebacks), Timing (logs execution duration for every tool call), and Logging (request/response payloads for debugging)
- Zero config auth — uses
ghCLI, no PAT tokens or.envfiles
CLI testing (free with FastMCP v3)
FastMCP v3 gives you terminal testing of the server with no extra code:
# List all tools with their signatures
fastmcp list codereviewbuddy.server:mcp
Call a tool directly from the terminal
fastmcp call codereviewbuddy.server:mcp triage_review_comments pr_numbers='[42]'
Inspect server metadata
fastmcp inspect codereviewbuddy.server:mcp
Run with MCP Inspector for interactive debugging
fastmcp dev codereviewbuddy.server:mcp
Prerequisites
- GitHub CLI (
gh) installed and authenticated (gh auth login) - Python 3.14+
Installation
This project uses uv. No install needed — run directly:
uvx codereviewbuddy
Or install permanently:
uv tool install codereviewbuddy
MCP Client Configuration
Quick setup (recommended)
One command configures your MCP client — no manual JSON editing:
uvx codereviewbuddy install claude-desktop
uvx codereviewbuddy install claude-code uvx codereviewbuddy install cursor uvx codereviewbuddy install windsurf uvx codereviewbuddy install windsurf-next
With optional environment variables:
uvx codereviewbuddy install windsurf \
--env CRB_SELF_IMPROVEMENT__ENABLED=true
For any other client, generate the JSON config:
uvx codereviewbuddy install mcp-json # print to stdout
uvx codereviewbuddy install mcp-json --copy # copy to clipboard
Restart your MCP client after installing. See uvx codereviewbuddy install --help for all options.
Manual configuration
If you prefer manual setup, add the following to your MCP client's config JSON:
{
"mcpServers": { "codereviewbuddy": { "command": "uvx", "args": ["codereviewbuddy@latest"], "env": { // All CRB_* env vars are optional — zero-config works out of the box. // See Configuration section below for the full list. } } } }
All options enabled:
{
"mcpServers": { "codereviewbuddy": { "command": "uvx", "args": ["codereviewbuddy@latest"], "env": { // GitHub logins considered "ours" for triage filtering (comma-separated) "CRB_OWNER_LOGINS": "alice,bob", // Enable PR description quality checks "CRB_PR_DESCRIPTIONS__ENABLED": "true", // Agents suggest Linear issues when they hit server gaps "CRB_SELF_IMPROVEMENT__ENABLED": "true" } } } }
The server auto-detects your project from MCP roots (sent per-window by your client). This works correctly with multiple windows open on different projects — no env vars needed.
Why `@latest`? Without it,
uvxcaches the first resolved version and never upgrades automatically.
From source (development)
For local development, use uv run --directory to run the server from your checkout instead of the PyPI-published version. Changes to the source take effect immediately — just restart the MCP server in your client.
{
"mcpServers": { "codereviewbuddy": { "command": "uv", "args": ["run", "--directory", "/path/to/codereviewbuddy", "codereviewbuddy"], "env": { // Same CRB_* env vars as above, plus dev-specific settings: "CRB_SELF_IMPROVEMENT__ENABLED": "true" } } } }
Troubleshooting
If your MCP client reports No module named 'fastmcp.server.tasks.routing', the runtime has an incompatible FastMCP. Fixes:
- Prefer
uvx codereviewbuddy@latestin MCP client config. - For local source checkouts, launch with
uv run --directory /path/to/codereviewbuddy codereviewbuddy. - Reinstall to refresh cached deps:
uv tool install --reinstall codereviewbuddy.
MCP Tools
| Tool | Tags | Description |
|---|---|---|
summarize_review_status | query, discovery | Lightweight stack-wide overview — start here |
triage_review_comments | query | Only actionable inline threads needing attention |
get_thread | query | Full thread details by node ID — use after triage for conversation history |
reply_to_comment | command | Reply to inline threads (PRRT_), PR-level reviews (PRR_), or bot comments (IC_) |
diagnose_ci | query | Diagnose CI failures — finds the failed run, jobs, steps, and error lines in one call |
check_ci_status | query | Lightweight CI pass/fail/pending check for a PR — use before merging |
stack_activity | query | Chronological activity feed across a PR stack with a settled flag |
list_recent_unresolved | query | Scan recently merged PRs for unresolved review threads |
review_pr_descriptions | query | Analyze PR descriptions for quality issues (empty body, boilerplate, missing linked issues) |
show_config | discovery | Show active configuration with human-readable explanation |
MCP Resources
| Resource | Description |
|---|---|
pr://{owner}/{repo}/{pr_number}/reviews | Read-only review summary for a single PR |
MCP Prompts
| Prompt | Description |
|---|---|
review_stack | Full review pass workflow — summarize, triage, fix, reply, verify |
pr_review_checklist | Pre-merge quality checklist (review threads, PR hygiene, CI, tests) |
ship_stack | Pre-merge sanity check workflow before merging a PR stack |
Configuration
codereviewbuddy works zero-config with sensible defaults. All configuration is via CRB_* environment variables in the "env" block of your MCP client config — no config files needed. Nested settings use __ (double underscore) as a delimiter. See the dev setup above for a fully-commented example.
All settings
| Env var | Type | Default | Description |
|---|---|---|---|
CRB_PR_DESCRIPTIONS__ENABLED | bool | true | Whether review_pr_descriptions tool is available |
CRB_SELF_IMPROVEMENT__ENABLED | bool | false | Agents suggest Linear issues when they encounter server gaps |
CRB_OWNER_LOGINS | comma-separated | [] | GitHub usernames considered "ours" for triage filtering (e.g. alice,bob) |
Typical workflow
1. summarize_review_status() # Stack-wide overview — start here
- triage_review_comments(pr_numbers=[42, 43]) # Only actionable threads needing attention
- # Fix bugs flagged by triage, then:
- reply_to_comment(42, thread_id, "Fixed in ...") # Reply explaining the fix
- diagnose_ci(pr_number=42) # If CI fails, diagnose in one call
Each tool response includes next_steps hints guiding the agent to the right follow-up call. For stacked PRs, all query tools auto-discover the stack when pr_numbers is omitted.
Development
git clone https://github.com/detailobsessed/codereviewbuddy.git
cd codereviewbuddy uv sync
Testing
poe test # Run tests (excludes slow)
poe test-cov # Run with coverage report poe test-all # Run all tests including slow
Quality checks
poe lint # ruff check
poe typecheck # ty check poe check # lint + typecheck poe prek # run all pre-commit hooks
Architecture
The server is built on FastMCP v3 with a clean separation:
- `server.py` — FastMCP server with tool registration, middleware, instructions, and recovery-guided error handling
- `config.py` — Configuration (
CRB_*env vars via pydantic-settings) - `tools/` — Tool implementations (
comments.py,stack.py,ci.py,descriptions.py) - `gh.py` — Thin wrapper around the
ghCLI for GraphQL and REST calls - `models.py` — Pydantic models for typed tool outputs with
next_stepsandmessagefields for agent guidance
All blocking gh CLI calls are wrapped with call_sync_fn_in_threadpool to avoid blocking the async event loop.
Template Updates
This project was generated with copier-uv-bleeding. To pull the latest template changes:
copier update --trust .