What it does
Selvage is a command line tool and MCP server that sends Git diffs to a language model for review. It uses AST-based analysis to add the surrounding code that each change depends on, and it can work with Claude, GPT, Gemini and other models through OpenRouter. The review looks for quality issues, bugs and possible security problems.
Use cases
- 01Get a first review of a branch before a pull request
- 02Flag possible bugs in a large diff
- 03Compare review output from different models