# Mnema

> Mnema is an open-source MCP server. Local-first, formally verified memory for AI agents: consult/learn/related/list over MCP. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://mnema.zimac.ai
- **Repository:** https://github.com/zimac-ai/mnema
- **MCP Registry name:** ai.zimac/mnema
- **Listing updated:** 2026-11-13

## About

Local-first, formally verified memory for AI agents: consult/learn/related/list over MCP.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mnema --env MNEMA_TOKEN='<MNEMA_TOKEN>' -- npx -y https://github.com/Zimac-AI/mnema/releases/download/v0.2.0/mnema-0.2.0-macos-universal.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mnema": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Zimac-AI/mnema/releases/download/v0.2.0/mnema-0.2.0-macos-universal.mcpb"
      ],
      "env": {
        "MNEMA_TOKEN": "<MNEMA_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mnema": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Zimac-AI/mnema/releases/download/v0.2.0/mnema-0.2.0-macos-universal.mcpb"
      ],
      "env": {
        "MNEMA_TOKEN": "<MNEMA_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mnema": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Zimac-AI/mnema/releases/download/v0.2.0/mnema-0.2.0-macos-universal.mcpb"
      ],
      "env": {
        "MNEMA_TOKEN": "<MNEMA_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mnema": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Zimac-AI/mnema/releases/download/v0.2.0/mnema-0.2.0-macos-universal.mcpb"
      ],
      "env": {
        "MNEMA_TOKEN": "<MNEMA_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mnema": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/Zimac-AI/mnema/releases/download/v0.2.0/mnema-0.2.0-macos-universal.mcpb"
      ],
      "env": {
        "MNEMA_TOKEN": "<MNEMA_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is Mnema free?

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

### How do I add Mnema to Claude Code?

Run this command in your terminal: claude mcp add mnema --env MNEMA_TOKEN='<MNEMA_TOKEN>' -- npx -y https://github.com/Zimac-AI/mnema/releases/download/v0.2.0/mnema-0.2.0-macos-universal.mcpb

---
Source: https://ai-powered.com/mcp/mnema
