Shared memory for coding agents: projects, reusable code, sessions and commits across machines
registry version 0.1.0
Python
uvx codemem-mcpPython
uvx codemem-mcp@0.1.0
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp"
]
}
}
}{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp@0.1.0"
]
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add codemem -- uvx codemem-mcp
claude mcp add codemem -- uvx codemem-mcp@0.1.0
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp"
]
}
}
}{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp@0.1.0"
]
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp"
]
}
}
}{
"servers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp@0.1.0"
]
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp"
]
}
}
}{
"mcpServers": {
"codemem": {
"command": "uvx",
"args": [
"codemem-mcp@0.1.0"
]
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
CODEMEM_DATA — Directory for the database and backupsCODEMEM_DB — Path to the SQLite database (overrides CODEMEM_DATA)CODEMEM_HOST — Address to bind. The server has no authentication; use 127.0.0.1 unless the network is trustedCODEMEM_PORT — Port for MCP (/mcp) and the web UI. The transport URL assumes 8055OLLAMA_URL — Ollama base URL for embeddings (semantic search). Without it, search is BM25 onlyCODEMEM_EMBED — Set to false to disable embeddings entirelyGIT_ROOT — Directory of bare git repos to read for the commit feed⭐ 2 stars · 最近更新于 37 天前 · Apache-2.0 license
Distributed as Python, listed under Developer Tools. Review our MCP security guide before granting access to real data.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/jeang42/codemem. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/codemem/)
HTML
<a href="https://mcpnav.net/server/codemem/"><img src="https://mcpnav.net/badge/codemem.svg" alt="Listed on MCPNav" height="20"></a>