Code Memory runs on your own machine — the client starts it, so there is no endpoint to ping. 216 installs a week from pypi. Last commit 20 May 2026.
Local semantic code search with Git history. Works offline, no API key needed.
Today is the operative word: we check Code Memory every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add code-memory -- uvx code-memory
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": [
"code-memory"
]
}
}
}
[mcp_servers.code-memory]
command = "uvx"
args = ["code-memory"]
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": [
"code-memory"
]
}
}
}
{
"servers": {
"code-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"code-memory"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
CODE_MEMORY_LOG_LEVEL (Logging verbosity (DEBUG, INFO, WARNING, ERROR)), EMBEDDING_MODEL (HuggingFace model ID for embeddings).
Semantic codebase search + persistent working memory for AI code editors. Local, no API key.
Semantic code & doc search with keyword boost. AST code nav, auto HF mirror, local, privacy-first.
Local memory for Claude Code. Semantic recall across session history with zero API calls.
Index source code into a local knowledge base, search with keyword + semantic + hybrid modes.
Semantic search over local folders of code and docs, with a code-search encoder running on your CPU.
Finds the Git commits that explain why code is the way it is: semantic and full-text history search.
Local file search for AI agents — semantic + keyword indexing over your codebase.
Local repo context for coding assistants with semantic search and graph relationships.
Answers built from our own checks of this server.