Does Memory (reference) work with Claude Code?
Yes. Memory (reference) passed every step of our test in Claude Code on Oct 19, 2026: it installed, connected, its tools were visible, and an agent used it to finish a real task.
Result
Steps
- install OK
- connect OK
- tools visible OK
- agent task: recall across sessions OKstore in session 1, recall in a fresh session 2 (the token only appears in session 1's prompt)
From our own harness run, not the maker’s claims. How we test.
Versions tested
Claude Code 2.1.296 · @modelcontextprotocol/server-memory 2.0.0 (pinned in the command we ran) · connect time not recorded · tested Oct 19, 2026
Server package and resolved dependency versions: not recorded for these runs (our harness records them from Oct 19, 2026 on).
What happened in this run
Install config we used
claude mcp add -s local ref-memory -e MEMORY_FILE_PATH=/workspace/timmy/harness/sandbox/memory.jsonl -e PATH=/home/box/opt/node24/bin:/usr/local/bin:/usr/bin:/bin -- /home/box/opt/node24/bin/npx -y @modelcontextprotocol/server-memory@2.0.0Connection check
ref-memory: /home/box/opt/node24/bin/npx -y @modelcontextprotocol/server-memory@2.0.0 - ✔ ConnectedTools check
verified via task step: agent saw and called the server's tools
Agent task: recall across sessions
- Tool calls, in order:
mcp__ref-memory__search_nodes
Raw details from our harness log for this run. Secrets redacted.
Set it up in Claude Code
Copy-paste config for every app is on the Memory (reference) page. Not connecting? Claude Code MCP troubleshooting.
Other apps we tested it in: Cursor (passed) · Claude Desktop (passed) · ChatGPT (Codex) (passed).