Selvedge MCP server
io.github.masondelan/selvedge·v0.3.18·24 starsPersistent decision memory for AI agents: rationale, rejected approaches, and entity history.
not scanned yet
24 stars182 downloads/wk
Reviews
Write oneNobody has reviewed Selvedge yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Selvedge tools
No tool declarations could be read from the package source. They show once the server is installed.
How Selvedge compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 93% of 48,243 servers
- GitHub stars
- 24
- more than 91% of 28,706 servers
- Downloads a week
- 182
- more than 73% of 12,306 servers with a package
Release history: 5 versions in the registry since 2026-09-13, latest 2026-11-01, typically one every 14 days.
Install Selvedge in Claude Code, Cursor or VS Code
claude mcp add selvedge -- uvx selvedge
What the publisher says
From the Selvedge repository's README, as published. We do not edit it. Read it on GitHub
selvedge.sh · PyPI · GitHub
<!-- mcp-name: io.github.masondelan/selvedge -->
Long-term memory for AI-coded codebases — including what was already tried and rejected.
Line attribution tells you who wrote something. Selvedge tells your agent what not to write next: the approaches this codebase already tried, reverted, and why. It's a git blame for AI agents, for the why rather than which model touched which line — captured live, by the agent, as the change happens, so nothing downstream has to guess at it.
Selvedge is a local MCP server. AI coding agents (Claude Code, Codex, Copilot, Cursor, Gemini CLI and Windsurf) call it as they work to log structured change events with reasoning. Your data stays in a SQLite file under .selvedge/ next to your code.
Local-first by default, team-server by choice, zero-LLM always.
Six months ago, your AI agent added a column called usertierv2. You don't know why. git blame points to a commit from claude-code with a generated message that says "Update schema." The session that made the change is long gone — and so is the prompt that produced it.
With Selvedge, you run this instead:
$ selvedge blame user_tier_v2
user_tier_v2
Changed 2025-10-14 09:31:02
Agent claude-code
Commit 3e7a991
Reasoning User asked to add a grandfathering flag for legacy free-tier
users during the pricing migration. Stores the original tier
so we can backfill discounts without touching billing history.That reasoning was captured by the agent in the moment — written into Selvedge from the same context that produced the change. Not inferred from the diff afterward by a second LLM. Not a hand-typed commit message.
<!-- DEMO GIF Record a 30–45 second terminal session showing:
Use vhs (https://github.com/charmbracelet/vhs) or Asciinema. Replace this comment block with: -->
- selvedge status → shows N total events
- selvedge blame payments.amount → full output with reasoning
- selvedge diff users --since 30d → table of recent changes
- selvedge search "stripe" → filtered results
Who Selvedge is for
Selvedge has two audiences. Same tool, same pip install, same SQLite file under .selvedge/. Different scale of pain.
Teams running long-term, AI-coded codebases. When the project is big enough that you (or someone else) will touch it again in six months, twelve months, three years — but most of it was written by an agent whose context evaporated the day each PR shipped. git blame tells you what changed. Selvedge tells you why — even after the agent session, the prompt template, the developer who asked for it, and the model version are all long gone. This is the original use case: production codebases, schema decisions, migrations, dependency changes that need an audit trail that survives turnover.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Selvedge: common questions
- Is Selvedge MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Selvedge safety report
- How do I install Selvedge?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Selvedge need an API key?
- No secret keys are declared. It reads 1 setting from the environment.
- Is Selvedge maintained?
- The last commit was 33 days ago (2026-10-03). The latest release is v0.3.18.
- What can I use instead of Selvedge?
- Servers from other publishers that do the same job: State Memory MCP server and Knowl MCP server.
- How does Selvedge compare with other MCP servers?
- safety score 92/100 (higher than 93% of 48,243 servers); github stars 24 (more than 91% of 28,706 servers); downloads a week 182 (more than 73% of 12,306 servers with a package). Full comparison.
Alternatives to Selvedge
Same job from other publishers: the closest match first, then the best rated.
State Memory MCPPersistent workflow graph server tracking tasks, decisions, spatial entities, and blockers.not reviewedEstablishedA
KnowlPersistent memory for AI agents, for code, research and everyday life. Stale facts retire.not reviewedEstablishedA