MCP Directory

codebase-memory-mcp vs Token Savior

A side-by-side comparison of two Developer Tools servers — tools, transport, auth, maintenance, and copy-paste config for each.

 codebase-memory-mcp

Code intelligence engine that indexes repos into a persistent knowledge graph for AI coding agents.

Unverified
stdio (local)
No auth
C
Token Savior

Structural code navigation, persistent memory, and Bash output compaction for AI coding agents.

Unverified
stdio (local)
No auth
Python
CategoryDeveloper ToolsDeveloper Tools
LanguageCPython
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars16k993
Last commit1 month ago2 months ago
Verified
Actively maintained
Installcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashpip install "token-savior-recall[mcp]"
RepoOpen Open

Verdict

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option, and you need the broadest set of tools.

Pick Token Savior if you prefer its approach (structural code navigation, persistent memory, and bash output compaction for ai coding agents).

Add codebase-memory-mcp

Install / run
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "codebase-memory-mcp": {
      "command": "/path/to/codebase-memory-mcp",
      "args": []
    }
  }
}

Add Token Savior

Install / run
pip install "token-savior-recall[mcp]"

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "token-savior": {
      "command": "/path/to/venv/bin/token-savior",
      "args": [],
      "env": {
        "WORKSPACE_ROOTS": "/path/to/project1,/path/to/project2",
        "TOKEN_SAVIOR_CLIENT": "claude-code",
        "TOKEN_SAVIOR_PROFILE": "optimized"
      }
    }
  }
}

FAQ

codebase-memory-mcp or Token Savior — which is better?

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option, and you need the broadest set of tools. Pick Token Savior if you prefer its approach (structural code navigation, persistent memory, and bash output compaction for ai coding agents).

Can I use both codebase-memory-mcp and Token Savior?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do codebase-memory-mcp and Token Savior work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.