Cpersona MCP Server

Give Claude persistent memory across sessions. Single SQLite file. 29 tools. Zero LLM dependency.

Local serverstdioPython

What is the Cpersona MCP Server?

Give Claude persistent memory across sessions. Single SQLite file. 29 tools. Zero LLM dependency.

What it actually does

  • Declarative memory — — Individual facts, decisions, instructions stored via store
  • Episodic memory — — Conversation summaries archived via archive_episode
  • Profile memory — — Accumulated user/project attributes via update_profile
  • Cosine similarity (semantic relevance)
  • Dynamic time decay (adapts to corpus time range — a 1-year-old corpus and a 1-day-old corpus use different decay curves)
  • Recall boost (frequently useful memories surface more easily, with natural fade-out)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
storeStore a message in agent memory
recallRecall relevant memories (vector + FTS5 + keyword, RRF merge)
recall_with_contextRecall with external conversation context (auto-dedup)
get_contentsExpand recall preview refs (mem:<id> / ep:<id>) to full content
get_profileGet current agent profile
update_profileSave pre-computed agent profile
get_operating_contextRead the operator-owned operating context served to every client (read-only; edited on the filesystem)
archive_episodeArchive conversation episode with summary and keywords
list_memoriesList recent memories
list_episodesList archived episodes
update_memoryUpdate memory content (rejects if locked)
lock_memoryLock memory to prevent deletion/editing
unlock_memoryUnlock memory to allow deletion/editing
delete_memoryDelete a single memory (ownership enforced)

How to install the Cpersona MCP Server

{
  "mcpServers": {
    "cpersona": {
      "command": "uvx",
      "args": ["cpersona"],
      "env": {
        "CPERSONA_DB_PATH": "your-value",
        "EMBEDDING_MODE": "your-value",
        "EMBEDDING_HTTP_URL": "your-value",
        "CPERSONA_AUTH_TOKEN": "your-value",
        "CPERSONA_EMBEDDING_URL": "your-value",
        "CPERSONA_HTTP_HOST": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
CPERSONA_DB_PATHFilesystem location the server is allowed to use.Optional
EMBEDDING_MODEConfiguration value read at startup.Optional
EMBEDDING_HTTP_URLEndpoint or connection string the server talks to.Yes
CPERSONA_AUTH_TOKENCredential the server authenticates with.Yes
CPERSONA_EMBEDDING_URLEndpoint or connection string the server talks to.Yes
CPERSONA_HTTP_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use Cpersona to store.”
  • “Use Cpersona to recall.”
  • “Use Cpersona to recall with context.”

Frequently asked questions

Give Claude persistent memory across sessions. Single SQLite file. 29 tools. Zero LLM dependency. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.