LabscoMCP early access ↗
T1nker-1220MCP SERVER

Knowledge Graph Memory with Lessons

Keep an entity-and-relation graph that survives between sessions: add entities and observations, join them with relations in active voice, search it by query, and delete the single observation that went stale.

by T1nker-1220 ↗Agent MemoryCommunity

LABSCO SUMMARY

What an agent worked out last session is still there in the next one.

The model is deliberately small — entities carry observations, relations join entities in active voice, and everything else is a way in or out of that — which is what makes it predictable to write against. Deletion is the part worth noticing: delete_observations drops one fact without touching the entity holding it, so a long-lived graph gets corrected rather than rebuilt.

What it is

A persistent knowledge graph of entities, relations and observations, plus a lesson store that keeps an error together with the steps that fixed it.

What you get

  • Entities and relations created in batches, so a set of facts learned together goes in as one call
  • add_observations attaching new facts to entities that already exist, without rewriting the entity
  • Deletion at three levels: whole entities with their relations, individual observations, or specific relations
  • Lessons alongside the graph: an error saved with its solution (create_lesson), matched against a new error (find_similar_errors), scored as the fix works or fails (update_lesson_success) and suggested for the current context (get_lesson_recommendations)
  • read_graph for the whole structure, search_nodes for a query across it, and open_nodes to pull named nodes straight out

Requirements

Node.js and pnpm to build it from a clone; nothing else to supply — no account, no key. The graph and the lessons live in the server's own memory.json and lesson.json. MIT licensed.

Setup effort

Build from source