Code Memory
UnclaimedMCP server with local vector search for your codebase. Smart indexing, semantic search, Git history — all offline.
Set up this server
01 / Choose your client
02 / Before you connect
Authentication is not specified. Check the project instructions before connecting.
Project instructions03 / Add the configuration
claude mcp add --transport stdio 'code-memory' -- 'uvx' 'code-memory'04 / Check it in your client
Open your client’s MCP settings and confirm the server connects and lists its tools. A copied configuration does not confirm a working connection.
More in Databases
Browse the full directoryUnclaimed listing
Is this your MCP server?
This listing was auto-indexed from the public record. Claim it to edit the page, set compatibility and unlock growth tools. Takes under two minutes.
Claim this serverSecurity profile
Claimed and verified servers get a weekly static scan that shows what the code can reach: external services, environment variables, shell commands, agent configuration folders, plus any dependencies with known advisories. Claim this listing to get one. How the security profile works
Documented tools (4)
From project documentation. A server handshake does not verify each tool’s description or behavior.
index_codebase
Indexes or re-indexes source files and documentation in the given directory. Run this before using searchcode or searchdocs to ensure the database is up to date. Uses tree-sitter for language-agnostic structural extraction and generates dense vector embeddings using sentence-transformers (runs local
search_code
Perform semantic search and find structural code definitions, locate where functions/classes are defined, or map out dependency references (call graphs). Uses hybrid retrieval (BM25 + vector embeddings) to find exact matches and semantic similarities.
search_docs
Understand the codebase conceptually — how things work, architectural patterns, SOPs. Searches markdown documentation, READMEs, and docstrings extracted from code.
search_history
Debug regressions and understand developer intent through Git history.
Tool change history
FAQ
Questions about Code Memory MCP Server
- How do I connect Code Memory MCP Server to Claude?
- Run `claude mcp add code-memory -- uvx code-memory` in Claude Code, or add the same command and arguments under mcpServers in Cursor's mcp.json or Claude Desktop's claude_desktop_config.json, then restart the client. The blocks above are ready to paste.
- Is Code Memory MCP Server free?
- The listed licence is MIT. Check the upstream terms for permitted use and commercial requirements; a public repository does not by itself mean the software is free or open source. Connected APIs and hosted services may have separate charges.
- What can Code Memory MCP Server do?
- Code Memory MCP Server documents 4 tools to the agent, including index_codebase, search_code, search_docs. The descriptions above come from project documentation. A live handshake does not test individual tool behavior.