Embedded local agent memory stored in one SQLite file per namespace, with hybrid retrieval and queryable history.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add lean-memory -- uvx lean-memory lean-memory-mcp~/.codex/config.toml
[mcp_servers.lean-memory]
command = "uvx"
args = ["lean-memory", "lean-memory-mcp"]
# codex mcp add lean-memory -- uvx lean-memory lean-memory-mcp~/.cursor/mcp.json
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory",
"lean-memory-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"lean-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"lean-memory",
"lean-memory-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory",
"lean-memory-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory",
"lean-memory-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory",
"lean-memory-mcp"
]
}
}
}