Memory

modelcontextprotocol@modelcontextprotocol92.4Kon modelcontextprotocol/serversMCP server

Memory MCP Server (Knowledge Graph) is the reference MCP memory server from the Model Context Protocol project: it gives Claude and other clients…

MCP configuration 1

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "memory": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-v",
        "claude-memory:/app/dist",
        "--rm",
        "mcp/memory"
      ]
    }
  }
}

Use this in your own environment. Copying text here does not run it.

Made forDevelopment
What you needAn MCP client that accepts server configuration
Project links
Sources checked2026-11-02

How to use it

  1. Open the listing page and read the server's documentation.
  2. Copy the configuration or command into your MCP client.
  3. Restart the client and try one of the server's tools.

Other setup options

MCP configuration 2

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ],
      "env": {
        "MEMORY_FILE_PATH": "/path/to/custom/memory.jsonl"
      }
    }
  }
}

MCP configuration 3

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "memory": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "-v",
        "claude-memory:/app/dist",
        "--rm",
        "mcp/memory"
      ]
    }
  }
}

Claude Code command

Run on your own machine to add this server to Claude Code.

claude mcp add memory -e MEMORY_FILE_PATH=/path/to/custom/memory.jsonl -- npx -y @modelcontextprotocol/server-memory

Security checks

Automated checks, last run Nov 23, 2026. They can miss problems and do not guarantee a listing is safe. Read the source and what you are asked to run before you use it.

4 of 4 checks passed
  • PassedSetup commands and descriptionLayer 1

    No blocking patterns. Notes are listed in the evidence.

    Evidence (1)
    note: unpinned-package
    memory: npx runs "@modelcontextprotocol/server-memory" without a pinned version, so whoever owns that package name can change what runs

    Source: AIWantsThis screening rules

  • PassedInstall scripts and package statusLayer 2

    The npm package runs no code at install time and is not deprecated.

    Source: npm registry

  • PassedKnown vulnerabilities in the packageLayer 2

    OSV.dev lists no advisories for this package.

    Evidence (1)
    @modelcontextprotocol/[email protected]
    No advisories listed in OSV.dev.

    Source: OSV.dev

  • PassedSource repositoryLayer 2

    The repository is public, not archived and has recent activity.

    Evidence (3)
    Last push
    2026-11-19
    Archived
    no
    License
    none declared

    Source: GitHub