selvage-lab avatar

Selvage

selvage-lab/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 tools

Public 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

PyPI License Python AI Models

▶ Watch Demo Video


View the full README on GitHub

Details

Repository
github.com/selvage-lab/selvage
Category
AI & LLM Tools
Package
selvage
Transport
STDIO
Registry
MCP registry, active

Related AI & LLM Tools MCP servers

View all
1cyanheads avatarWorkflows Mcp Servercyanheads/workflows-mcp-serverStore, query, and create YAML workflow playbooks for LLM agents.32stars
2igorganapolsky avatarThumbGate — PreToolUse Agent Firewalligorganapolsky/thumbgateSub-ms PreToolUse firewall, feedback memory, and single-use permits for AI coding agents.31stars
3leandropg19 avatarCuba Memorysleandropg19/cuba-memorysPersistent memory MCP server. 28 tools, BM25+MMR+OOD retrieval, tamper-evident audit, code graph.30stars
4vishisht16 avatarHumane Proxyvishisht16/humane-proxyAI safety middleware — detects self-harm and criminal intent in LLM prompts.28stars
5mkxultra avatarAi Cli Mcpmkxultra/ai-cli-mcpRun Claude, Codex, Gemini, Forge, and OpenCode CLIs through MCP with background jobs27stars
6youdotcom-oss avatarYou.com Web Access & AIyoudotcom-oss/mcpWeb search, AI agent, and content extraction via You.com APIs0stars