A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.
create_entities
entities (array of objects)
name (string): Entity identifierentityType (string): Type classificationobservations (string[]): Associated observationscreate_relations
relations (array of objects)
from (string): Source entity nameto (string): Target entity namerelationType (string): Relationship type in active voiceadd_observations
observations (array of objects)
entityName (string): Target entitycontents (string[]): New observations to adddelete_entities
entityNames (string[])delete_observations
deletions (array of objects)
entityName (string): Target entityobservations (string[]): Observations to removedelete_relations
relations (array of objects)
from (string): Source entity nameto (string): Target entity namerelationType (string): Relationship typeread_graph
search_nodes
query (string)open_nodes
names (string[]){
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}