Skip to content
VS Code

Local Memory for VS Code

io.github.studiomeyer-io/local-memory-mcp

Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.

client:VS Code transport:stdio runtime:npm

Install Local Memory in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "memory-db-path",
      "description": "MEMORY_DB_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memory-embed-disabled",
      "description": "MEMORY_EMBED_DISABLED",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memory-embed-model",
      "description": "MEMORY_EMBED_MODEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "memory-embed-cache-dir",
      "description": "MEMORY_EMBED_CACHE_DIR",
      "password": true
    }
  ],
  "servers": {
    "local-memory-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@studiomeyer/local-memory-mcp"
      ],
      "env": {
        "MEMORY_DB_PATH": "${input:memory-db-path}",
        "MEMORY_EMBED_DISABLED": "${input:memory-embed-disabled}",
        "MEMORY_EMBED_MODEL": "${input:memory-embed-model}",
        "MEMORY_EMBED_CACHE_DIR": "${input:memory-embed-cache-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Local Memory in other clients