Local-first memory for coding agents. Stores scoped memories and an entity graph in SQLite, then recalls with local embeddings + Personalized PageRank (HippoRAG 2-style). Single Rust binary, MCP over stdio for Claude Code, Codex, OpenCode and pi.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add graphmem -- npx -y @sonic182/graphmem~/.codex/config.toml
[mcp_servers.graphmem]
command = "npx"
args = ["-y", "@sonic182/graphmem"]
# codex mcp add graphmem -- npx -y @sonic182/graphmem~/.cursor/mcp.json
{
"mcpServers": {
"graphmem": {
"command": "npx",
"args": [
"-y",
"@sonic182/graphmem"
]
}
}
}.vscode/mcp.json
{
"servers": {
"graphmem": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sonic182/graphmem"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"graphmem": {
"command": "npx",
"args": [
"-y",
"@sonic182/graphmem"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"graphmem": {
"command": "npx",
"args": [
"-y",
"@sonic182/graphmem"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"graphmem": {
"command": "npx",
"args": [
"-y",
"@sonic182/graphmem"
]
}
}
}