lean-memory for Grok
io.github.wuesteon/lean-memory
Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
client:Grok
transport:stdio
runtime:pypi
Install lean-memory in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"lean-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"lean-memory"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs