How to stop re-explaining your project to Claude every morning
When to use: You keep pasting the same background paragraph: 'our stack is X, the prod DB is Y, we don't use Z' — at the start of every session.
Prerequisites
- Memory MCP running with a persistent file path — Set
MEMORY_FILE_PATH=/Users/you/.claude/memory.jsonso the graph survives restarts
Flow
-
Seed the graph with core factsCreate entities for: my company (Acme), our main repo (acme-corp/api), and our prod database (api-prod-01). Add observations like 'uses Postgres 16', 'hosted on AWS RDS us-east-1', 'backup window is 03:00 UTC'. Connect them with relations.✓ Copied→ Entities and relations created, visible via read_graph
-
Add preference observations as you goRemember: when I ask you to write commit messages for this repo, use imperative mood without prefix tags. Store this as an observation on the 'acme-corp/api' entity.✓ Copied→ Observation added without re-creating the entity
-
Test recall in a new sessionWhat do you know about api-prod-01?✓ Copied→ Claude queries the graph and surfaces the facts, not a generic answer
Outcome: A personal knowledge graph that gets smarter every chat — the more you use Claude, the less boilerplate you type.
Pitfalls
- Claude doesn't auto-use memory; it forgets to check — Add 'Always consult the memory graph at the start of each task about this project' to your system/project prompt
- Graph grows messy — duplicate entities with slight name variations — Pick a naming convention (kebab-case), and periodically ask Claude to
read_graphand dedupe