MCP Directory

codebase-memory-mcp vs Token Optimizer MCP

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 Optimizer MCP

Cut Claude Code context usage 60-90% via caching, Brotli compression, and smart tool replacements.

Unverified
stdio (local)
No auth
TypeScript
CategoryDeveloper ToolsDeveloper Tools
LanguageCTypeScript
Transportstdio (local)stdio (local)
AuthNoneNone
GitHub stars16k409
Last commit1 month ago1 month ago
Verified
Actively maintained
Installcurl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashnpm install -g @ooples/token-optimizer-mcp
RepoOpen Open

Verdict

Pick codebase-memory-mcp if you prefer the more popular, battle-tested option.

Pick Token Optimizer MCP if you need the broadest set of tools.

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 Optimizer MCP

Install / run
npm install -g @ooples/token-optimizer-mcp

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

{
  "mcpServers": {
    "token-optimizer-mcp": {
      "command": "node",
      "args": [
        "$NPM_PREFIX/lib/node_modules/@ooples/token-optimizer-mcp/dist/server/index.js"
      ]
    }
  }
}

FAQ

codebase-memory-mcp or Token Optimizer MCP — which is better?

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

Can I use both codebase-memory-mcp and Token Optimizer MCP?

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 Optimizer MCP work with Claude, Cursor and Windsurf?

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