memory
Persistent memory as a local knowledge graph of entities, relations and observations, kept across chats in a JSONL file.
- Kind
- MCP server
- Works with
- Any agent
- Source
- MCP Reference Servers @ 51b6382a3e82
- Path
- src/memory/README.md
- Jobs
- Context management
- Topics
- Context & memory
Credit
- Made by
- modelcontextprotocol
- Original
- github.com/modelcontextprotocol/servers/blob/51b6382a3e827ace…
- License
- Apache-2.0
Listed by Skill Manifest; not made by us.
InstallAdd it as an MCP server.
npx -y @modelcontextprotocol/server-memory
Install factsScanned 3 Nov 2026
- Adds
- An MCP server entry (claude mcp add, or .mcp.json)
- Runs scripts
- Yes
- shell block in the text
- Uses the network
- None found
- Needs secrets
- None found
- Source revision
- 51b6382a3e82
- Licence
- Apache-2.0
- Last activity
- 25 Nov 2026
- Source changed after the scan
- Yes
- Last push 25 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# Knowledge Graph Memory Server
A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats.
Published on npm as [`@modelcontextprotocol/server-memory`](https://www.npmjs.com/package/@modelcontextprotocol/server-memory).
## Core Concepts
### Entities
Entities are the primary nodes in the knowledge graph. Each entity has:
- A unique name (identifier)
- An entity type (e.g., "person", "organization", "event")
- A list of observations
Example:
```json
{
"name": "John_Smith",
"entityType": "person",
"observations": ["Speaks fluent Spanish"]
}
```
### Relations
Relations define directed connections between entities. They are always stored in active voice and describe how entities interact or relate to each other.
Example:
```json
{
"from": "John_Smith",
"to": "Anthropic",
"relationType": "works_at"
}
```
### Observations
Observations are discrete pieces of information about an entity. They are:
- Stored as strings
- Attached to specific entities
- Can be added or removed independently
- Should be atomic (one fact per observation)
Example:
```json
{
"entityName": "John_Smith",
…