# moontide

moontide is a Claude Code MCP server that turns mood prompts into live Strudel music. A browser plays the code while Claude changes it on request.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 8 repo stars
- Author: konni-arcadia
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/konni-arcadia/moontide
- Updated: 2026-11-07
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/moontide

## What it does

moontide connects Claude to the Strudel music engine. Claude writes code from a musical idea, and a browser plays it while accepting changes. The page keeps the code visible and editable, stores played versions, and includes a track timeline, Song grid, history, mixer, and a jam view with a piano or guitar scale. Context requests can be sent from the page, and tempo changes can span several bars instead of jumping.

It needs Node 22 or later, Claude Code or Claude Desktop, Chrome, internet access, and speakers or headphones. Chrome or Edge is used for MIDI. The local server listens only on `127.0.0.1`; Strudel and its samples load from the web. Moontide is early software with known bugs, and manual music testing covers one Mac setup with Chrome, Claude Code, and Claude Desktop.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add moontide -- npx -y moontide-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add moontide -- npx -y moontide-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "moontide": {
            "command": "npx",
            "args": [
                "-y",
                "moontide-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "moontide": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "moontide-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add moontide npx -y moontide-mcp
```

## When to use it
- turn a mood prompt into a live music pattern
- change a playing track from a short request
- edit Strudel music code in the browser
- restore an earlier played version
- ramp tempo and control MIDI instruments

## Example prompts
- Start Moontide and play a calm theme for the morning.
- Make the current piece darker and add a bass line.
- Slow the tempo across several bars, then restore the previous version.

## Similar
- [Music Studio](https://affpapa.org/en/nevibecode/mcp/music-studio.md) — MCP server · ★ 80 repo stars
- [prod-by-claude](https://affpapa.org/en/nevibecode/skills/prod-by-claude.md) — skill · 357 installs
- [På Plakaten](https://affpapa.org/en/nevibecode/mcp/pa-plakaten.md) — MCP server · 440 installs
- [boostaudio](https://affpapa.org/en/nevibecode/mcp/boostaudio.md) — MCP server · 860 installs
- [music-composer](https://affpapa.org/en/nevibecode/skills/music-composer.md) — skill · 2 installs
- [mpc-plugin-dsp](https://affpapa.org/en/nevibecode/skills/mpc-plugin-dsp.md) — skill · ★ 200 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
