What is the lean-memory MCP server?
Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
How to install lean-memory
Copy-paste configuration for popular MCP clients.
LM_DATA_ROOTDirectory for per-namespace SQLite memory files. Defaults to ~/.lean_memory when unset.
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory",
"--from",
"lean-memory[mcp,models,extract]",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<YOUR_LM_DATA_ROOT>"
}
}
}
}{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory",
"--from",
"lean-memory[mcp,models,extract]",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<YOUR_LM_DATA_ROOT>"
}
}
}
}{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory",
"--from",
"lean-memory[mcp,models,extract]",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<YOUR_LM_DATA_ROOT>"
}
}
}
}{
"servers": {
"lean-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"lean-memory",
"--from",
"lean-memory[mcp,models,extract]",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<YOUR_LM_DATA_ROOT>"
}
}
}
}claude mcp add lean-memory --env LM_DATA_ROOT=<YOUR_LM_DATA_ROOT> -- uvx lean-memory --from lean-memory[mcp,models,extract] lean-memory-mcpRelated MCP servers
Control a real Chrome browser to complete any task: fill forms, extract data, book flights.
World Monitor
Live global intelligence: real-time markets, conflicts, country risk, chokepoints, energy. 39 tools.
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Trending hip-hop artist momentum scores across four cultural dimensions.
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Scrapling MCP Server
Give your AI agent stealth web scraping with Cloudflare bypass and CSS selection, powered by Scrapling.