code-memory
local MCP serverInstallation
Terminal
claude mcp add code-memory -e CODE_MEMORY_LOG_LEVEL=... -e EMBEDDING_MODEL=... -- uvx code-memory
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"code-memory": {
"command": "uvx",
"args": [
"code-memory"
],
"env": {
"CODE_MEMORY_LOG_LEVEL": "...",
"EMBEDDING_MODEL": "..."
}
}
}
}Fill in the environment variables with your own credentials.
Summary
Local semantic code search with Git history. Works offline, no API key needed.
Questions
code-memory is a local MCP server distributed as the pypi package code-memory.
Run: claude mcp add code-memory -e CODE_MEMORY_LOG_LEVEL=... -e EMBEDDING_MODEL=... -- uvx code-memory
Run: codex mcp add code-memory --env CODE_MEMORY_LOG_LEVEL=... --env EMBEDDING_MODEL=... -- uvx code-memory
Similar MCP servers
NameStars
- socraticodeio.github.giancarloerra/socraticode3,322
- arxiv-mcp-serverio.github.blazickjp/arxiv-mcp-server3,177
- braveai.smithery/brave1,477
- SoloMDio.github.zhitongblog/solomd1,130
- mcp-documentation-serverio.github.andrea9293/mcp-documentation-server342
- doc-scraperio.github.Sriram-PR/doc-scraper101
- webfetchio.github.firish/webfetch57
- smart-connections-mcpio.github.msdanyg/smart-connections-mcp56