Sub-200ms AST codebase RAG, parent-child context inheritance, and persistent memory consolidation for Claude Desktop, Cursor, Windsurf, & Gemini CLI.
Experience how CodeMemoryPrime indexes code, searches dependencies, and consolidates architectural facts in milliseconds.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "index_workspace",
"arguments": {
"directory_path": "/Users/rickie/development/my-app",
"project_name": "my-app"
}
}
}
/* SERVER RESPONSE (Sub-Chunk SHA-256 Cache Hit) */
"Indexing complete for project 'my-app':
- Files indexed: 21
- Chunks stored: 62 (Sub-chunk cache reuse: 95%)
- Elapsed time: 0.192 seconds"
Built from the ground up in Rust to overcome the limitations of traditional file-by-file RAG engines.
Sub-chunk SHA-256 hashing detects untouched function blocks, reusing existing vector embeddings from SQLite for ultra-fast 192ms updates.
Tree-sitter AST parsing attaches top-level file imports and parent struct/class signatures to function snippets so LLMs never lose type or import context.
Runs entirely on your machine via local Ollama or LM Studio endpoints. No code snippets or queries ever leave your local network.
Includes AST indexing, memory consolidation, file patching (`patch_file`), safe command execution, unified `git` CLI, refactoring, and health checks.
Connects seamlessly to Claude Desktop, Cursor, Windsurf, Gemini CLI, & Google Antigravity via official MCP protocol specifications.
Free for solo developers, open source, and small teams (≤ 3 devs / < $100k revenue). Offline Ed25519 cryptographic seat verification for enterprise teams.
Copy the JSON-RPC configuration snippet for your AI coding assistant.
{
"mcpServers": {
"CodeMemoryPrime": {
"command": "/Users/rickieblevins/development/CodeMemoryPrime/target/release/cmp",
"args": [],
"env": {
"MCP_LLM_PROVIDER": "ollama",
"MCP_LLM_BASE_URL": "http://127.0.0.1:11434",
"MCP_LLM_GEN_MODEL": "qwen2.5-coder:7b",
"MCP_LLM_EMBED_MODEL": "nomic-embed-text"
}
}
}
}
CodeMemoryPrime is licensed under the Business Source License 1.1 (BSL 1.1).
Free for personal, hobby, open source, and small team development.
For organizations with > 3 developers or ≥ $100,000 annual revenue.
Calculate your team license quote or request an Ed25519 offline commercial key string.