Multi-graph support: named, segregated memory graphs #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/claude-memory#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Support multiple isolated memory graphs from a single MCP server instance, each with its own directory and namespace.
Motivation
Currently cognitive memory is hardcoded to a single graph directory (
~/.claude/memory/). This creates problems when different use cases need isolated memory:Proposed Design
Named graphs via config
The MCP server accepts a graph configuration mapping names to directories:
Per-call graph selection
MCP operations (
memory_store,memory_recall,memory_search, etc.) accept an optionalgraphparameter:When
graphis omitted, thedefault_graphis used (backwards compatible).Directory structure
Each named graph gets a full, independent memory directory:
CORE.mdREFLECTION.mdgraph/(solutions, decisions, fixes, configurations, episodes)embeddings/Considerations
memory_searchoptionally search across all graphs? Could be useful for cross-pollination but adds complexity. Maybe agraph: "*"orgraph: "all"option.memory_graphstool to list configured graphs and their stats.Origin
This came out of planning a scheduled tasks system (systemd timers +
claude -p) as an alternative to Claude cowork's scheduled tasks on unsupported platforms. Memory persistence across scheduled runs is essential, but it needs to be isolated from the interactive session graph.