# Memory (Reference)

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 92149 repo stars
- Author: modelcontextprotocol
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/modelcontextprotocol/servers/tree/HEAD/src/memory
- Updated: 2026-10-25
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/memory-reference

## What it 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.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- 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
- Remember that I prefer morning meetings.
- Search memory for details about project Atlas.
- Add an observation to project Atlas: it uses PostgreSQL.

## Similar
- [memory](https://affpapa.org/en/nevibecode/skills/orchestkit-memory.md) — skill · 757 installs
- [Neo4j Memory](https://affpapa.org/en/nevibecode/mcp/neo4j-memory.md) — MCP server · ★ 991 repo stars
- [VelesDB Memory](https://affpapa.org/en/nevibecode/mcp/velesdb-memory.md) — MCP server · ★ 105 repo stars
- [para-memory-files](https://affpapa.org/en/nevibecode/skills/para-memory-files.md) — skill · 1900 installs
- [memory-continue](https://affpapa.org/en/nevibecode/skills/memory-continue.md) — skill · 1500 installs
- [memory-research](https://affpapa.org/en/nevibecode/skills/memory-research.md) — skill · 1400 installs

From the same set: [modelcontextprotocol/servers](https://affpapa.org/en/nevibecode/by/modelcontextprotocol/servers.md) — 19 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
