Install lean-memory in Claude Code
claude mcp add lean-memory -- uvx lean-memory{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory"
]
}
}
}Frequently asked questions
What does the lean-memory MCP server do?
Embedded local agent memory in one SQLite file per namespace: hybrid retrieval, append-only history queryable at any past time and human-reviewed maintenance.
Is the lean-memory MCP server free?
Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.
Does lean-memory run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add lean-memory to Claude Code?
Run: claude mcp add lean-memory -- uvx lean-memory
More knowledge, memory & rag MCP servers
View allINITE Brain
inite-ai/inite-brain-service
Long-term memory for AI agents: a bitemporal knowledge graph with cited answers.
Waggle
Abhigyan-Shekhar/Waggle-mcp
Persistent graph memory that extracts facts from conversations into typed nodes with local embeddings, supporting temporal queries and conflict detection.
Kage
kage-core/Kage
Git-native memory for coding agents: JSON entries in the repo, verified against cited code so hallucinated citations are rejected and stale memory is withheld.
ContextStream
contextstream/mcp-server
Persistent memory for AI coding tools with semantic code search, knowledge graphs, impact analysis and decision tracking.
Memex
STiFLeR7/memex
Watches git repos and builds a temporal knowledge graph of modules, symbols, decisions and open problems via Graphiti and Neo4j, served to AI coding agents.
Macuse
macuse-app/macuse-mcp
MCP server for Mac — control Calendar, Mail, Notes, Reminders, and any Mac app, fully on-device.