lean-memory for Cursor
io.github.wuesteon/lean-memory
Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
client:Cursor
transport:stdio
runtime:pypi
Install lean-memory in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"lean-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"lean-memory"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs