All MCP Servers
AI & MemoryOfficial referencenpm9 toolsA · 93

Memory MCP server

MIT

Knowledge-graph based persistent memory, letting an assistant retain entities, relations and observations across sessions.

At a glance

Memory is the official MCP reference server in the AI & Memory category. It runs locally over stdio via `npx -y @modelcontextprotocol/server-memory`, and declares no required credentials. It exposes 9 tools, including create_entities, create_relations and add_observations. It scores A (93/100) on the MCP Skills Hub health score as of Oct 27, 2026.

Source 92kGitHub stars

One-click install

Opens your editor and pre-fills the config. Your editor will ask before adding it.

How to install Memory in your AI client

Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.

How to install Memory in Claude CodeAnthropic's agentic CLI

  1. Add the server

    bash
    claude mcp add memory -- npx -y @modelcontextprotocol/server-memory
  2. Verify it's connected

    bash
    claude mcp list
  3. Sharing it with your team?

    Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).

  4. Use it in a session

    Ask Claude to use the tools this server exposes (e.g. create_entities, create_relations, add_observations). It discovers them automatically.

What tools does Memory expose? (9)

Taken from the project's README — the server itself was not queried, so check its docs for the exact schemas.

What the code can do

Read from the published package source — never executed. Parsed 2 of 2 source files.

This server can read and write files, read your environment variables and read system information.

How it was published

  • Published by a verified CI identity (github trusted publishing) rather than a personal token.
  • Has a provenance attestation tying this artifact to the commit it was built from.
  • 6 npm maintainers · last published by GitHub Actions.

Maintainer of this package and think something here is wrong? Tell us and we'll correct it.

Before you install

Signals gathered from the source repo and package registry — not a safety verdict.

What it can reach

  • Runs code on your machine — Executes as a local process with your user's permissions, including filesystem access.
  • Downloads at launch — The package is fetched from its registry each run unless you pin a version.
  • Last commit today — Actively maintained.
  • 92k GitHub stars — Community adoption signal.
  • 158k weekly downloads — Regularly installed by other developers.

Client compatibility

Claude Code: NativeClaude Desktop: NativeCursor: NativeCodex CLI: NativeWindsurf: NativeCline: NativeVS Code: Native

Health score

A · 93

Maintenance, adoption, transparency and packaging — not a safety audit. How this is calculated

  • Maintenance30%100%

    Last commit 0 days ago.

  • Adoption20%100%

    91630 stars, 157765 weekly downloads.

  • Transparency20%100%

    4/4: ✓ public source repo, ✓ declared license, ✓ documentation, ✓ discoverable tool list.

  • Provenance15%100%

    Official reference implementation, maintained by the MCP steering group.

  • Packaging15%50%

    No pinned version — installs resolve to whatever is latest at launch.

Documentation

Full README

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

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

Excerpt — the full document is on GitHub.

Maintain Memory? Add a badge to your README

Shows its health grade, and links readers to install steps for every client.

markdown
[![Memory on MCP Skills Hub](https://mcp-skills-hub.vercel.app/badge/official-memory)](https://mcp-skills-hub.vercel.app/mcps/official-memory)

Catalog data refreshed . Something wrong? Report it.