Skip to main content
← MCP

Knowledge Graph Memory Server

Model Context Protocol
Memory Local Read and write 8 axes checked Active Checked 2026-10-23

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

A reference server implementing cross-session persistent memory with a local…

How you use it

Local / self-hosted · MCP server

Licence / commercial use

Not checked

Read the original licence before commercial use
Mainland China

Direct in mainland · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • The default location and naming of the memory file
  • Whether Streamable HTTP is supported (not declared in the repo)
  • Whether the storage backend is replaceable (is JSONL the only supported form)
  • The degree of eventual-consistency guarantees for concurrent writes

A reference server implementing cross-session persistent memory with a local knowledge graph — memory is written to disk, shared across sessions, with no access control.

When to use it, when not to

Scenarios needing cross-session memory that survives restarts and is queryable as a graph.

Not a fit for anything with access-control requirements — memory is written to disk with no access control.

China availability domestic / direct access / CAC filing · snapshot 2026-10-20

Origin
foreign-made foreign entity (no matching filing entity in the CAC registry).
Direct access
direct OK Hosted on GitHub — direct reachability from mainland fluctuates (200/000 mixed on the same day); npm / PyPI install routes measured stable.
CAC filing
not in filing list:not in the CAC public registry (13 batch attachments searched 2026-10-20, https://www.cac.gov.cn/2024-04/02/c_1713729983803145.htm); the product does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

11 questions, one table

11 questions, each comparable item by item with its peers.

Model & openness

It calls no model itself; it is an interface implementation called by clients.

Its design is tied to Claude's persistent-memory scenario (the README states plainly "lets Claude remember information about the user across chats").

Where it runs

A local Node.js process communicating over stdio.

Data persists in a local JSONL file, with a lifecycle independent of the client process.

Local files

Accesses only its own memory file (by default under the memory directory); it provides no arbitrary file read/write tools.

The storage location can be set via a parameter; the actual accessible range depends on the permissions of that path.

Tasks after shutdown

The server process lives and dies with the client,

but memory data persists on disk and survives restarts.

A 2026-09-03 fix serialized graph mutations to avoid concurrent-write races.

Tools & extensions

It provides 9 tools:

  • create_entities, create_relations, add_observations, delete_entities, delete_observations, delete_relations, read_graph, search_nodes, open_nodes.

It also exposes one resource: memory://knowledge-graph.

Including 3 delete tools (delete_entities / delete_observations / delete_relations); output is structured JSON, ready for direct consumption.

Context & memory

This is the server's core capability: cross-session persistent memory.

It stores entities, relations and observations in a knowledge-graph structure, supporting retrieval (search_nodes) and read-by-name (open_nodes).

Permissions & limits

No separate approval mechanism.

The memory graph is global shared state; every write affects all subsequent sessions.

It provides 3 delete tools that can remove entities, observations and relations.

On 2026-09-03 a search_nodes query-length limit and a deduplication fix were added.

Best for

Lets an Agent remember long-term information such as user preferences and project context across sessions.

Not a fit for scenarios needing audit or traceability (the graph is mutated in place).

Transport

stdio only. A local Node.js process communicating over standard input/output (launched via npx).

The official README (full-text verification 2026-10-08) has no official launch method for a remote transport.

Authentication

No separate authentication layer. In stdio form it inherits the client user's permissions.

The memory file itself is unencrypted — any process that can read that file can obtain all memory content.

Permission scope

The narrowest-scope class: it reads and writes only its own memory file and provides no arbitrary file-access tools.

The permission risk lies not in file scope but in content sensitivity —

the memory may hold user preferences, project information and other privacy, and the file is unencrypted with no independent access control.

Top misconception

  • Assuming memories live only in the current session — they are disk-persisted global state
  • Assuming deletion needs approval — it does not, and an accidental delete affects every later session
  • Assuming it is a plain key-value store — it is a knowledge-graph structure

Evidence sources

Checked 2026-10-23,Content updated 2026-10-08。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
docsMCP · Memory Serverhttps://github.com/modelcontextprotocol/servers/tree/main/src/memory
changelogMCP · Memory directory change historyhttps://github.com/modelcontextprotocol/servers/commits/main/src/memory
changelogMCP · Servers Releaseshttps://github.com/modelcontextprotocol/servers/releases
repoMCP · Servers repo README (production-use disclaimer)https://github.com/modelcontextprotocol/servers

Test notes

This site has not completed measured runs. The test protocol is at protocols/mcp/_protocol.md.

Change-log notes

This object has no standalone changelog page; change records are in the directory's commit history:

DateContent
2026-09-03Serialize graph mutations to avoid concurrent-write races
2026-09-03Skip duplicate entities and relations within one batch
2026-09-03Limit search_nodes query length

All three fixes landed on the same day (09-03), showing that release concentrated on stability. Especially the "concurrent-write race" — it means simultaneous multi-session reads/writes of memory once risked data corruption.

If you use it in a multi-session environment, these three are worth reading at the source.

Data structures

ConceptDescriptionExample
Entitya graph node with a unique name, type and observation list{name: "X", entityType: "person", observations: [...]}
Relationa directed connection between entities{from: "A", to: "B", relationType: "works_at"}
Observationan atomic fact attached to an entityone fact per observation is recommended

Relations are stored in active voice, e.g. works_at rather than "works at". This is an explicit convention in the docs.

Tool inventory and read/write attributes

ToolAttributeDescription
read_graphreadread the whole graph
search_nodesreadsearch nodes by condition
open_nodesreadread specific nodes by name
create_entitieswritecreate entities
create_relationswritecreate relations
add_observationswriteappend observations to entities
delete_entitiesdeletedelete entities and their connections
delete_observationsdeletedelete observations
delete_relationsdeletedelete relations

6 read, 3 write, 3 delete. Three deletion tools cover entities, observations and relations.

What is distinctive about its permission risk

Unlike other MCP servers, memory's risk is not in file scope but in content:

DimensionAssessment
File-access scopenarrowest — touches only its own memory file
Write impactglobal — affects all subsequent sessions
Content sensitivityhigh — may hold user preferences, project information
Access controlnone — the file is unencrypted, no independent auth

Any process that can read that JSONL file obtains the entire memory.

If you store sensitive information with it, this point must be considered.

Comparison with filesystem

Dimensionfilesystemmemory
Access scopedirectory allowlist (can be wide)only its own memory file (very narrow)
Delete capabilitynot providedprovides 3 delete tools
Persistencestatelessgraph persisted to disk
Cross-sessionnot supportedthe core capability

The trade-off is clear: memory trades "limited capability but sensitive content" for "cross-session capability".

Related entries

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
1Password Environments MCP ServerLocal / self-hostedOpen licence8 questions checked
Active
1Password official Environments MCP server (local stdio, rides the deskt
Atlassian Remote MCP Server(Jira/Confluence)Cloud / APICommercial terms8 questions checked
Active
Atlassian's official Remote MCP server: one endpoint covers Jira + Confl
Brave Search MCP ServerLocal / self-hostedOpen licence8 questions checked
Active
Brave's official search MCP server (MIT): an independent retrieval sourc

Same vendor

More from Model Context Protocol

One vendor’s products are often split across categories. This list puts them together so you do not have to assemble them across five sites.

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.