Skip to main content
Glama
multitude-memory

multitude-memory

Official
by trymultitude

Multitude memory

One memory for every AI you use.

This repository holds the open pieces behind Multitude's shared memory:

Everything here is MIT licensed. You can run the server yourself, build your own server against the spec, or use the hosted version at https://app.trymultitude.com/mcp, which adds sign-in, teams, sync across devices and one chat with every model.

Why

Every AI tool now has its own memory, and none of them share it. What you tell ChatGPT, Claude Code doesn't know. What Cursor learns about your codebase, Claude doesn't know. A memory is only worth something if it follows you, so the format should be open and the data should be yours to export.

Related MCP server: Runar

Quick start (self-hosted, local)

You need Node.js 18 or newer. No install step is needed.

git clone https://github.com/trymultitude/multitude-memory
cd multitude-memory
npm test   # unit tests plus the conformance suite against the reference server

Memory is stored in ~/.multitude/memory.json (set MULTITUDE_MEMORY_FILE to change it). The file is plain Multitude Memory Format, so you can read it, back it up or move it to another tool.

Claude Desktop, Cursor, Windsurf and other MCP clients

Add this to the client's MCP settings (for Claude Desktop: Settings > Developer > Edit Config; for Cursor: ~/.cursor/mcp.json):

{
  "mcpServers": {
    "multitude-memory": {
      "command": "node",
      "args": ["/absolute/path/to/multitude-memory/server/index.mjs"]
    }
  }
}

Claude Code

claude mcp add multitude-memory -- node /absolute/path/to/multitude-memory/server/index.mjs

Over HTTP

MULTITUDE_MEMORY_TOKEN=choose-a-long-random-string node server/index.mjs --http 8787

The server listens on http://127.0.0.1:8787/mcp and requires Authorization: Bearer <token> when MULTITUDE_MEMORY_TOKEN is set. It binds to localhost only; put it behind TLS and your own authentication before exposing it anywhere else.

Hosted version

To share one memory across ChatGPT, Claude, Gemini, Cursor and Claude Code without running anything, connect to:

https://app.trymultitude.com/mcp

It uses standard MCP sign-in (OAuth), so clients that support it open a Multitude sign-in and consent screen. Headless agents can use a memory key from Settings > Connected AIs instead. Setup steps for each client are in the docs, and the privacy policy covers what is stored.

The tools

Tool

What it does

Changes data?

multitude_brief

Loads a short brief of the most relevant current memories for a task. Call it once at the start.

No (read-only)

multitude_recall

Searches memory for a specific fact, decision or convention. Returns current versions only.

No (read-only)

multitude_remember

Saves one durable learning in a plain sentence. Reusing a key replaces the older version and keeps it in history.

Adds a memory, never deletes

The server refuses to store text that looks like an API key, token, private key or password (see section 5 of the spec).

Conformance

Test any memory server or export file against the spec:

node conformance/run.mjs --stdio "node server/index.mjs"
node conformance/run.mjs --url https://your-server.example/mcp --token <bearer>
node conformance/run.mjs --file my-export.json

The server checks write a few memories with keys starting conformance-, so point it at a test workspace. It exits non-zero if any required check fails, and lists recommended checks as warnings.

Publishing to the MCP Registry

server.json describes the hosted server for the official MCP Registry. The Publish to MCP Registry workflow publishes it on every v* tag using GitHub OIDC, so no stored secrets are needed.

Security

  • No telemetry. The reference server makes no network calls; it reads and writes one local file.

  • The memory file is written with 0600 permissions.

  • CI runs gitleaks on every push.

  • Report vulnerabilities to security@trymultitude.com rather than in a public issue.

Contributing

Issues and pull requests are welcome. Changes to the format go through the spec first: open an issue describing the change and why. Minor versions only add optional fields, so existing files keep working.

Licence

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides AI clients with a persistent, readable and writable long-term memory layer over MCP, enabling creation, retrieval, tagging, updating, and deletion of memories across sessions.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Provides AI agents with durable, searchable project memory, session notes, skills, and bounded context packs over MCP while leaving orchestration to the client.
      15
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables MCP-compatible clients to maintain a local-first long-term memory by recording decisions, facts, and preferences, retrieving relevant past context, consolidating entries, and anchoring local file paths.
      4
      43 npm
      MIT