Official MCP Memory server
https://github.com/modelcontextprotocol/servers/tree/main/src/memory
Knowledge-graph-based persistent memory MCP server — the canonical reference implementation. npx -y @modelcontextprotocol/server-memory ; configurable via MEMORY_FILE_PATH .
Active · Verified 2026-10-22 · fresh as of 2026-10-22 · 69 cited facts, 1 with a third-party source · 1 recorded change · Suggest a correction
At a glance
- Type
- KG-based persistent memory MCP repo fix
- Tier
- T1
- Section
- Claude Code memory mechanisms
- Latest release
- 2026.8.31 (2026-08-31) — @modelcontextprotocol/server-memory@2026.8.31 repo fix
- Pricing
- free / open source (Apache-2.0 / MIT) repo fix
- Funding
- not applicable — not commercial fix
- Freshness
- 2026-10-22 fix
- Layer
- agent-infra repo fix
- Licensing
- open-source repo fix
- SDK languages
- typescript repo fix
- Protocols
- mcp-server repo fix
- Developer activity
- OpenRank 11.66 (12-mo avg 16.7) · 124 participants — 2026-09 third-party fix
Memory taxonomy
- storage
- graph
- retrieval
- graph-traversal
- persistence
- cross-session
- update
- overwrite
- unit
- fact
- governance
- inspectable
- conflict
- llm-arbitrate
When to use
Optimised for: Claude-Code-native + MCP-portable memory
Anti-fit: not for non-Claude-Code clients (some are MCP-portable)
Pros & cons
Pros
Reference implementation in the MCP spec; smallest possible memory primitive — useful for testing and lightweight cases.
Cons
Minimal feature set — no extraction, no governance, no retention policy; production deployments quickly outgrow it.
Claims & capabilities
Knowledge-graph-based persistent memory MCP server — the canonical reference implementation; npx -y @modelcontextprotocol/server-memory; configurable via MEMORY_FILE_PATH; release 2026.1.26 (2026-01-27)
Technical surface
- API surface
- MCP (stdio); knowledge-graph tools (create_entities/relations/observations, read/search/delete)
- Backend storage
- file (JSON)
- Deployment
- local (Node.js MCP server; local JSON file)
- Embedding model
- not applicable — knowledge graph store
- Multi-tenancy
- not applicable — local
- MCP
- native (first-party) — reference implementation
- A2A
- not supported
- OpenTelemetry
- no
Compare Official MCP Memory server with…
Alternatives to Official MCP Memory server → live options ranked by shared design, licence, hosting and MCP support
Similar systems
Other claude code memory mechanisms in the catalog, ranked by inbound references.
- Claude Code auto-memory T1
Persistent file-based memory at ~/.claude/projects/<project>/memory/ with a MEMORY.md index plus typed memory files (user / feedback / project / reference). Loaded into context across sessions.
- claude-brain T2
Claude Code plugin packaging of Memvid (see Dedicated memory layers). Wraps the Memvid .mv2 single-file store as a slash-command-installable plugin so per-project memory becomes a git-committable file inside the repo.
- Claude-CursorMemoryMCP T2
FastAPI server. RBAC + API-key auth, encryption, backup/recovery, embedding pipeline with deduplication. Only server in this list with role-based access control over pgvector.
- claude-mem T1
Hooks into Claude Code's session lifecycle; compresses tool outputs into ~500-token observations via Claude's agent SDK. SQLite + FTS5 with optional Chroma vector. "Endless Mode" compresses in-flight to extend session length. Captures what the agent did , not just what the user typed.
- claude-supermemory T2
Wraps Supermemory cloud API. Team memory shared across project members, separate from personal memories. Auto-capture on session end; per-repo config.
- codebase-memory-mcp (DeusData) T1
High-performance MCP server building persistent code knowledge graphs via AST. 155 languages via vendored tree-sitter; SQLite + WAL; single static binary; zero runtime deps. Knowledge graph: Project/Package/File/Module/Class/Function/Method/Interface/Enum/Type/Route/Resource nodes; CALLS/IMPORTS/DEFINES/IMPLEMENTS/INHERITS/HTTP_CALLS/ASYNC_CALLS/EMITS/LISTENS_ON/DATA_FLOWS/SIMILAR_TO/SEMANTICALLY_RELATED edges. 14 MCP tools incl. Cypher-like query.
Sources (68 cited facts, 1 third-party)
Each fact links to the page it came from; the badge says who published it (how to read sources).
- What it is KG-based persistent memory MCP repo
- What it does & what's distinct Knowledge-graph-based persistent memory MCP server — the canonical reference implementat… repo
- Claims / benefits Knowledge-graph-based persistent memory MCP server — the canonical reference implementat… repo
- Modalities text repo
- Created 2024-11 repo
- Latest release 2026.8.31 (2026-08-31) — @modelcontextprotocol/server-memory@2026.8.31 repo
- License Apache-2.0 AND MIT (new contributions Apache-2.0; legacy code MIT; docs CC-BY-4.0) repo
- GitHub modelcontextprotocol/servers — ~90.0k stars, last release 2026-08 repo
- Mindshare 2 inbound repo
- Pricing free / open source (Apache-2.0 / MIT) repo
- Deployment local (Node.js MCP server; local JSON file) repo
- Founders / pedigree Anthropic / Model Context Protocol (Anthropic open-source) repo
- Memory volume / scale no scale claim — local JSONL file repo
- API surface MCP (stdio); knowledge-graph tools (create_entities/relations/observations, read/search/… repo
- Backend storage file (JSON) repo
- Versioning immutable append-log repo
- Schema evolution schema with migration repo
- Namespace primitives per-tenant repo
- Contradiction handling LLM resolves and overwrites repo
- Forgetting policy none (permanent) repo
- MCP support native (first-party) — reference implementation repo
- A2A support not supported repo
- OTel no repo
- Webhooks / events no repo
- Import / export JSON Lines (entities + relations) repo
- Validated verticals coding agents only - Claude Code users (horizontal SWE) repo
- Time to running <10min (plugin / MCP install) repo
- Anti-fit not for non-Claude-Code clients (some are MCP-portable) repo
- Optimised for Claude-Code-native + MCP-portable memory repo
- Adjacent infrastructure requires Claude Code or MCP client; BYO storage repo
- Pros Reference implementation in the MCP spec; smallest possible memory primitive — useful fo… repo
- Cons Minimal feature set — no extraction, no governance, no retention policy; production depl… repo
- Project & sources GitHub source npm package official MCP registry repo
- obs-langsmith no repo
- obs-datadog no repo
- obs-helicone no repo
- obs-weave no repo
- obs-langfuse no repo
- obs-arize no repo
- obs-custom Reference server — observability is a host-app concern repo
- cost-token-budget no repo
- cost-prompt-caching no repo
- cost-semantic-caching no repo
- cost-batching no repo
- cost-model-routing no repo
- cost-streaming-only no repo
- cost-observability-cost-attribution no repo
- eval-langsmith-evals no repo
- eval-braintrust no repo
- eval-weights-and-biases-agent no repo
- eval-helicone-evals no repo
- eval-custom-test-harness no repo
- eval-human-loop no repo
- eval-production-traffic-replay no repo
- commit-trajectory [{"ym":"2025-07","cum":3232},{"ym":"2025-08","cum":3449},{"ym":"2025-09","cum":3617},{"y… repo
- cost-input-usd-per-mtok 0 repo
- cost-output-usd-per-mtok 0 repo
- cost-tier free repo
- cost-pricing-model free-tier repo
- cost-last-verified 2026-06-29 repo
- architecture-deployment-locus local repo
- licensing-bucket open-source repo
- positioning-platform-vs-product product repo
- taxonomy-three-layer-rollup agent-infra repo
- developer-activity-opendigger {"activity":248,"as_of":"2026-09","openrank_12mo":16.7,"openrank_current":11.66,"partici… third-party
- sdk-languages typescript repo
- protocol-support mcp-server repo
- maturity alpha repo
What changed
Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)
- 2026-10-22
- License “Custom” → “Apache-2.0 AND MIT (new contributions Apache-2.0; legacy code MIT; docs CC-BY-4.0)” source
- Latest release “2026.1.26 2026-01-27” → “2026.8.31 (2026-08-31) — @modelcontextprotocol/server-memory@2026.8.31” source
- Pricing “free / open source (MIT)” → “free / open source (Apache-2.0 / MIT)” source
Related systems
References (2)
- Anthropic Claude (foundation models) depends on at runtime — adjacent-infrastructure cell: requires Claude Code or MCP client; BYO storage
- Model Context Protocol (MCP spec) depends on at runtime — adjacent-infrastructure cell: requires Claude Code or MCP client; BYO storage
Referenced by (2)
- Continue.dev Memory MCP builds on — Official Memory MCP (Mar 2025) backed by a knowledge graph. Memory is injected via MCP
- mcp-knowledge-graph forks — KG-based local fork of @modelcontextprotocol/server-memory