CodeMemoryPrime v0.1.0 Released — 100% Local Rust MCP Server

The Blazing-Fast Rust Engine for Codebase Intelligence & Memory

Sub-200ms AST codebase RAG, parent-child context inheritance, and persistent memory consolidation for Claude Desktop, Cursor, Windsurf, & Gemini CLI.

Get Started on GitHub
⚡ <190ms Re-Indexing Speed
🔒 100% Local Zero Cloud Data Telemetry
🛠️ 31 Tools Integrated Dev Suite

See CMP in Action

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"

Engineered for Speed, Context, & Privacy

Built from the ground up in Rust to overcome the limitations of traditional file-by-file RAG engines.

Sub-200ms SHA-256 Re-Indexing

Sub-chunk SHA-256 hashing detects untouched function blocks, reusing existing vector embeddings from SQLite for ultra-fast 192ms updates.

🌳

AST Parent-Child RAG

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.

🔒

100% Local Privacy

Runs entirely on your machine via local Ollama or LM Studio endpoints. No code snippets or queries ever leave your local network.

🛠️

31 Integrated MCP Tools

Includes AST indexing, memory consolidation, file patching (`patch_file`), safe command execution, unified `git` CLI, refactoring, and health checks.

🤖

Multi-Agent MCP Standard

Connects seamlessly to Claude Desktop, Cursor, Windsurf, Gemini CLI, & Google Antigravity via official MCP protocol specifications.

🛡️

BSL 1.1 Commercial Moat

Free for solo developers, open source, and small teams (≤ 3 devs / < $100k revenue). Offline Ed25519 cryptographic seat verification for enterprise teams.

One Config. Works Everywhere.

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"
      }
    }
  }
}

Fair Licensing. Free for Solo Devs.

CodeMemoryPrime is licensed under the Business Source License 1.1 (BSL 1.1).

Solo & Small Team Tier

$0 / forever

Free for personal, hobby, open source, and small team development.

  • ✅ Full 31 MCP Tool Suite
  • ✅ AST Parent-Child Context RAG
  • ✅ Sub-200ms Sub-Chunk Hashing
  • ✅ 100% Local Privacy (Ollama / LM Studio)
  • ✅ Teams ≤ 3 Developers & < $100k Revenue
  • ✅ Converts to Apache 2.0 after 3 Years
Download Free

🏢 Commercial License Key Calculator

Calculate your team license quote or request an Ed25519 offline commercial key string.

Total Estimated Investment: $1,440 / year
Snippet Copied to Clipboard!