Skip to content
MCP server

QuoteMem

Long-term memory for AI agents that keeps the exact quote behind every fact

Runs locally

QuoteMem is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
0.3.3
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add quotemem -- npx -y quotemem

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "quotemem": {
      "command": "npx",
      "args": [
        "-y",
        "quotemem"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "quotemem": {
      "command": "npx",
      "args": [
        "-y",
        "quotemem"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "quotemem": {
      "command": "npx",
      "args": [
        "-y",
        "quotemem"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "quotemem": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "quotemem"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add quotemem -- npx -y quotemem

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.quotemem]
command = "npx"
args = ["-y", "quotemem"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "quotemem": {
      "command": "npx",
      "args": [
        "-y",
        "quotemem"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user quotemem npx -- -y quotemem

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "quotemem": {
          "command": "npx",
          "args": [
            "-y",
            "quotemem"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • QUOTEMEM_URLAddress of the QuoteMem memory service.
  • QUOTEMEM_TOKEN_FILEA file that holds only the service's token. Leave it unset for a service on this computer: the server then reads that service's token itself.
  • QUOTEMEM_USER_IDWhose memory the tools read and write. Default: your OS user name.

About QuoteMem

QuoteMem stores what a user tells an assistant as short statements, each tied back to the exact bytes of the message it came from. When a fact changes, the new version replaces the old one while the earlier version stays in the history, so an agent can see how a belief evolved.

Forgetting is handled as an explicit operation. A forget request removes matching memories from reads and blocks the same fact from being learned again, unless the user restates it in a later message. A confirm step lets a plan be reviewed before anything is erased through the API.

The service runs locally with one data folder and is shared by several coding and chat tools through plugins or an MCP server. It suits developers who want an auditable memory layer rather than a black-box recall store.

What it does

Quote-backed memories
Each stored fact points to the byte range of the message it was drawn from.
Versioned updates
Changed facts supersede earlier ones, which remain available as past versions.
Confirmed forgetting
Forget requests can be previewed as a plan and then confirmed before deletion.
Blocked re-learning
Forgotten facts are not re-added from later messages unless the user restates them.
Shared local service
One local memory store can serve several agent tools and users at once.
Memory history lookup
A tool returns the version history of a given memory.

Good for

  • Give a coding or chat agent memory of user preferences that can be traced to source text
  • Correct or update a remembered fact without losing the earlier record
  • Honour a user's request to forget something and verify it stays forgotten
  • Share one memory across several AI assistants on the same computer

Pricing

Open source

QuoteMem FAQ

How do I connect QuoteMem to an MCP client?

Add a server entry that runs npx -y quotemem mcp, as shown in the setup section.

Where is the memory stored?

In two SQLite files inside the workspace folder of the service's local data folder.

Which user's memory does the MCP server use?

It uses the QUOTEMEM_USER_ID variable, which defaults to the OS user name.

Is QuoteMem free?

Yes. QuoteMem is open source, so you can use and self-host it for free.

How do I add QuoteMem to Claude Code?

Run this command in your terminal: claude mcp add quotemem -- npx -y quotemem

What are the best alternatives to QuoteMem?

The closest alternatives to QuoteMem are UltraMemory, Membase, FactMem, Memwyre and Membase.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers