Labsco
MCP SERVER

Rekindle

by Skitchy

Keep session memory in a local SQLite database with full-text search, open a session with a scored orientation report, and recover the context mid-session compaction would otherwise have destroyed.

Agent MemoryVerified
Summary
The cost of remembering is a parameter on the recall, not a surprise once the response arrives.

Reading a capture offers its modes with their expense stated outright, and the raw transcript is explicitly the last resort. The tools also state their own ordering: the boot report surfaces captures and tells you to read them before trusting the latest checkpoint, and the session close warns when captures exist that were never reviewed. What makes the handoff more than a note is that it is typed — decisions, open loops, constraints and warnings each get their own field rather than a prefix inside one blob of text.

What it is

A session-continuity engine for coding assistants, entirely local: memories as rows in a SQLite database with full-text search, a typed end-of-session handoff, and captures taken before mid-session compaction so what it would have flattened survives. No account and no API keys anywhere in it.

What you get
  • store_memory writes a persistent row with an auto-generated id and timestamp alongside the content, a category, a project scope and an importance.
  • search_memory runs full-text search ranked by relevance with higher-importance memories boosted, and increments each match's retrieval count, so what actually gets used becomes visible.
  • list_memories browses without a query for auditing, update_memory changes only the fields you send and rebuilds the search index when the content changes, and delete_memory is irreversible.
  • boot_report orients a new session: it reads the identity document, scans the memory database for statistics and the latest checkpoint, finds the most recent transcript, surfaces open loops and captures, detects structural gaps and returns an orientation score.
  • end_session writes a structured handoff — a required checkpoint plus decisions, open loops, preferences, constraints, warnings, a relational delta and the next session's focus — each under its own typed field rather than buried in one summary.
  • list_captures and read_capture recover what compaction removed, with three read modes whose token cost is stated: a one-paragraph summary, a structured set of decisions, loops and warnings, or the raw transcript excerpt.
  • capture_now preserves the current state on demand — before a risky operation, or whenever the context feels at risk.
  • An optional session-start hook delivers a size-capped orientation packet automatically at startup, resume, clear and compact, so the model re-orients at every context boundary without being asked.
Requirements

Node.js 20 or newer, and nothing else — no account, no key, and the database never leaves your machine. Run the init command in your project to create the local directory holding the SQLite database, the identity template, and the captures and transcript folders. Two things decide how much you get out of it: fill in the identity document, since boot_report counts a missing one as a gap, and install the hooks — both are opt-in, and PreCompact capture does nothing until its hook is set up.

Setup effort

One command — npx rekindle init