Gives Claude a persistent memory layer that survives across sessions using a weighted graph of knowledge nodes. Each node has a title, summary, tags, and connections to related concepts. Weights increase when nodes get accessed, decrease over time if unused, and eventually archive. The server exposes tools like amg_load_index for session startup, amg_expand_branch to pull full node content on demand, amg_get_connected_nodes for traversing relationships, and amg_log_session to record what was useful. Everything stores encrypted on disk with AES-256-GCM. Reach for this if you want Claude to remember project details, preferences, or domain knowledge between conversations without manual context pasting.
An MCP server plugin that gives Claude persistent, intelligent memory across sessions. It stores knowledge as weighted, interconnected nodes in a graph that evolves through conversation — nodes that get used gain weight, unused ones decay and eventually archive.
Works with Claude Code and Claude Desktop.
pip install adaptive-memory-graph
Or with uv:
uv pip install adaptive-memory-graph
claude mcp add adaptive-memory-graph -s user -- amg-server
Add to your claude_desktop_config.json:
{
"mcpServers": {
"adaptive-memory-graph": {
"command": "amg-server"
}
}
}
Config file location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json| Tool | Description |
|---|---|
amg_load_index | Load lightweight graph index at session start |
amg_expand_branch | Fetch full node content when contextually relevant |
amg_get_connected_nodes | Find related nodes across domains |
amg_log_session | Log session summary at conversation end |
amg_update_graph | Process pending logs and apply weight decay |
amg_export_report | Generate human-readable graph summary |
amg_manual_adjust | Boost, decay, archive, or delete nodes |
amg_add_node | Add new nodes to the graph |
amg_search_nodes | Search nodes by title, summary, tags, or content |
amg_list_chat_sessions | List available Claude Code chat sessions for review |
amg_read_chat_session | Read a chat session's conversation content |
amg_load_index to get a lightweight summary of your memory graphNodes are stored as encrypted JSON on disk (~/.amg/graph.json.enc). The encryption key is stored in your macOS Keychain.
MIT
io.github.ericm1018/skillfm-llm-cost-optimizer-openai-anthropic-usage
io.github.mikerawsonnz/llm-orchestration-agent
io.github.mikerawsonnz/authenticated-llm-agent
labforgedev/copilot-memory-mcp
csoai-org/agent-prompt-injection-firewall-mcp
io.github.mikerawsonnz/authenticated-multi-llm-agent