Claude Code remembers your repo. It forgets everything around it.
Your CLAUDE.md and Auto Memory are genuinely good, but both stop at the repo boundary: memory captured in one repo is invisible in the next, it is capped, and when a session hits compaction the exact code and reasoning get summarized away. The decision you made last month, the pattern in your other service, the live database schema: none of it is in this repo's markdown.
So you re-explain across every repo, and lose the thread every time the window compacts. The memory works. It just does not reach past this one repo, this one session, this one tool.
- Auto Memory is per-repo, capped, machine-local
- Compaction discards the exact code and reasoning
- Cannot reach your DB, other repos, or docs
- Cursor and ChatGPT cannot read any of it
- Memory that carries across every repo
- Captures the session before compaction drops it
- Queried, so scale does not dilute it
- Joined to your DB and docs, read by any tool
- A Nucleus workspace
- Claude Code installed
In your terminal, add Nucleus as an MCP server at user scope so it loads in every repo, not just this one:
claude mcp add --transport http nucleus --scope user https://app.nucleus.ae/api/mcp
Do not move your CLAUDE.md or docs into Nucleus. They stay in the repo, version-controlled, auto-loading. Nucleus sits alongside them as the cross-repo, cross-tool memory they cannot be.
Claude Code auto-compacts when the context window fills up: it summarizes the conversation and discards the exact code and reasoning. Before that happens, save the real transcript to Nucleus so it stays queryable.
If you already have a database behind your app, connect your Postgres to Nucleus. Now Claude Code reasons over the real schema, table shapes, foreign keys, and key relationships while it builds, instead of guessing them from a markdown description. It reads the structure of your data, not a doc about it.
Have a database running quietly in the background, data preloaded but no front-end yet? Point Nucleus at it, and Claude Code can build an accurate web or mobile interface off its real structure. Nucleus reads the table relationships, the foreign keys, the stale and live key data, so what Claude Code scaffolds matches the actual database, not a guess. We do exactly this at Nucleus when we need a front-end for a silent ghost database.
In any repo, prefix a request with 'use Nucleus' and Claude Code reads the layer over MCP: your past sessions, your other repos, and any source you have connected, database included.
Each reaches past what this repo's memory holds, to another repo, a live source, or a session that already compacted.
1. "Use Nucleus: how did we solve auth in the other service, and apply that pattern here." (cross-repo)
2. "Use Nucleus: read the actual users table before you write this query, do not guess the columns." (real data / schema)
3. "Use Nucleus: pull up what we decided about rate limiting before the session compacted last week." (pre-compaction recall)
4. "Use Nucleus: scaffold an admin UI from my Postgres, match the real foreign keys and relationships." (ghost-database build)
Auto Memory cannot answer these. It only knows this repo, and only what survived the last compaction.