Skip to main content
MCP server CX Codex

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 GitHub

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

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

From the same set19

The whole set →
Time (Reference) Time (Reference) is an MCP server for Claude Code that gives agents access to current time and time zone conversion. It supports tasks involving multiple time zones and schedules. CX Codex +1 ★ 92,149repo stars Sequential Thinking (Reference) Sequential Thinking (Reference) is an MCP server for Claude Code that helps agents break down problems, revisit steps, and explore alternatives. It supports planning and analysis when a problem’s scope is unclear. CX Codex +1 ★ 92,149repo stars Sentry (Archived) The Sentry (Archived) MCP server connects Claude Code to Sentry.io to inspect error reports, explore stack traces, and debug active incidents. CX Codex +1 ★ 92,149repo stars Git (Reference) Git (Reference) is an MCP server for Claude Code that lets an agent inspect and change Git repositories. It handles diffs, branches, history, staging, and commits. CX Codex +1 ★ 92,149repo stars Fetch (Reference) Fetch (Reference) is an MCP server for Claude Code that retrieves web pages by URL and returns their contents as Markdown. It lets an agent read a web page. CX Codex +1 ★ 92,149repo stars AWS KB Retrieval (Archived) The AWS KB Retrieval (Archived) MCP server retrieves information from an AWS Knowledge Base through Bedrock Agent Runtime. It gives an AI agent access to AWS-hosted knowledge during a task. CX Codex +1 ★ 92,149repo stars SQLite (Archived) SQLite (Archived) is an archived MCP server for querying SQLite databases from Claude Code and other platforms. Built as a reference implementation, it is no longer maintained. CX Codex +1 ★ 92,149repo stars testing testing — a skill for Claude Code, Codex, Cursor and other platforms: writes tests for MCP servers, places them in the right directory, runs the correct commands. CX Codex +1 ★ 92,149repo stars

Project sponsors

Companies that keep this analytics open