Selvedge
local MCP serverSelvedge is a local MCP server: Persistent decision memory for AI coding agents: rationale, rejected approaches, and entity history. Install it from pypi as selvedge.
Installation
Terminal
claude mcp add selvedge -e SELVEDGE_DB=... -- uvx selvedge
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"selvedge": {
"command": "uvx",
"args": [
"selvedge"
],
"env": {
"SELVEDGE_DB": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Python with uv (runs with uvx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
SELVEDGE_DB
Summary
Persistent decision memory for AI coding agents: rationale, rejected approaches, and entity history.
Selvedge vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| Selvedge | 24 | Local | Yes | pypi |
| robrain | 81 | Local | Yes | npm |
| PMB AI | 280 | Local | No | pypi |
| core | 218 | Local | No | pypi |
| Total Agent Memory | 72 | Local | No | pypi |
Questions
It reads one environment variable: SELVEDGE_DB. Set them in your MCP config before starting the server.
Python with uv (runs with uvx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
Selvedge is a local MCP server distributed as the pypi package selvedge.
Run: claude mcp add selvedge -e SELVEDGE_DB=... -- uvx selvedge
Run: codex mcp add selvedge --env SELVEDGE_DB=... -- uvx selvedge
Similar MCP servers
NameStars
- robrainio.github.adelinamart/robrain81
- PMB AIio.github.oleksiijko/pmb-ai280
- coreio.github.omega-memory/core218
- Total Agent Memoryio.github.vbcherepanov/total-agent-memory72
- enquire-mcpio.github.oomkapwn/enquire-mcp33
- genesys-memoryio.github.Astrix-Labs/genesys-memory29
- SAME - Stateless Agent Memory Engineio.github.sgx-labs/same23
- rag-ratio.github.cq27-dev/rag-rat20