Skip to content
MCP server

Mnemex

Temporal memory for AI with decay and reinforcement. Two-layer storage (JSONL + Markdown).

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

About Mnemex

Mnemex 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 mnemex -- uvx mnemex

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mnemex": {
      "command": "uvx",
      "args": [
        "mnemex"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mnemex": {
      "command": "uvx",
      "args": [
        "mnemex"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mnemex": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mnemex"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "mnemex": {
      "command": "uvx",
      "args": [
        "mnemex"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "mnemex": {
      "command": "uvx",
      "args": [
        "mnemex"
      ]
    }
  }
}

Configuration

  • MNEMEX_STORAGE_PATHStorage path for short-term memory JSONL files
  • LTM_VAULT_PATHPath to Obsidian vault for long-term memory
  • MNEMEX_DECAY_MODELDecay model: power_law (default), exponential, or two_component
  • MNEMEX_PL_HALFLIFE_DAYSHalf-life in days for power-law decay model

Pricing

Open source

Mnemex FAQ

Is Mnemex free?

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

How do I add Mnemex to Claude Code?

Run this command in your terminal: claude mcp add mnemex -- uvx mnemex