add_observations
Add new observations to existing entities in the knowledge graph
Give the assistant a knowledge graph that outlives the conversation — entities, the relations between them, and observations attached to each.
LABSCO SUMMARY
Facts attach to entities and entities connect to each other, so a detail about a person or a project is stored once and found from either end rather than restated in every prompt. The delete tools are the part that matters over time: delete_observations removes one wrong statement without taking down the entity it was attached to, so the graph can be corrected rather than rebuilt.
A knowledge-graph memory backed by DuckDB: eight tools that create entities and relations, attach observations to entities, search and open nodes, and delete any of the three.
npx on your PATH. MEMORY_FILE_PATH is optional; set it to choose where the DuckDB database file is kept. No account, no key.
One command — npx -y @izumisy/mcp-duckdb-memory-server
USE CASES
Create the entities once, connect them with relations written in active voice, and attach what you learn as observations — so next week's session starts from the graph instead of from a re-explanation.
Search when you have a phrase and open when you have the exact names — the second is the cheaper path once the first has told you what the entity is called.
A single wrong statement is removed on its own, leaving the entity and everything else attached to it in place; deleting the entity itself takes its relations with it.
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
search_nodesSearch for nodes in the knowledge graph based on a query
BEFORE YOU INSTALL
8 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 8 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"mcp-duckdb-memory-server": {
"command": "npx",
"args": [
"-y",
"@izumisy/mcp-duckdb-memory-server"
]
}
}
}MEMORY_FILE_PATH is optional and sets where the DuckDB database file is kept. In the client configuration, add "env": {"MEMORY_FILE_PATH": "/path/to/your/memory.data"} to the entry; when running the npx command directly, set MEMORY_FILE_PATH in that shell's environment instead.
npx -y @izumisy/mcp-duckdb-memory-server