Self-hosted MCP memory for Claude Code
Your architect decides once. Every agent works from the same truth.
The self-hosted system of record for Claude Code: decisions, tasks and lessons in one validated, event-sourced graph your agents query instead of re-reading project history.
An event-sourced project graph behind MCP, not another folder of memory files.
Self-hosted, one licence per person. Start with a free trial and cancel anytime.
For one person running coding agents on a project that's grown past what they can hold in their head. If you have a CLAUDE.md nobody wants to read any more, that's the shape.
a fresh session answers from the store, not the chat
We plan, they code.
Anagraphe never writes, refactors or reviews a line of source. It feeds the agent that does. Built and tested with Claude Code.
01 · Problem
Why a folder of markdown stops working
Every project that works with AI agents accumulates a body of context: decisions, rejected alternatives, gotchas, half-finished tickets. Today that lives in files, and every session the agent re-reads them from the top.
It scales badly, then it stops scaling at all. Past a certain size it no longer fits in a context window, and knowledge fragments by domain as a project matures rather than staying in one file. At that point the file approach doesn't get expensive, it stops being workable.
Meanwhile the files quietly rot: a number gets corrected in one file and stays wrong in the four that cite it. Nothing in a folder can tell you that.
Re-reading it all comes out of your plan. On a subscription, every session spends part of its budget before any work starts, and the limit arrives sooner.
The bigger cost is rework. Nothing records why the losing option lost, so the agent proposes it again. The build trap you fixed in spring catches you again in summer, because the fix lived in a chat that's gone. A plan made from the right context avoids both. A plan made from a stale folder ships the same mistake twice.
Rework is the most expensive token. Good context prevents it.
Folder of markdown
Cost grows with the folder, without limit
Read everything, every session, to answer one question.
Anagraphe
Context cost stays small as the project grows
A response is bounded by pagination caps and the size of the subgraph asked for.
Correct it once. Know who still cites the old version.
- References are checked when they're written. A link to something that doesn't exist is refused, not stored.
- Every change is an event in an append-only log on your machine. Rebuild any entry as it stood on any past date, without a single model call.
- Pro Diff the whole plan between two points, also without a model call.
- Pro A claim-drift judge checks whether a cited decision still supports the claim that cites it. It runs on your own Claude subscription and asks before a large run.
02 · Why not files
Can't I just add a tracker and a memory file?
You can, and for a while it works. Anagraphe is a system of record for the decisions your agents make, not another memory.
The risk on a long project isn't forgetting. It's remembering wrong without being told. That's where a folder, a tracker and a memory file stop.
| When | Files, a tracker, a memory file | Anagraphe |
|---|---|---|
| A reference points at something that doesn't exist | Saved. Found later, if ever. | Refused when it's written. |
| “What did the plan say in March?” | Dig through file history by hand. | Rebuild any entry as of that date. On Pro, diff the whole plan since then. |
| Why does this ticket exist? | In another tool, linked by hand if at all. | The ticket and the decision behind it sit in one typed graph. |
| Status, kind, priority | Whatever each file invented. | One closed vocabulary, checked on every write. |
Built for long-lived projects, where last month's decision still has to mean what it said.
Who it isn't for
- Short projects and prototypes. A few files are enough.
- Anyone happy re-reading a handful of notes each session.
- Anyone who wants memory captured automatically. Here your agent writes on purpose, and the store checks it.
- Anyone who won't run Docker and Postgres on their own machine.
03 · In use
Three jobs it does
Every card below is something the engine you install does today, not a roadmap item.
Memory across sessions
The agent that doesn't start from zero
Decisions, lessons and rejected alternatives survive the session that produced them. A new agent loads the shape of the project in one call.
Task tracking
The backlog lives where the reasoning lives
A ticket carries the decision that governs it, the lesson that caused it, and the tickets it blocks — so opening one loads its context with it.
Audit and handover
Two exports from one truth
The same subgraph renders twice: a narrative document a human or an auditor can follow, and a token-dense packet an agent executes. No drift between them.
04 · The plan
You're the architect. Your agents are the team.
An issue tracker built for the team that actually reads it: tickets, the decisions behind them and the lessons learned, all in one graph your agents query before they write a line.
Tickets
Status, priority, dependencies
Tasks block and depend on each other. Agents file them, pick them up and close them as the work happens.
Decisions
Every ticket knows why
A task links to the decision that governs it. Superseded decisions keep their history and their replacement.
Hygiene
Drift gets caught
Lint finds tickets with no links. Every change is an event, so you can ask what the plan looked like on Monday and what changed since. On Pro, a judge flags citations their source no longer supports.
05 · Our own store
We have never planned this product in a markdown file.
Anagraphe is built using Anagraphe, from the first commit. Every architecture decision, every lesson, every ticket behind the engine you would install lives in the store the engine ships.
That is the store our agents work against every session. It has never been read from the top.
Your data, your premises.
The store runs in your own Postgres. Embeddings are computed locally. Your export is free with or without a licence: a plain-markdown copy of your whole project you can read anywhere. It works offline; paid features need a check-in at least every ~3.5 days, and writing to more than one project needs one at least every ~11 days. A company can pay for a licence without us ever reading its data, and a contractor can keep a client's details under NDA where they belong.
Anagraphe stores nothing in the cloud. What your agent reads, it sends wherever your agent already sends your code.
Old technology, on purpose.
The store is Postgres and an event log: technology that has outlived every framework around it. No model sits inside the store deciding what to keep. Your agent writes; the store checks every write.
The model is a tool you call when you need it. Tokens are treated as scarce: your agent reads only what it asks for, and history and diffs cost no model calls at all.
“Built because I needed it. I use it every day.”
06 · Pricing
Two plans, one licence to a person
Basic for 5 active projects, Pro for unlimited.
Basic keeps your plan. Pro tells you when it's wrong.
Start the record.
One command brings up the engine and its stores. Point Claude Code at it and stop repeating yourself.
anagraphe start
Two stores, one bundle. Migrations run on upgrade.
Scheduled backups are a Pro feature.
Docker bundle · self-hosted
Read the quickstart