# PADAM · NOCTURNE memory

> PADAM · NOCTURNE memory is an MCP server for knowledge and memory. Local-first memory for AI agents that consolidates at night and forgets on request. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** Linux, macOS, Windows, CLI
- **Website:** https://aifa.works
- **Repository:** https://github.com/maksimgalatin/padam-nocturne
- **MCP Registry name:** io.github.MaksimGalatin/padam-nocturne
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-18

## About

NOCTURNE borrows from sleep: memories are stored in a local SQLite file, and a consolidation pass merges repeats and resolves contradictions. The registry lists a PADAM_STRICT switch that turns on every guard at once, so each agent write waits for the owner's review and settings that weaken protection are ignored.

Forgetting is meant to be verifiable rather than silent, which the project calls honest forgetting. The database path defaults to ~/.padam/memory.db, and embeddings come from a local Ollama if you point OLLAMA_URL at one, otherwise a built-in method is used.

The server is distributed on PyPI over stdio. The website it links to belongs to a wider group of projects, including an accessibility scanner, so the memory protocol is one product among several there.

## Features

- **Sleep-style consolidation:** Merges repeated memories and resolves contradictions in a periodic pass.
- **Verifiable forgetting:** Removes memories on request in a way that can be checked.
- **Local SQLite storage:** Keeps everything in a file you choose, default ~/.padam/memory.db.
- **Strict mode:** One variable makes agent writes wait for owner review.
- **Optional Ollama embeddings:** Uses a local Ollama for embeddings, with a built-in fallback.

## Good for

- Give a coding agent long-term memory that stays on your machine
- Require review before an agent saves anything
- Delete a memory and be able to confirm it is gone

## Install

### Claude Code (Terminal)

```sh
claude mcp add padam-nocturne -- uvx padam-nocturne
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "padam-nocturne": {
      "command": "uvx",
      "args": [
        "padam-nocturne"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "padam-nocturne": {
      "command": "uvx",
      "args": [
        "padam-nocturne"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "padam-nocturne": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "padam-nocturne"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "padam-nocturne": {
      "command": "uvx",
      "args": [
        "padam-nocturne"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "padam-nocturne": {
      "command": "uvx",
      "args": [
        "padam-nocturne"
      ]
    }
  }
}
```

## FAQ

### Where is the memory stored?

In a SQLite file, by default ~/.padam/memory.db, set with PADAM_DB.

### Do I need Ollama?

No; without OLLAMA_URL a built-in embedding method is used.

### How do I make writes need approval?

Set PADAM_STRICT to 1.

### How do I add PADAM · NOCTURNE memory to Claude Code?

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

### What are the best alternatives to PADAM · NOCTURNE memory?

The closest alternatives to PADAM · NOCTURNE memory are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and NeuroStack.

## Where this comes from

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

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [NeuroStack](https://ai-powered.com/mcp/neurostack): NeuroStack is a freemium MCP server for knowledge and memory.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [Digitalnz](https://ai-powered.com/mcp/digitalnz): Digitalnz is a freemium MCP server for knowledge and memory.
- [Notion_connect](https://ai-powered.com/mcp/notion-connect): Notion_connect is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/padam-nocturne-memory
