codebase-memory-mcp is a code intelligence engine that efficiently indexes code repositories and answers structural queries. It supports 66 programming languages and operates as a single static binary across multiple platforms.
From the registry: Persistent codebase knowledge graph. Survives session restarts and context compaction.

$ curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bashhttps://github.com/DeusData/codebase-memory-mcp/releases/latestPlease install the `codebase-memory-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install codebase-memory-mcp binary** — Run the one-line installer to download and install the static binary. Auto-configures detected coding agents. Run: `curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash` (https://github.com/DeusData/codebase-memory-mcp/releases/latest)
Canonical MCP server config (stdio transport):
- command: `codebase-memory-mcp`
- args: []
- optional environment variables:
- `CBM_CACHE_DIR`: Override database storage directory. (example: `~/.cache/codebase-memory-mcp`)
- `CBM_DIAGNOSTICS`: Set to '1' or 'true' for periodic diagnostics output. (example: `false`)
- `CBM_DOWNLOAD_URL`: Override download URL for updates (self-hosted). (example: `https://example.com/cbm-releases`)
Note: Static binary, no runtime dependencies. The installer auto-detects 10+ agents and configures MCP entries for each.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.AI Agents Framework with Self Reflection and MCP support