mcpbeat Sign in

Code Memory MCP Server

local only

Code Memory runs on your own machine — the client starts it, so there is no endpoint to ping. 264 installs a week from pypi. Last commit 20 May 2026.

Local semantic code search with Git history. Works offline, no API key needed.

Installs per day peak 245 · avg 56 · -30% w/w
a month agotoday
264
Installs / week
pypi · code-memory
49
Stars
3 open issues
20 May 2026
Last commit
0 releases in 90 days
MIT
License
Python

Nothing serious here today

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.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add code-memory -- uvx code-memory
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-memory": {
      "args": [
        "code-memory"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.code-memory]
command = "uvx"
args = ["code-memory"]
.cursor/mcp.json
{
  "mcpServers": {
    "code-memory": {
      "args": [
        "code-memory"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "code-memory": {
      "args": [
        "code-memory"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: CODE_MEMORY_LOG_LEVEL (Logging verbosity (DEBUG, INFO, WARNING, ERROR)), EMBEDDING_MODEL (HuggingFace model ID for embeddings). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Code Memory

same job, measured the same way
Vectr
by swapnanil

Semantic codebase search + persistent working memory for AI code editors. Local, no API key.

541 installs/wk local only
MCP Local RAG
by damoqiongqiu

Semantic code & doc search with keyword boost. AST code nav, auto HF mirror, local, privacy-first.

105 installs/wk local only
Longhand
by wynelson94

Local memory for Claude Code. Semantic recall across session history with zero API calls.

244 installs/wk local only
Vibe Hnindex
by andyanh174

Index source code into a local knowledge base, search with keyword + semantic + hybrid modes.

95 installs/wk local only
Filesift
by roshunsunder

Local file search for AI agents — semantic + keyword indexing over your codebase.

50 installs/wk local only
Cortex
by danielblomma

Local repo context for coding assistants with semantic search and graph relationships.

363 installs/wk local only
Octocode
by muvon

AI-powered code indexer with semantic search and knowledge graphs

467 installs/wk local only
semhood
by ahmeedgamil

AST-based semantic code search; results ship with their call graph (calls + callers).

47 installs/wk local only

Code Memory — questions

Answers built from our own checks of this server.

Why is there no uptime for Code Memory?
Code Memory runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package code-memory was installed 264 times last week.
How do I connect Code Memory?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls code-memory straight from pypi; nothing to host, nothing to sign up for.
How many people use Code Memory?
The pypi package code-memory was installed 264 times in the last week. Week over week that is -30%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Code Memory open source?
Yes — it is published under the MIT licence, written in Python, 49 stars on GitHub and 3 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.