Selvedge
Selvedge is a local MCP server that gives AI coding agents a durable memory of why code changed. As Claude Code, Cursor, or Copilot work, Selvedge logs the reasoning behind every edit — captured live, in the same context that produced it — and stores it in a SQLite file next to your code. Instead of guessing from a generated commit message months later, you can run `selvedge blame payments.amount` and see the original intent.
✅ Pros / Advantages
- • Captures the 'why', not just the 'what'
- • Runs fully local with zero telemetry
- • Works with Claude Code, Cursor, Copilot, Cline, Windsurf
- • Prefix-searchable entity attribution
- • Exports Agent Trace records for observability
❌ Cons / Limitations
- • Requires agents to actively call its MCP tools
- • No cloud sync across machines
- • Young project, smaller community
- • SQLite store needs manual backup
- • Best value only on long-lived codebases
💰 Pricing Plans
Free (Open Source, MIT)
Pricing details are gathered from public sources and are subject to change. Please visit the official website for real-time rates.
Last updated: July 2026 · 9bests editorial review
✅ Who should use Selvedge
- • Captures the 'why', not just the 'what'
- • Runs fully local with zero telemetry
- • Works with Claude Code, Cursor, Copilot, Cline, Windsurf
- • Prefix-searchable entity attribution
- • Exports Agent Trace records for observability
⚠️ Who should look elsewhere
- • Requires agents to actively call its MCP tools
- • No cloud sync across machines
- • Young project, smaller community
- • SQLite store needs manual backup
- • Best value only on long-lived codebases
🎯 Common use cases
Autocompleting and refactoring code
Multi-file AI edits
Debugging and test generation
⚖️ Selvedge vs Cursor
| Selvedge | Cursor | |
|---|---|---|
| Rating | 4.2/5 | 4.8/5 |
| Pricing | Free (Open Source, MIT) | Free / $20/mo |
| Key strength | Captures the 'why', not just the 'what' | Best AI code editor |
See the full head-to-head in our Selvedge vs Cursor comparison.
❓ Frequently asked questions
Is Selvedge free?
+
Selvedge offers a free tier (Free (Open Source, MIT)). Paid plans unlock higher limits and advanced features.
What is Selvedge best for?
+
Selvedge is best for Captures the 'why', not just the 'what' and Runs fully local with zero telemetry. Selvedge is a local MCP server that gives AI coding agents a durable memory of why code changed. As Claude Code, Cursor, or Copilot work, Selvedge logs the reasoning behind every edit — captured live, in the same context that produced it — and stores it in a SQLite file next to your code. Instead of guessing from a generated commit message months later, you can run `selvedge blame payments.amount` and see the original intent.
How does Selvedge compare to Cursor?
+
Selvedge (4.2/5) and Cursor (4.8/5) serve overlapping needs. Selvedge stands out for Captures the 'why', not just the 'what', while Cursor is stronger at Best AI code editor. Choose based on your priority.
🔄 Top Alternatives to Selvedge
Related ToolsCursor
AI-first code editor built on VS Code
GitHub Copilot
AI pair programmer by GitHub/OpenAI
Windsurf (Codeium)
Free AI code completion and chat assistant
Replit Agent
AI-powered cloud IDE that builds full apps