Official description๐ ๐ - LLM-based code review with AST-based context extraction, supporting Claude, GPT, Gemini and other models via OpenRouter.
Config template (adjust for your client)
claude mcp add selvage -- npx -y selvage
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
36 โ ยท selvage-lab/selvage ยท read from the repository page ยท (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-09 ยท last seen 2026-10-16 ยท seen 32ร ยท listed by 7 sources
Score
score 703 ยท 36 โ ยท 7 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆๅก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository selvage-lab/selvage๏ผfirst catalogued 2026-10-09๏ผlast seen 2026-10-16ใThere is no official certification or quality rating here โ we record sources and dates only.
๐ ํ๊ตญ์ด 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 --> โถ Watch Demo Video **Selvage: Code reviews with an edge!** No more waiting for reviews! AI instantly analyzes your code changes to provide quality improvements and bug prevention. With smart context analysis (AST-based) that's accurate and cost-effective, plus multi-turn processing for large codebases - seamlessly integrated with all Git workflows. Table of Contents - โจ Key Features - ๐ Quick Start - ๐ฏ Practical Usage Guide - MCP Mode Usage - โจ๏ธ CLI Usage - ๐ Smart Context Analysis and Supported AI Models - ๐ฏ Smart Context Analysis - Supported AI Models - ๐ Review Result Storage Format - ๐ง Troubleshooting - ๐ค Contributing - ๐ License - ๐ Change Log - ๐ Contact and Community โจ Key Features - **๐ค Multiple AI Model Support**: Leverage the latest LLM models including OpenAI GPT-5, Anthropic Claude Sonnet-4, Google Gemini, and more - **๐ Git Workflow Integration**: Support for analyzing staged, unstaged, and changes between specific commits/branches - **๐ฏ Optimized Context Analysis**: Tree-sitter based AST analysis automatically extracts the smallest code blocks containing changed lines along with their dependency statements, providing contextually optimized information for each situation - **๐ Automatic Multi-turn Processing**: Automatic prompt splitting when context limits are exceeded, supporting stable large-scale code reviews (Large Context Mode now auto-triggers once total tokens exceed 200k, even without provider errors) - **๐ค MCP Mode Support**: Register as MCP mode in Cursor, Claude Code, etc., and request code reviews through natural language like "Review current changes" - **๐ Claude Code Plugin**: Install via marketplace with a single command โ includes dedicated /review skill and selvage-reviewer agent for seamless integration - **๐ง Agent-Delegated Review (get_review_context)**: Returns structured review context (diff + Smart Context + system prompt) so host agents (Claude Code, Cursor, Antigravity, etc.) can perform code reviews with their own LLM โ **no API key required** - **๐ Open Source**: Freely use and modify under Apache-2.0 License ๐ Quick Start Common Setup 1. Installation **Recommended Method (using uv)** **Alternative Method (using pipx)** **Traditional Method (pip)** **macOS/Linux users**: If you encounter errors with pip install, please use the uv or pipx methods above. 2. API Key Setup Get an API key from OpenRouter and set it up: MCP Mode Usage (Recommended) Register as MCP mode in Cursor, Claude Code, etc., to request code reviews through natural language. Cursor Integration Register in Cursor's MCP configuration file (path may vary depending on user environment): **Common path:** ~/.cursor/mcp.json Claude Code Integration Method A: Plugin via Marketplace (Recommended) Install the Selvage plugin from the marketplace to get the dedicated /review skill and selvage-reviewer agent: After installation, use the /review skill directly: > ๐ก **No API key required!** The plugin uses get_review_context to leverage Claude Code's own LLM for code review, so no external API key is needed. Method B: MCP Server Registration Usage After restarting your IDE, request reviews from your Coding Assistant: ๐ **Done!** Selvage will analyze the code, review it, and deliver results through your Coding Assistant. CLI Mode Usage For direct terminal usage: **๐ก More Options:** CLI Usage | Practical Usage Guide --- ๐ฏ Practical Usage Guide MCP Mode Usage Basic Usage Agent-Delegated Review (No API Key Required) The get_review_context tool returns structured review context so host agents can perform code reviews with their own LLM โ **no Selvage API key needed**.