Skip to content
MCP server

Memoir

Structured session journals for AI agents. Persistent memory across sessions.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.3
Listing updated
4 days ago

About Memoir

Memoir is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add memoir -- npx -y memoir-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "memoir": {
      "command": "npx",
      "args": [
        "-y",
        "memoir-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "memoir": {
      "command": "npx",
      "args": [
        "-y",
        "memoir-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "memoir": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "memoir-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

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

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

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

Configuration

  • MEMOIR_MAX_CONTENTMax characters for content fields
  • MEMOIR_MAX_OUTCOMEMax characters for outcome/resolution fields
  • MEMOIR_MAX_ENTRIESMax entries per session
  • MEMOIR_MAX_SESSIONSMax sessions per project (rolling)

Pricing

Open source

Memoir FAQ

Is Memoir free?

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

How do I add Memoir to Claude Code?

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