Codebase Memory MCP ships as a single static binary with zero runtime dependencies — no Docker, no Node.js runtime, no Python interpreter, no API keys. Every release is checksummed, signed, and scanned by 70+ antivirus engines before publication. Pick the installation method that fits your workflow: the one-line installer handles everything automatically, or choose a package manager you already use.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/DeusData/codebase-memory-mcp/llms.txt
Use this file to discover all available pages before exploring further.
Platform Binaries
Every release publishes pre-built, statically-linked binaries for all supported platforms, available from the GitHub Releases page. Achecksums.txt file with SHA-256 hashes is included in every release.
| Platform | Standard | With Graph UI |
|---|---|---|
| macOS (Apple Silicon) | codebase-memory-mcp-darwin-arm64.tar.gz | codebase-memory-mcp-ui-darwin-arm64.tar.gz |
| macOS (Intel) | codebase-memory-mcp-darwin-amd64.tar.gz | codebase-memory-mcp-ui-darwin-amd64.tar.gz |
| Linux (x86_64) | codebase-memory-mcp-linux-amd64.tar.gz | codebase-memory-mcp-ui-linux-amd64.tar.gz |
| Linux (ARM64) | codebase-memory-mcp-linux-arm64.tar.gz | codebase-memory-mcp-ui-linux-arm64.tar.gz |
| Windows (x86_64) | codebase-memory-mcp-windows-amd64.zip | codebase-memory-mcp-ui-windows-amd64.zip |
The Linux release also ships a
-portable build (e.g. codebase-memory-mcp-linux-amd64-portable.tar.gz) that is fully statically linked and works on older distributions such as Debian 11, RHEL 8, and Ubuntu 20.04 where the standard binary’s glibc 2.38+ requirement is not met. The installer script selects the portable build automatically on Linux.Quick Install
- macOS / Linux
- Windows (PowerShell)
The installer downloads the correct binary for your OS and architecture, verifies the SHA-256 checksum, installs to With graph visualization UI (serves at Custom install directory:Binary only (skip agent configuration):If
~/.local/bin, and automatically configures all detected coding agents.Standard install:http://localhost:9749):~/.local/bin is not in your PATH, the installer will print the exact line to add to your shell config:Installer Options
| Flag | Description |
|---|---|
--ui | Install the UI variant, which includes the built-in 3D graph visualization server at http://localhost:9749. |
--skip-config | Download and install the binary only; skip automatic agent configuration. |
--dir=<path> | Install to a custom directory instead of the default (~/.local/bin on macOS/Linux, %LOCALAPPDATA%\Programs\codebase-memory-mcp on Windows). |
Package Managers
Homebrew (macOS / Linux)
AUR (Arch Linux)
npm
Run directly with
npx, or install globally:PyPI
Install with
pip or pipx, or run directly with uvx:Scoop (Windows)
Winget (Windows)
Chocolatey (Windows)
go install
Build from Source
Building from source requires a C compiler, a C++ compiler, zlib, and Git. All tree-sitter grammars and other dependencies are vendored in the repository.Prerequisites
| Requirement | Check | Install |
|---|---|---|
| C compiler (gcc or clang) | gcc --version or clang --version | macOS: xcode-select --install · Linux: apt install build-essential |
| C++ compiler | g++ --version or clang++ --version | Same as above |
| zlib | — | macOS: included · Linux: apt install zlib1g-dev |
| Git | git --version | Pre-installed on most systems |
Build commands
./build/c/codebase-memory-mcp install to configure your agents.
Manual MCP Configuration
If you used--skip-config or prefer to manage your agent configuration manually, add the following to your agent’s MCP configuration file.
For Claude Code — add to ~/.claude/.mcp.json (global) or .mcp.json in your project root:
/path/to/codebase-memory-mcp with the absolute path to the installed binary (e.g. /home/yourname/.local/bin/codebase-memory-mcp).
Restart your agent after saving the file. In Claude Code, run /mcp to verify — you should see codebase-memory-mcp listed with 14 tools.
For other agents (Codex CLI, Gemini CLI, Zed, VS Code, OpenCode, KiloCode, Aider, Antigravity, OpenClaw, Kiro), run
codebase-memory-mcp install to let the tool write the correct config format for each agent automatically.Install via Claude Code
You can ask Claude Code to install the server directly using natural language:Update
Uninstall
~/.cache/codebase-memory-mcp/ are not removed — delete them manually if you want a complete clean: