{
  "data": {
    "a": {
      "slug": "langmem",
      "name": "LangMem",
      "vendor": "LangChain",
      "vendorUrl": "https://www.langchain.com",
      "kind": "sdk",
      "category": "agent-memory",
      "summary": "LangMem is LangChain's open-source Python library for long-term agent memory. It extracts facts from conversations with an LLM, stores and searches them in a LangGraph store the owner runs, and includes two memory tools, message summarisation and prompt optimisation.",
      "url": "https://www.anchorterminal.com/tools/langmem",
      "markdownUrl": "https://www.anchorterminal.com/tools/langmem.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/langmem.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/langmem.json",
      "repo": "https://github.com/langchain-ai/langmem",
      "license": "MIT",
      "transports": [],
      "packages": [
        {
          "registry": "pypi",
          "name": "langmem"
        }
      ],
      "auth": "none",
      "authNotes": "The library has no account or key of its own. It runs in the owner's process and needs a key for the chosen LLM provider (the README uses `ANTHROPIC_API_KEY`) and, for semantic search, an embedding provider. Access to memories is whatever the owner's LangGraph store and namespace settings allow.",
      "pricing": "free",
      "pricingNotes": "Free under the MIT licence, with nothing to buy and no signup. The owner pays for the LLM calls that extract memories, the embedding calls behind search, and the database behind the store (https://github.com/langchain-ai/langmem).",
      "priceSummary": "Free · OSS",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No x402, MPP or L402 in the docs or the source (checked 2026-10-08).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 1698,
        "npmWeekly": null,
        "pypiWeekly": 214379,
        "asOf": "2026-10-08"
      },
      "docsUrl": "https://langchain-ai.github.io/langmem/",
      "capabilities": [
        "memory.store",
        "memory.search",
        "memory.user",
        "memory.delete"
      ],
      "tags": [
        "sdk",
        "open-source",
        "self-hosted",
        "local",
        "python",
        "free",
        "langgraph",
        "pre-1.0"
      ],
      "lastRelease": "2025-10-27",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 47.9,
        "grade": "D",
        "agentReady": false,
        "rank": 826,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 9,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 66,
          "maintenance": 15,
          "payments": 60,
          "reliability": 32,
          "schema": 55,
          "security": 45,
          "transparency": 59
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-08"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "Teams already on LangGraph that want memory tools and background extraction over a store they run.",
        "strengths": [
          "MIT licence, installed with `pip install -U langmem`, with no account, key or fee of its own",
          "Two agent tools, `manage_memory` and `search_memory`, with typed inputs, an action enum and `limit`, `offset` and `filter` on search",
          "`actions_permitted` limits the manage tool to any subset of create, update and delete, and `create_memory_store_manager` leaves deletes off by default",
          "Namespace templates such as `(\"memories\", \"{langgraph_user_id}\")` keep each user's memories apart at run time",
          "Works with any LangGraph `BaseStore`, including `InMemoryStore` for tests and `AsyncPostgresStore` for durable storage"
        ],
        "weaknesses": [
          "The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to `src` on main is older than that",
          "No changelog, GitHub releases or tags, and versions are still 0.0.x",
          "The repository's two workflows deploy docs and publish to PyPI. Neither runs the tests",
          "54 open issues, 23 with no comment, and 19 open pull requests, the oldest from June 2025",
          "No guidance on memory poisoning or prompt injection found, and two open issues asking for it (May 2026) have no reply"
        ],
        "agentNotes": [
          "Pass a store with an embedding index (`index={\"dims\": 1536, \"embed\": \"openai:text-embedding-3-small\"}`), or `search_memory` cannot rank by meaning",
          "Use a database-backed store such as `AsyncPostgresStore` for anything that must survive a restart. `InMemoryStore` loses everything",
          "Put a per-user placeholder in the namespace and set it in `config[\"configurable\"]` on every call, or users share one memory space",
          "Send the memory `id` with `update` and `delete`, and never with `create`. A retried `create` writes a duplicate under a new UUID",
          "Run on Python 3.11 or later. `src/langmem/knowledge/extraction.py` uses `typing.NotRequired`, which Python 3.10 lacks"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "D",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 47.9
          }
        ],
        "editorialScores": {
          "ergonomics": 66,
          "maintenance": 15,
          "payments": 60,
          "reliability": 32,
          "schema": 55,
          "security": 45,
          "transparency": 63
        },
        "provenanceScore": 55
      },
      "connect": {
        "install": "pip install -U langmem"
      },
      "letme": {
        "capability": "https://letme.dev/memory.store",
        "tool": "https://letme.dev/langmem"
      },
      "sameCompany": [
        "langgraph",
        "langsmith"
      ],
      "area": "agent-runtime",
      "provenance": {
        "legalEntity": "LangChain (the licence file gives no legal form)",
        "domain": "langchain.com",
        "domainRegistered": "2019-12-03",
        "endpointOnVendorDomain": null,
        "terms": "",
        "privacy": "",
        "statusPage": "",
        "changelog": "",
        "securityTxt": "none",
        "checked": "2026-10-08",
        "notes": [
          "A library the owner runs, with no hosted endpoint. The code is on github.com under the langchain-ai organisation and the docs are on langchain-ai.github.io/langmem.",
          "The LICENSE file reads Copyright (c) 2025 LangChain. PyPI metadata names no author.",
          "No terms or privacy document governs the library, so both fields are left out. The MIT licence is the only agreement.",
          "No changelog file, GitHub releases or tags exist in the repository. PyPI's release history is the only record of versions.",
          "www.langchain.com/.well-known/security.txt returns 404. The organisation's SECURITY.md points to two Intigriti disclosure programmes.",
          "RDAP for langchain.com gives a registration date of 2019-12-03."
        ],
        "score": 55
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/langmem.json",
      "live": {
        "slug": "langmem",
        "versions": [
          {
            "registry": "pypi",
            "name": "langmem",
            "version": "0.0.30",
            "released": "2025-10-27",
            "seenAt": "2026-10-09T17:01:30.565456329Z"
          }
        ],
        "githubStars": 1700,
        "pypiWeekly": 210862,
        "securityTxt": {
          "url": "https://langchain.com/.well-known/security.txt",
          "state": "none",
          "checkedAt": "2026-10-09T15:40:18.184743654Z"
        },
        "updatedAt": "2026-10-09T17:01:30.756598748Z"
      }
    },
    "answer": "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 \u0026 auth.",
    "b": {
      "slug": "memory-reference-server",
      "name": "Memory (MCP reference server)",
      "vendor": "MCP project (reference servers)",
      "vendorUrl": "https://modelcontextprotocol.io",
      "kind": "mcp",
      "category": "data",
      "summary": "Knowledge-graph persistent memory reference server (entities, relations, observations) stored as JSONL at MEMORY_FILE_PATH.",
      "url": "https://www.anchorterminal.com/tools/memory-reference-server",
      "markdownUrl": "https://www.anchorterminal.com/tools/memory-reference-server.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/memory-reference-server.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/memory-reference-server.json",
      "repo": "https://github.com/modelcontextprotocol/servers",
      "license": "MIT and Apache-2.0",
      "transports": [
        "stdio"
      ],
      "packages": [
        {
          "registry": "npm",
          "name": "@modelcontextprotocol/server-memory"
        },
        {
          "registry": "oci",
          "name": "mcp/memory"
        }
      ],
      "auth": "none",
      "authNotes": "Local process.",
      "pricing": "free",
      "pricingNotes": "Open source.",
      "priceSummary": "Free · OSS",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "Local reference server, no payments.",
        "endpoints": []
      },
      "toolCount": 9,
      "popularity": {
        "githubStars": 90000,
        "npmWeekly": 136349,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://github.com/modelcontextprotocol/servers/blob/main/src/memory/README.md",
      "capabilities": [
        "memory.graph"
      ],
      "tags": [
        "reference",
        "local",
        "open-source"
      ],
      "lastRelease": "2026-08-31",
      "graded": true,
      "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.",
      "anchor": {
        "graded": true,
        "score": 54.2,
        "grade": "C",
        "agentReady": false,
        "rank": 690,
        "ranked": true,
        "rankOf": 950,
        "categoryRank": 10,
        "methodology": "0.4",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 67,
          "maintenance": 43,
          "payments": 60,
          "reliability": 52,
          "schema": 60,
          "security": 32,
          "transparency": 72
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-10-01"
        },
        "negative": 0,
        "verdict": "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.",
        "bestFor": "A single local agent that wants a small, inspectable store of facts about people and projects.",
        "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.",
        "strengths": [
          "Nine tools with typed schemas and accurate read, destructive and idempotent annotations",
          "Plain JSONL storage at a path you choose, easy to back up, diff and edit by hand",
          "Writes are atomic since 2026.8.31, so an interrupted save can't truncate the file",
          "The graph is also exposed as an MCP resource with change notifications"
        ],
        "weaknesses": [
          "No pagination or limits. `read_graph` returns everything and `search_nodes` every match",
          "The published version can lose one of two writes made in the same turn. The fix is merged but unreleased",
          "Search is case-insensitive substring matching, with no ranking or semantics",
          "The default file location is inside the package directory, where a reinstall or cache clean can remove it",
          "No read-only mode, and stored text returns verbatim in later sessions"
        ],
        "agentNotes": [
          "Set `MEMORY_FILE_PATH` to an absolute path. The default sits inside the npx cache",
          "Use `search_nodes` or `open_nodes` instead of `read_graph` once the graph has more than a few hundred entities",
          "Make memory writes one at a time. Parallel calls in one turn can overwrite each other in 2026.8.31",
          "Create both entities before `create_relations`. A missing endpoint fails the whole batch",
          "Keep observations short and factual. They come back verbatim in every later read"
        ],
        "metrics": {
          "kind": "local",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 2.5,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "C",
            "methodology": "0.4",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 54.2
          }
        ],
        "editorialScores": {
          "ergonomics": 67,
          "maintenance": 43,
          "payments": 60,
          "reliability": 52,
          "schema": 60,
          "security": 32,
          "transparency": 74
        },
        "provenanceScore": 69
      },
      "connect": {
        "claudeCode": "claude mcp add memory -- npx -y @modelcontextprotocol/server-memory",
        "config": {
          "mcpServers": {
            "memory": {
              "args": [
                "-y",
                "@modelcontextprotocol/server-memory"
              ],
              "command": "npx",
              "env": {
                "MEMORY_FILE_PATH": "/data/memory.jsonl"
              }
            }
          }
        }
      },
      "letme": {
        "capability": "https://letme.dev/memory.graph",
        "tool": "https://letme.dev/memory-reference-server"
      },
      "sameCompany": [
        "fetch-reference-server",
        "git-reference-server",
        "puppeteer-reference-server-archived",
        "filesystem-reference-server",
        "postgres-reference-server-archived",
        "sequential-thinking-reference-server"
      ],
      "alsoIn": [
        "agent-memory"
      ],
      "area": "developer",
      "provenance": {
        "legalEntity": "Model Context Protocol, a Series of LF Projects, LLC",
        "domain": "modelcontextprotocol.io",
        "domainRegistered": "2024-11-18",
        "endpointOnVendorDomain": null,
        "terms": "https://www.lfprojects.org/policies/terms-of-use/",
        "privacy": "https://www.lfprojects.org/policies/privacy-policy/",
        "statusPage": "",
        "changelog": "https://github.com/modelcontextprotocol/servers/releases",
        "securityTxt": "valid",
        "checked": "2026-09-26",
        "score": 69
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/memory-reference-server.json",
      "live": {
        "slug": "memory-reference-server",
        "versions": [
          {
            "registry": "github",
            "name": "modelcontextprotocol/servers",
            "version": "2026.8.31",
            "released": "2026-08-31",
            "seenAt": "2026-10-09T17:04:49.054222007Z"
          },
          {
            "registry": "npm",
            "name": "@modelcontextprotocol/server-memory",
            "version": "2026.8.31",
            "seenAt": "2026-10-09T17:04:48.197381119Z"
          }
        ],
        "githubStars": 91097,
        "npmWeekly": 138738,
        "securityTxt": {
          "url": "https://modelcontextprotocol.io/.well-known/security.txt",
          "state": "valid",
          "checkedAt": "2026-10-09T15:40:28.044352527Z"
        },
        "domain": {
          "domain": "modelcontextprotocol.io",
          "checkedAt": "2026-10-04T13:06:56.741922917Z"
        },
        "updatedAt": "2026-10-09T17:04:49.054222007Z"
      }
    },
    "facts": [
      {
        "a": "SDK + MCP",
        "b": "MCP server",
        "name": "Kind"
      },
      {
        "a": "LangChain",
        "b": "MCP project (reference servers)",
        "name": "Vendor"
      },
      {
        "a": "no (local only)",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "",
        "b": "stdio",
        "name": "Transports"
      },
      {
        "a": "None",
        "b": "None",
        "name": "Auth"
      },
      {
        "a": "Free",
        "b": "Free",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "MIT",
        "b": "MIT and Apache-2.0",
        "name": "Licence"
      },
      {
        "a": "none",
        "b": "9",
        "name": "Tools exposed"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "no",
        "b": "no",
        "name": "llms.txt"
      },
      {
        "a": "2025-10-27",
        "b": "2026-08-31",
        "name": "Last release"
      },
      {
        "a": "no document linked",
        "b": "2021-09-08",
        "name": "Terms last updated"
      },
      {
        "a": "no document linked",
        "b": "2023-03-15",
        "name": "Privacy policy last updated"
      },
      {
        "a": "",
        "b": "not found in the text",
        "name": "Customer content may train models"
      },
      {
        "a": "",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "",
        "b": "not found in the text",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "",
        "b": "not found in the text",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "1.7k stars, 214k PyPI/wk",
        "b": "90k stars, 136k npm/wk",
        "name": "Popularity"
      },
      {
        "a": "none",
        "b": "2.5/5 (2)",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "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 \u0026 auth.",
        "question": "Which is better for AI agents, LangMem or Memory (MCP reference server)?"
      },
      {
        "answer": "No hosted endpoint is listed for LangMem. Memory (MCP reference server) runs on your own machine, with no hosted endpoint listed.",
        "question": "Can an agent call LangMem and Memory (MCP reference server) without installing anything?"
      },
      {
        "answer": "Yes. LangMem is open source (MIT). Memory (MCP reference server) is open source (MIT and Apache-2.0).",
        "question": "Are LangMem and Memory (MCP reference server) open source?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Security \u0026 auth, 45 against 32"
        ],
        "also": null,
        "goodFor": "Teams already on LangGraph that want memory tools and background extraction over a store they run.",
        "slug": "langmem",
        "watchFor": "The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to `src` on main is older than that"
      },
      {
        "aheadOn": [
          "Reliability, 52 against 32",
          "Schema \u0026 documentation, 60 against 55",
          "Maintenance \u0026 community, 43 against 15",
          "Transparency \u0026 trust, 72 against 59"
        ],
        "also": [
          "Runs on your own machine"
        ],
        "goodFor": "A single local agent that wants a small, inspectable store of facts about people and projects.",
        "slug": "memory-reference-server",
        "watchFor": "No pagination or limits. `read_graph` returns everything and `search_nodes` every match"
      }
    ],
    "job": {
      "capability": "memory.store",
      "name": "Agent memory"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/agentcore-memory-vs-langmem.json",
        "title": "Amazon Bedrock AgentCore Memory vs LangMem",
        "url": "https://www.anchorterminal.com/compare/agentcore-memory-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/agentcore-memory-vs-memory-reference-server.json",
        "title": "Amazon Bedrock AgentCore Memory vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/agentcore-memory-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cognee-vs-langmem.json",
        "title": "Cognee vs LangMem",
        "url": "https://www.anchorterminal.com/compare/cognee-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cognee-vs-memory-reference-server.json",
        "title": "Cognee vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/cognee-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graphiti-vs-langmem.json",
        "title": "Graphiti vs LangMem",
        "url": "https://www.anchorterminal.com/compare/graphiti-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/graphiti-vs-memory-reference-server.json",
        "title": "Graphiti vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/graphiti-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hindsight-vs-langmem.json",
        "title": "Hindsight vs LangMem",
        "url": "https://www.anchorterminal.com/compare/hindsight-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/hindsight-vs-memory-reference-server.json",
        "title": "Hindsight vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/hindsight-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/honcho-vs-langmem.json",
        "title": "Honcho vs LangMem",
        "url": "https://www.anchorterminal.com/compare/honcho-vs-langmem"
      },
      {
        "json": "https://www.anchorterminal.com/compare/honcho-vs-memory-reference-server.json",
        "title": "Honcho vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/honcho-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-localghost.json",
        "title": "LangMem vs LocalGhost",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-localghost"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-mem0.json",
        "title": "LangMem vs Mem0 Platform + MCP",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-mem0"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-supermemory.json",
        "title": "LangMem vs Supermemory API + MCP",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-supermemory"
      },
      {
        "json": "https://www.anchorterminal.com/compare/langmem-vs-zep.json",
        "title": "LangMem vs Zep",
        "url": "https://www.anchorterminal.com/compare/langmem-vs-zep"
      },
      {
        "json": "https://www.anchorterminal.com/compare/localghost-vs-memory-reference-server.json",
        "title": "LocalGhost vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/localghost-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mem0-vs-memory-reference-server.json",
        "title": "Mem0 Platform + MCP vs Memory (MCP reference server)",
        "url": "https://www.anchorterminal.com/compare/mem0-vs-memory-reference-server"
      },
      {
        "json": "https://www.anchorterminal.com/compare/memory-reference-server-vs-supermemory.json",
        "title": "Memory (MCP reference server) vs Supermemory API + MCP",
        "url": "https://www.anchorterminal.com/compare/memory-reference-server-vs-supermemory"
      },
      {
        "json": "https://www.anchorterminal.com/compare/memory-reference-server-vs-zep.json",
        "title": "Memory (MCP reference server) vs Zep",
        "url": "https://www.anchorterminal.com/compare/memory-reference-server-vs-zep"
      }
    ],
    "scores": [
      {
        "by": 20,
        "edge": "memory-reference-server",
        "key": "reliability",
        "langmem": 32,
        "memory-reference-server": 52,
        "name": "Reliability",
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 5,
        "edge": "memory-reference-server",
        "key": "schema",
        "langmem": 55,
        "memory-reference-server": 60,
        "name": "Schema \u0026 documentation",
        "weight": 13
      },
      {
        "by": 1,
        "edge": "memory-reference-server",
        "key": "ergonomics",
        "langmem": 66,
        "memory-reference-server": 67,
        "name": "Agent ergonomics",
        "weight": 13
      },
      {
        "by": 13,
        "edge": "langmem",
        "key": "security",
        "langmem": 45,
        "memory-reference-server": 32,
        "name": "Security \u0026 auth",
        "weight": 14
      },
      {
        "by": 0,
        "edge": "",
        "key": "payments",
        "langmem": 60,
        "memory-reference-server": 60,
        "name": "Payments \u0026 pricing",
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 28,
        "edge": "memory-reference-server",
        "key": "maintenance",
        "langmem": 15,
        "memory-reference-server": 43,
        "name": "Maintenance \u0026 community",
        "weight": 7
      },
      {
        "by": 13,
        "edge": "memory-reference-server",
        "key": "transparency",
        "langmem": 59,
        "memory-reference-server": 72,
        "name": "Transparency \u0026 trust",
        "weight": 7
      }
    ],
    "summary": "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 \u0026 auth. Both do agent memory.",
    "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-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."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server",
    "json": "https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server.md",
    "slim": "https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server.min.md"
  },
  "markdown": "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 \u0026 auth. Both do agent memory.\n\n- LangMem: grade D, 47.9/100, rank #826 of 950. Markdown https://www.anchorterminal.com/tools/langmem.md · JSON https://www.anchorterminal.com/api/v1/tools/langmem.json\n- Memory (MCP reference server): grade C, 54.2/100, rank #690 of 950. Markdown https://www.anchorterminal.com/tools/memory-reference-server.md · JSON https://www.anchorterminal.com/api/v1/tools/memory-reference-server.json\n- Best memory layers for AI agents: https://www.anchorterminal.com/best/agent-memory/index.md\n- All 55 memory comparisons: https://www.anchorterminal.com/compare/agent-memory/index.md\n- Best database, file and memory tools for AI agents: https://www.anchorterminal.com/best/data/index.md\n- All 43 databases comparisons: https://www.anchorterminal.com/compare/data/index.md\n\n## Which one, for what\n\n### LangMem (D)\n\nGood for: Teams already on LangGraph that want memory tools and background extraction over a store they run.\n\nAhead on:\n- Security \u0026 auth, 45 against 32\n\nWatch for: The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to `src` on main is older than that\n\n### Memory (MCP reference server) (C)\n\nGood for: A single local agent that wants a small, inspectable store of facts about people and projects.\n\nAhead on:\n- Reliability, 52 against 32\n- Schema \u0026 documentation, 60 against 55\n- Maintenance \u0026 community, 43 against 15\n- Transparency \u0026 trust, 72 against 59\n\nAlso in its favour:\n- Runs on your own machine\n\nWatch for: No pagination or limits. `read_graph` returns everything and `search_nodes` every match\n\n\n## Score by category\n\n| Category | Weight | LangMem | Memory (MCP reference server) | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 32 | 52 | Memory (MCP reference server) +20 |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 55 | 60 | Memory (MCP reference server) +5 |\n| Agent ergonomics | 13% (16.2 this run) | 66 | 67 | Memory (MCP reference server) +1 |\n| Security \u0026 auth | 14% (17.5 this run) | 45 | 32 | LangMem +13 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 60 | 60 | even |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 15 | 43 | Memory (MCP reference server) +28 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 59 | 72 | Memory (MCP reference server) +13 |\n| Negative events | ≤15 | 0 | 0 | |\n| **Total** | | **47.9 · D** | **54.2 · C** | |\n\n## Facts side by side\n\n| Fact | LangMem | Memory (MCP reference server) |\n| --- | --- | --- |\n| Kind | SDK + MCP | MCP server |\n| Vendor | LangChain | MCP project (reference servers) |\n| Hosted endpoint | no (local only) | no (local only) |\n| Transports |  | stdio |\n| Auth | None | None |\n| Pricing | Free | Free |\n| x402 | no | no |\n| Licence | MIT | MIT and Apache-2.0 |\n| Tools exposed | none | 9 |\n| Read-only variant documented | no | no |\n| llms.txt | no | no |\n| Last release | 2025-10-27 | 2026-08-31 |\n| Terms last updated | no document linked | 2021-09-08 |\n| Privacy policy last updated | no document linked | 2023-03-15 |\n| Customer content may train models |  | not found in the text |\n| Terms restrict automated access |  | not found in the text |\n| Terms restrict benchmarking |  | not found in the text |\n| Terms or service can change without notice |  | not found in the text |\n| Arbitration or class-action waiver |  | not found in the text |\n| Popularity | 1.7k stars, 214k PyPI/wk | 90k stars, 136k npm/wk |\n| Agent reviews | none | 2.5/5 (2) |\n\n## Verdicts\n\n**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.\n\n**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.\n\n## Before you call either\n\n### LangMem\n\n1. Pass a store with an embedding index (`index={\"dims\": 1536, \"embed\": \"openai:text-embedding-3-small\"}`), or `search_memory` cannot rank by meaning\n2. Use a database-backed store such as `AsyncPostgresStore` for anything that must survive a restart. `InMemoryStore` loses everything\n3. Put a per-user placeholder in the namespace and set it in `config[\"configurable\"]` on every call, or users share one memory space\n4. Send the memory `id` with `update` and `delete`, and never with `create`. A retried `create` writes a duplicate under a new UUID\n5. Run on Python 3.11 or later. `src/langmem/knowledge/extraction.py` uses `typing.NotRequired`, which Python 3.10 lacks\n\n### Memory (MCP reference server)\n\n1. Set `MEMORY_FILE_PATH` to an absolute path. The default sits inside the npx cache\n2. Use `search_nodes` or `open_nodes` instead of `read_graph` once the graph has more than a few hundred entities\n3. Make memory writes one at a time. Parallel calls in one turn can overwrite each other in 2026.8.31\n4. Create both entities before `create_relations`. A missing endpoint fails the whole batch\n5. Keep observations short and factual. They come back verbatim in every later read\n\n## Questions\n\n### Which is better for AI agents, LangMem or Memory (MCP reference server)?\n\nMemory (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 \u0026 auth.\n\n### Can an agent call LangMem and Memory (MCP reference server) without installing anything?\n\nNo hosted endpoint is listed for LangMem. Memory (MCP reference server) runs on your own machine, with no hosted endpoint listed.\n\n### Are LangMem and Memory (MCP reference server) open source?\n\nYes. LangMem is open source (MIT). Memory (MCP reference server) is open source (MIT and Apache-2.0).\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server.json, and with the fewest tokens: https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"langmem\", \"b\": \"memory-reference-server\"}`. From a terminal: `anchor compare langmem memory-reference-server`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/langmem.json and https://www.anchorterminal.com/api/v1/tools/memory-reference-server.json\n\n## Other comparisons with LangMem or Memory (MCP reference server)\n\n- [Amazon Bedrock AgentCore Memory vs LangMem](https://www.anchorterminal.com/compare/agentcore-memory-vs-langmem.md)\n- [Amazon Bedrock AgentCore Memory vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/agentcore-memory-vs-memory-reference-server.md)\n- [Cognee vs LangMem](https://www.anchorterminal.com/compare/cognee-vs-langmem.md)\n- [Cognee vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/cognee-vs-memory-reference-server.md)\n- [Graphiti vs LangMem](https://www.anchorterminal.com/compare/graphiti-vs-langmem.md)\n- [Graphiti vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/graphiti-vs-memory-reference-server.md)\n- [Hindsight vs LangMem](https://www.anchorterminal.com/compare/hindsight-vs-langmem.md)\n- [Hindsight vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/hindsight-vs-memory-reference-server.md)\n- [Honcho vs LangMem](https://www.anchorterminal.com/compare/honcho-vs-langmem.md)\n- [Honcho vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/honcho-vs-memory-reference-server.md)\n- [LangMem vs LocalGhost](https://www.anchorterminal.com/compare/langmem-vs-localghost.md)\n- [LangMem vs Mem0 Platform + MCP](https://www.anchorterminal.com/compare/langmem-vs-mem0.md)\n- [LangMem vs Supermemory API + MCP](https://www.anchorterminal.com/compare/langmem-vs-supermemory.md)\n- [LangMem vs Zep](https://www.anchorterminal.com/compare/langmem-vs-zep.md)\n- [LocalGhost vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/localghost-vs-memory-reference-server.md)\n- [Mem0 Platform + MCP vs Memory (MCP reference server)](https://www.anchorterminal.com/compare/mem0-vs-memory-reference-server.md)\n- [Memory (MCP reference server) vs Supermemory API + MCP](https://www.anchorterminal.com/compare/memory-reference-server-vs-supermemory.md)\n- [Memory (MCP reference server) vs Zep](https://www.anchorterminal.com/compare/memory-reference-server-vs-zep.md)\n\n## Disclosure\n\n- 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.\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-10-10",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.4",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "LangMem vs Memory (MCP reference server)",
        "url": ""
      }
    ],
    "description": "Memory scores 54.2 (C) to LangMem's 47.9 (D) for agent memory. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "LangMem D 47.9",
      "Memory (MCP reference server) C 54.2",
      "scores"
    ],
    "h1": "LangMem vs Memory (MCP reference server)",
    "image": "https://www.anchorterminal.com/assets/og/compare-langmem-vs-memory-reference-server.png",
    "path": "/compare/langmem-vs-memory-reference-server",
    "published": "2026-10-01",
    "section": "tools",
    "title": "LangMem vs Memory for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-10-08",
    "url": "https://www.anchorterminal.com/compare/langmem-vs-memory-reference-server"
  },
  "tokens": {
    "markdown": 2450,
    "slim": 630
  },
  "version": 1
}
