
Selvage
Brings AI-powered code review into your MCP-enabled editor by analyzing Git diffs with AST-based context extraction. Exposes `perform_review` for direct LLM analysis using OpenRouter models (Claude, GPT, Gemini) and `get_review_context` for agent-delegated reviews that let your host agent handle the actual review using structured diff and context data. The latter means no API key required if you're just extracting review context for Claude Code or Cursor to process. Supports reviewing staged changes, unstaged work, branch comparisons, or specific commits. Uses tree-sitter to pull minimal relevant code blocks and their dependencies, keeping context lean. Automatically splits large reviews across multiple turns when you hit token limits. Reach for this when you want instant code review feedback without waiting for human reviewers or context-switching to a separate tool.
- GitHub stars
- 33
- tool
- 1
- transport
- STDIO
- last updated
- Feb 17, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
get_review_contextReturns structured review context (diff + Smart Context + system prompt) so host agents can perform code reviews with their own LLM, without an API key.
Returns structured review context (diff + Smart Context + system prompt) so host agents can perform code reviews with their own LLM, without an API key.
No parameter schema in public metadata yet.
Sponsors
Readme
Selvage: AI-Powered Code Review Automation Tool
🌐 한국어
A modern CLI tool that helps AI analyze Git diffs to improve code quality, find bugs, and identify security vulnerabilities.
🤖 AI Agents: Read our documentation at https://selvage.ai/llms.txt
Details
- Repository
- github.com/selvage-lab/selvage
- Category
- AI & LLM Tools
- Package
selvage- Transport
- STDIO
- Registry
- MCP registry, active