# Mneme Memory MCP server

> Provides cross-session memory for AI agents using a local-first SQLite store with automated deduplication, conflict resolution, and Markdown synchronization.

- Repository: https://github.com/slow-stack/mneme
- Page: https://hostedmcp.org/servers/slow-stack/mneme
- Transport: stdio
- Stars: 223
- License: MIT
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add mneme -- npx -y mneme-memory
```

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

```json
{
  "mcpServers": {
    "mneme": {
      "command": "npx",
      "args": [
        "-y",
        "mneme-memory"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mneme": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mneme-memory"
      ]
    }
  }
}
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mneme": {
      "command": "npx",
      "args": [
        "-y",
        "mneme-memory"
      ]
    }
  }
}
```

### Codex (`~/.codex/config.toml`)

```toml
[mcp_servers.mneme]
command = "npx"
args = ["-y", "mneme-memory"]
```

### Gemini CLI (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mneme": {
      "command": "npx",
      "args": [
        "-y",
        "mneme-memory"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MNEME_TOKEN` | no | no |  |

## FAQ

### Is my data private?

Yes, memory is stored locally in a SQLite database and mirrored as Markdown files on your machine. It does not pass through any Mneme servers.

### Does it require an internet connection for searching?

You can run semantic retrieval completely offline by setting the embedProvider to local, which uses local embeddings and reranking.
