Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Selvedge

local MCP server

Selvedge 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

ServerStarsTypeAPI keyRuntime
Selvedge24LocalYespypi
robrain81LocalYesnpm
PMB AI280LocalNopypi
core218LocalNopypi
Total Agent Memory72LocalNopypi

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
  1. robrainio.github.adelinamart/robrain81
  2. PMB AIio.github.oleksiijko/pmb-ai280
  3. coreio.github.omega-memory/core218
  4. Total Agent Memoryio.github.vbcherepanov/total-agent-memory72
  5. enquire-mcpio.github.oomkapwn/enquire-mcp33
  6. genesys-memoryio.github.Astrix-Labs/genesys-memory29
  7. SAME - Stateless Agent Memory Engineio.github.sgx-labs/same23
  8. rag-ratio.github.cq27-dev/rag-rat20