token-savior
local MCP servertoken-savior is a local MCP server: Structural codebase MCP server with persistent memory: navigate by symbol, recall across sessions. Install it from pypi as token-savior-recall.
Installation
Terminal
claude mcp add token-savior -e WORKSPACE_ROOTS=... -e TOKEN_SAVIOR_CLIENT=... -e TOKEN_SAVIOR_PROFILE=... -- uvx token-savior-recall
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": {
"token-savior": {
"command": "uvx",
"args": [
"token-savior-recall"
],
"env": {
"WORKSPACE_ROOTS": "...",
"TOKEN_SAVIOR_CLIENT": "...",
"TOKEN_SAVIOR_PROFILE": "..."
}
}
}
}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:
WORKSPACE_ROOTS,TOKEN_SAVIOR_CLIENT,TOKEN_SAVIOR_PROFILE
Summary
Structural codebase MCP server with persistent memory: navigate by symbol, recall across sessions.
token-savior vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| token-savior | 1,157 | Local | Yes | pypi |
| Engram | 12 | Hosted | No | None |
| cognitive-ai-memory | 270 | Local | Yes | oci |
| YourMemory | 270 | Local | Yes | pypi |
| neural-memory | 240 | Local | No | npm |
Questions
It reads 3 environment variables: WORKSPACE_ROOTS, TOKEN_SAVIOR_CLIENT, TOKEN_SAVIOR_PROFILE. 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.
token-savior is a local MCP server distributed as the pypi package token-savior-recall.
Run: claude mcp add token-savior -e WORKSPACE_ROOTS=... -e TOKEN_SAVIOR_CLIENT=... -e TOKEN_SAVIOR_PROFILE=... -- uvx token-savior-recall
Run: codex mcp add token-savior --env WORKSPACE_ROOTS=... --env TOKEN_SAVIOR_CLIENT=... --env TOKEN_SAVIOR_PROFILE=... -- uvx token-savior-recall
Similar MCP servers
NameStars
- Engramapp.getengram/engram12
- cognitive-ai-memoryio.github.sachitrafa/cognitive-ai-memory270
- YourMemoryio.github.sachitrafa/yourmemory270
- neural-memoryio.github.nhadaututtheky/neural-memory240
- DeepMemio.github.deepmemteam/deepmem114
- Total Agent Memoryio.github.vbcherepanov/total-agent-memory72
- Montycat MCP - Shared Memory for AI Agentsio.github.MontyGovernance/montycat-mcp65
- enquire-mcpio.github.oomkapwn/enquire-mcp33