Durmem
Shared memory and Kanban for coordinating coding agents. Install the CLI and run durmem setup.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"durmem": {
"url": "https://durmem.ai/api/mcp"
}
}
}Remote endpoints
https://durmem.ai/api/mcpstreamable-httpWhat it can do
Tool inventory
Tools (6)
🟢whoami
Show which Durmem store the presented key opens, with its name and domain when available. Use only to confirm which store a key belongs to; to learn what a store holds call loom_describe_store, and to read facts call loom_query or loom_read_probe_bundle. Takes no arguments.
Input Schema
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢loom_describe_store
Describe the Durmem store this key opens: what it holds, plus the server version and storage capacity when available. Use to learn what the store contains before querying; to read specific facts use loom_query or loom_read_probe_bundle. Takes no arguments.
Input Schema
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}🟢loom_query(namespace, rule_name, args, when, include_history)
Run one named read-only Durmem rule and return its rows. Use for a structured read when you know the rule and its argument order, such as rule_name facts_by_groups on namespace default_root; for a natural-language question use loom_read_probe_bundle, and to learn what a store holds use loom_describe_store. Only allow-listed root-tier read rules run; write, admin, and user-tier rules are refused.
Input Schema
{
"type": "object",
"properties": {
"namespace": {
"type": "string",
"description": "Rule tier: default_root, the store's read-only root rule set. default_user is not callable through this hosted endpoint."
},
"rule_name": {
"type": "string",
"description": "Allow-listed read rule to run: facts_by_groups, current_facts_by_groups, facts_in_scope, scope_chain, fact_history, text_search, field_search, list_rules, list_types, list_nodes, edge_targets, subtree_count, ancestor_types, or compose_prompt."
},
"args": {
"type": "array",
"description": "The rule's own arguments, in its documented order; the server adds the store and date. At most 16 items and 16 KB of JSON."
},
"when": {
"type": "string",
"description": "Point-in-time cutoff as ISO date YYYY-MM-DD; omit for today."
},
"include_history": {
"type": "boolean",
"description": "False, the default, drops rows that are not current from multi-row results that mark current_status; true returns every row the rule produced."
}
},
"required": [
"namespace",
"rule_name"
],
"additionalProperties": false
}🟢loom_read_probe_bundle(query_text, label_queries, label_exprs, mode, top_k_sources, ...)
Retrieve the most relevant Durmem facts, ranked and bounded, for a question or label query. Use for open natural-language questions and current-state answers; to run one specific read rule use loom_query, and to learn what a store holds use loom_describe_store. Requires at least one of query_text, label_queries, or label_exprs.
Input Schema
{
"type": "object",
"properties": {
"query_text": {
"type": "string",
"description": "Natural-language question or topic to embed and match, at most 8000 bytes."
},
"label_queries": {
"type": "array",
"description": "Up to 32 entries of [[relation, target], \"inquiry text\"] ranking each label pair by its own inquiry."
},
"label_exprs": {
"type": "array",
"description": "Up to 32 [relation, target] pairs selecting facts by label, e.g. [[\"SubTypeOf()\", \"Directive\"]]."
},
"mode": {
"type": "string",
"description": "Label combination: \"or\", the default, matches any pair; \"and\" requires all."
},
"top_k_sources": {
"type": "integer",
"description": "How many best-matching facts each requested label pair, and the question as a whole, contributes (up to this many current and this many stale), integer 1-20; default 5."
},
"max_facts": {
"type": "integer",
"description": "Cap on facts in each section (current_facts, and stale_context when requested), integer 1-50; default 16. The best fact for each requested label pair is kept even beyond the cap, so a section can be longer."
},
"include_stale": {
"type": "boolean",
"description": "True to also return stale_context: retracted, disputed or superseded facts. False, the default, omits it and metadata.stale_omitted says whether any existed."
},
"when": {
"type": "string",
"description": "Point-in-time cutoff as ISO date YYYY-MM-DD; omit for today."
},
"since": {
"type": "string",
"description": "Earliest event date to include, inclusive, as ISO YYYY-MM-DD; a fact with no event_time uses its known_from. Omit for no start."
},
"until": {
"type": "string",
"description": "Latest event date to include, inclusive, as ISO YYYY-MM-DD; a fact with no event_time uses its known_from. Omit for no end."
}
},
"required": [],
"additionalProperties": false
}🟡loom_save(content, entity, known_from, edges, source_text)
Save one fact to the store: a typed entity expression, its content, and optional [relation, target] edges. Use to write new memory; to read memory use loom_query or loom_read_probe_bundle. Returns a fact_id: the new fact's, or the existing live fact's when the same entity is saved again.
Input Schema
{
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "Fact body as plain text or a JSON string, non-empty and at most 24000 bytes."
},
"entity": {
"type": "string",
"description": "One Julia constructor expression giving the fact's type and identity, such as Directive(\"Never deploy on Friday\"), at most 2000 bytes; reserved system types are refused."
},
"known_from": {
"type": "string",
"description": "Belief date as ISO YYYY-MM-DD; omit to default to today."
},
"edges": {
"type": "array",
"description": "At most 64 [relation, target] string pairs, each string 1-500 characters, e.g. [[\"Has()\", \"Importance(\\\"normal\\\")\"]].",
"items": {
"type": "array",
"items": {
"type": "string"
}
}
},
"source_text": {
"type": "string",
"description": "Optional verbatim source utterance the fact was derived from, at most 24000 bytes."
}
},
"required": [
"content",
"entity"
],
"additionalProperties": false
}🟢loom_nearest_types(text, k)
Find the existing Durmem entity types most similar to a text, so you reuse one instead of minting a near-duplicate. Use before declaring a new type; to read facts use loom_query. Returns type names with neighbor counts and maximum similarity.
Input Schema
{
"type": "object",
"properties": {
"text": {
"type": "string",
"description": "Text describing the fact or concept you are about to save, at most 8000 bytes."
},
"k": {
"type": "integer",
"description": "How many nearest facts to count types over, integer 1-100; default 30."
}
},
"required": [
"text"
],
"additionalProperties": false
}Community
Evidence