LABSCO SUMMARY
Start on a local file, move to Turso by changing a URL.
The migration story is the reason to pick this over a file-only memory server: the schema and the vector search are the same whether the database is on your laptop or hosted, so a personal memory store can become a shared one without a rewrite. If you run it under WSL, use Linux-style paths for the database file — the README calls that out specifically.
What it is
A memory server implementing the standard MCP memory interface on top of libSQL. Entities carry embeddings, so retrieval can be similarity-based rather than exact-match, and the same server runs against a file on disk or a remote libSQL database.
What you get
- Entities created and updated with embeddings, deleted when they are no longer wanted, and searched by similarity
- Relations created between entities, deleted, and queried to find what an entity connects to
- Vector search runs on libSQL's own vector operations rather than a separate index service
- One environment variable switches between a local SQLite file and a remote libSQL database — the same server, the same data model
- Remote databases authenticate with a token rather than an open connection
Requirements
The npm package mcp-memory-libsql, version 0.0.14, run over npx. LIBSQL_URL selects the store: a file: URL for local SQLite, or a libsql:// URL for a remote database such as Turso, in which case LIBSQL_AUTH_TOKEN is also required. With nothing set it falls back to file:/memory-tool.db in the current directory.
Setup effort
One command — npx -y mcp-memory-libsql
USE CASES
01
Keeping context between sessions
Entities and their observations persist in a database file rather than the client's history.
02
Finding something you half-remember
Similarity search returns near matches instead of requiring the exact wording.
03
Sharing memory across machines
Point LIBSQL_URL at a hosted libSQL database with an auth token and the store follows you.
BEFORE YOU INSTALL
What to know first
Requires
npx on PATH
Where it runs
Both documented clients run the server on your machine.
INSTALLATION
Connect your client
Server setup
TERMINAL
npx -y mcp-memory-libsqlMCP Clients
Cline
CLINE · JSON
{
"mcpServers": {
"mcp-memory-libsql": {
"command": "npx",
"args": [
"-y",
"mcp-memory-libsql"
],
"env": {
"LIBSQL_URL": "file:<YOUR_PATH_TO_DATABASE>"
}
}
}
}Claude Desktop — WSL
CLAUDE DESKTOP — WSL · JSON
{
"mcpServers": {
"mcp-memory-libsql": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"source ~/.nvm/nvm.sh && LIBSQL_URL=file:<YOUR_PATH_TO_DATABASE> /home/<YOUR_USERNAME>/.nvm/versions/node/v20.12.1/bin/npx mcp-memory-libsql"
]
}
}
}