Home › Knowledge & Memory › lean-memory
lean-memory
Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
Topics: Knowledge & Memory
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (pypi 0.3.0)
uvx lean-memory
Or add to your MCP client config:
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory"
]
}
}
}
LM_DATA_ROOT— Directory for per-namespace SQLite memory files. Defaults to ~/.lean_memory when unset.
This server takes extra arguments — see its repository.
Related servers
modelcontextprotocol/servers
Direct local file system access.
Context7
Up-to-date docs for AI agents
hindsight
Hindsight: long-term memory for AI agents modeled on human memory.
cognee
Memory manager for AI apps and agents using graph and vector stores, with ingestion from many data sources.
Skill_Seekers
Turn docs, GitHub repos, PDFs, videos, Confluence, Notion and Slack/Discord into AI skills and RAG knowledge, exportable to vector…
basic-memory
Local-first knowledge management with bi-directional LLM sync via Markdown files.
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry