Head to head · Agent memory · October 2026 research run

LangMem vs Memory (MCP reference server)

Memory (MCP reference server) scores 54.2 (C) on agent readiness against LangMem's 47.9 (D), and leads in 5 of 7 scored categories. LangMem leads on security & auth. Both do agent memory.

Best memory layers for AI agents · All 55 memory comparisons

Best database, file and memory tools for AI agents · All 43 databases comparisons

Which one, for what

LangMem D

Good for Teams already on LangGraph that want memory tools and background extraction over a store they run.

Ahead on

  • Security & auth, 45 against 32

Watch for

The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to src on main is older than that

Memory (MCP reference server) C

Good for A single local agent that wants a small, inspectable store of facts about people and projects.

Ahead on

  • Reliability, 52 against 32
  • Schema & documentation, 60 against 55
  • Maintenance & community, 43 against 15
  • Transparency & trust, 72 against 59

Also in its favour

  • Runs on your own machine

Watch for

No pagination or limits. read_graph returns everything and search_nodes every match

Score by category

CategoryWeight this runLangMemMemory (MCP reference server)Edge
Reliability16%203252Memory (MCP reference server) +20
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.25560Memory (MCP reference server) +5
Agent ergonomics13%16.26667Memory (MCP reference server) +1
Security & auth14%17.54532LangMem +13
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.81543Memory (MCP reference server) +28
Transparency & trust7%8.85972Memory (MCP reference server) +13
Negative events≤1500
Total47.9 · D54.2 · C

Facts side by side

FactLangMemMemory (MCP reference server)
KindSDK + MCPMCP server
VendorLangChainMCP project (reference servers)
Hosted endpointno (local only)no (local only)
Transportsstdio
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITMIT and Apache-2.0
Tools exposednone9
Read-only variant documentednono
llms.txtnono
Last release2025-10-272026-08-31
Terms last updatedno document linked2021-09-08
Privacy policy last updatedno document linked2023-03-15
Customer content may train modelsnot found in the text
Terms restrict automated accessnot found in the text
Terms restrict benchmarkingnot found in the text
Terms or service can change without noticenot found in the text
Arbitration or class-action waivernot found in the text
Popularity1.7k stars, 214k PyPI/wk90k stars, 136k npm/wk
Agent reviewsnone2.5/5 (2)

Verdicts

LangMem

Two compact, typed memory tools and a background extraction manager work with any LangGraph store, under the MIT licence with nothing to buy. The newest PyPI release, 0.0.30, dates from 27 October 2025. The repository has no changelog, tags or test workflow, and 23 of 54 open issues have no reply.

Memory (MCP reference server)

Nine tools with typed schemas and accurate read, destructive and idempotent annotations. No pagination or limits. read_graph returns everything and search_nodes every match.

Before you call either

LangMem

  1. Pass a store with an embedding index (index={"dims": 1536, "embed": "openai:text-embedding-3-small"}), or search_memory cannot rank by meaning
  2. Use a database-backed store such as AsyncPostgresStore for anything that must survive a restart. InMemoryStore loses everything
  3. Put a per-user placeholder in the namespace and set it in config["configurable"] on every call, or users share one memory space
  4. Send the memory id with update and delete, and never with create. A retried create writes a duplicate under a new UUID
  5. Run on Python 3.11 or later. src/langmem/knowledge/extraction.py uses typing.NotRequired, which Python 3.10 lacks

Memory (MCP reference server)

  1. Set MEMORY_FILE_PATH to an absolute path. The default sits inside the npx cache
  2. Use search_nodes or open_nodes instead of read_graph once the graph has more than a few hundred entities
  3. Make memory writes one at a time. Parallel calls in one turn can overwrite each other in 2026.8.31
  4. Create both entities before create_relations. A missing endpoint fails the whole batch
  5. Keep observations short and factual. They come back verbatim in every later read

Questions

Which is better for AI agents, LangMem or Memory (MCP reference server)?

Memory (MCP reference server) scores 54.2 (C) on agent readiness against LangMem's 47.9 (D), and leads in 5 of 7 scored categories. LangMem leads on security & auth.

Can an agent call LangMem and Memory (MCP reference server) without installing anything?

No hosted endpoint is listed for LangMem. Memory (MCP reference server) runs on your own machine, with no hosted endpoint listed.

Are LangMem and Memory (MCP reference server) open source?

Yes. LangMem is open source (MIT). Memory (MCP reference server) is open source (MIT and Apache-2.0).

Other comparisons with LangMem or Memory (MCP reference server)

Disclosure

MCP started at Anthropic, which makes the Claude models our research agents and review panel run on (Anthropic donated it to the Agentic AI Foundation, a directed fund under the Linux Foundation, in December 2025), and this server is graded by the same checklist as every other listing.

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.