Search your codebase semantically using Git history and local embeddings—no API keys or internet required. Ideal for developers who need fast, offline code discovery across large repositories.
io.github.kapillamba4/code-memory
Local install
STDIO
No auth required
How models use it and what it is built for.
Search your codebase semantically using Git history and local embeddings—no API keys or internet required. Ideal for developers who need fast, offline code discovery across large repositories.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Logging verbosity (DEBUG, INFO, WARNING, ERROR)
HuggingFace model ID for embeddings
Where to find authoritative docs and source for Kapillamba4 Code Memory.
Paste any of these into Agent Studio after connecting Kapillamba4 Code Memory.
Common questions about connecting and running Kapillamba4 Code Memory.
Does code-memory require an API key or internet connection?
No. It runs entirely offline using local embeddings and Git history. You only need a HuggingFace model ID specified in the EMBEDDING_MODEL environment variable.
How do I configure the embedding model?
Set the EMBEDDING_MODEL environment variable to a HuggingFace model ID before running the server. This determines which model generates code embeddings for semantic search.
Can I adjust logging verbosity?
Yes, use the CODE_MEMORY_LOG_LEVEL environment variable and set it to DEBUG, INFO, WARNING, or ERROR depending on how much detail you need.
What Git history does code-memory search?
The server indexes your local Git repository, allowing you to search across commits and historical code changes. Exact depth and filtering depend on your repository configuration.
How do I install and run code-memory?
Install with `uvx code-memory@1.0.28`. It communicates via stdio, so connect it to your MCP client and configure EMBEDDING_MODEL before querying.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 40+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams