Local MCP server that captures the why behind your code — domain knowledge for Claude, Cursor, Copilot, and any MCP agent.
README
A local MCP server that accumulates the business-domain knowledge of a software project — flows, integrations, decisions, nuances — and makes it available to any MCP-compatible agent (Claude Code, Cursor, Copilot, Gemini, OpenCode).
The goal is to capture the why behind the code: the stuff a new developer would need six months from now to understand why a thing is built the way it is. The what is already in the code — domain-memory does not duplicate it.
Status: Functional. Local install, single developer, local SQLite.
Domain Memory occupies a narrow niche. The closest neighbours and where it differs:
| Tool | What it stores | Scope |
|---|---|---|
| Domain Memory | Business-domain knowledge — the why behind the code, decisions, integrations, flows | Per-project, local, source-controlled markdown |
| mem0, letta | Conversation / agent memory — what the user said, preferences | Per-user, cross-conversation |
| RAG over docs (continue.dev, custom pipelines) | Whatever text you embed (READMEs, Confluence, code) | Reuses existing artefacts; no new authoring layer |
| CLAUDE.md / AGENTS.md | A single hand-written context file | One file, no structure, no search |
If you