add_observations
Add new observations to existing entities in the knowledge graph
Keep what the model learns about you in a local knowledge graph, so the next chat starts where the last one ended.
The plugin Microsoft Agent Skills includes connection settings for this server.
LABSCO SUMMARY
Because facts are attached to named entities and joined by typed relations, a later question can be answered by walking the graph instead of re-reading everything. The deletes are the part people underestimate: an observation can be retracted on its own, so a fact that stops being true does not have to live forever next to the ones that still are.
Persistent memory stored as a local knowledge graph. Entities carry a name, a type and a list of observations; relations connect them in active voice.
No account and no key — storage is a JSONL file on your own disk. Published on npm as @modelcontextprotocol/server-memory and run through npx, or from the mcp/memory Docker image with a volume mounted. MEMORY_FILE_PATH points it at a file of your choosing; without it, memory.jsonl in the server directory is used.
One command — npx -y @modelcontextprotocol/server-memory
USE CASES
Create the entity once with its type, then add observations as they come up rather than restating them each session.
Search across names, types and observation text, then open the matching nodes to see how they connect.
Store the connection as a directed relation in active voice, so the graph answers 'who works where' without a full re-read.
Delete the single observation, or the relation, without touching the rest of what the entity holds.
Delete the entity and let its relations go with it, instead of leaving edges pointing at nothing.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
add_observationsAdd new observations to existing entities in the knowledge graph
create_entitiesCreate multiple new entities in the knowledge graph
create_relationsCreate multiple new relations between entities in the knowledge graph. Relations should be in active voice
delete_entitiesDelete multiple entities and their associated relations from the knowledge graph
delete_observationsDelete specific observations from entities in the knowledge graph
delete_relationsDelete multiple relations from the knowledge graph
open_nodesOpen specific nodes in the knowledge graph by their names
read_graphRead the entire knowledge graph
search_nodesSearch for nodes in the knowledge graph based on a query
BEFORE YOU INSTALL
9 tools when we connected.
npx on PATH
Both documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 9 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx -y @modelcontextprotocol/server-memory{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}{
"servers": {
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
}
}
}