Claude Code gets the most out of Memo because it can call tools and run hooks. A full setup has three layers, and each one is useful on its own:
/memo:remember, /memo:search, /memo:context, /memo:status, /memo:pause, /memo:resume1. Connect the MCP server
claude mcp add --transport http memo https://memo.uno/api/mcp \
--header "Authorization: Bearer memo_..."Run /mcp inside Claude Code to confirm the connection. The tools appear as mcp__memo__memory_search, mcp__memo__memory_context, mcp__memo__memory_add, mcp__memo__memory_list, mcp__memo__memory_get and the rest of the set.
2. Add automatic recall
Without hooks, recall depends on the model deciding to call a tool. The SessionStart hook removes that decision: at the start of every session, Claude Code runs a command that fetches a context pack for the current repository and injects it as additional context before your first prompt.
node scripts/memo-capture.mjs install-claudenode scripts/memo-capture.mjs install-claude --globalThat writes two hooks to the nearest .claude/settings.json (or your home directory with --global):
{
"hooks": {
"SessionStart": [
{ "hooks": [{ "type": "command", "command": "node \".../memo-capture.mjs\" session-start", "timeout": 20 }] }
],
"Stop": [
{ "hooks": [{ "type": "command", "command": "node \".../memo-capture.mjs\" session", "timeout": 30 }] }
]
}
}SessionStartrecalls the pack for the repository, truncates it to 3,800 characters and injects it. It never blocks a session; with no token or with capture paused it exits silently.Stopreads the session transcript, keeps only your own recent messages and sends them to the Inbox for review.
Recalled context is only as good as your stored memory. If a session starts with conventions that feel stale, edit them in Dashboard → Code — the next session will pick up the new value.
3. Install the slash commands
node scripts/memo-capture.mjs install-commandsThis writes six commands to ~/.claude/commands/memo/, which Claude Code exposes as:
/memo:remember <text>/memo:search <query>/memo:context/memo:status/memo:pause / /memo:resumeUsing the CLI directly
memo-capture configure --url <url> --token <token>~/.memo/config.json (0600).memo-capture recall [--preset coding] [--task text]memo-capture status/api/context.memo-capture pause | resumememo-capture print-configConfiguration
MEMO_URLMEMO_TOKENMEMO_PROXYMEMO_CAPTURE_DISABLED=1MEMO_RECALL_CHARSMEMO_DEBUG=1Troubleshooting
- Tools missing in `/mcp` — the header is case-sensitive:
Authorization: Bearer memo_.... - 401 in status — the token was revoked or belongs to another account. Mint a new one and run
configureagain. - Recall is empty — the pack is built for the repository of the current directory. Run
memo-capture recallthere to see what the hook would receive. - Nothing is captured — check
memo-capture status; capture may be paused, or the session may contain no durable sentences.MEMO_DEBUG=1prints the payload.