Memory (Reference) — Claude Code MCP server: setup and features
Memory (Reference) is an MCP server for Claude Code that keeps information in a local knowledge graph across chats. The agent can look up entities and their links, then update the stored facts.
no license ★ 92,149 updated 2026-10-25
Open on GitHubWhat Memory (Reference) does
Memory (Reference) stores facts as observations attached to typed entities, with directed links connecting them. Its tools cover creating and removing graph data, searching it, and retrieving individual nodes or the complete graph.
search_nodes matches entity names, types, and observation text. open_nodes fetches named entities, while read_graph returns the full graph. The memory://knowledge-graph resource exposes the data as JSON and sends update notifications when graph contents change.
Running the server through npx or from source requires Node.js 24 or later. The npm package is @modelcontextprotocol/server-memory. Set MEMORY_FILE_PATH to choose a storage file; otherwise the server uses memory.jsonl in its directory.
What it helps with
- keep user facts between chats
- find entities by name, type, or observation text
- append observations to an existing entity
- inspect or remove graph relationships
Example prompts for the agent
- Remember that I prefer morning meetings.
- Search memory for details about project Atlas.
- Add an observation to project Atlas: it uses PostgreSQL.
How to install Memory (Reference)
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Memory (Reference)
How do I install Memory (Reference) in Claude Code?
Configure the MCP server to run npx -y @modelcontextprotocol/server-memory. Node.js 24 or later is required for an npx launch.
What does Memory (Reference) do?
It keeps entities, observations, and directed relationships in a local knowledge graph. An agent can search and retrieve that information, then add or remove graph data.
What does Memory (Reference) require?
Node.js 24 or later is needed when launching it through npx or from source. The server package is @modelcontextprotocol/server-memory.