DJ Claude Code — Claude Code MCP server for AI-made music
DJ Claude lets agents create music from prompts and build tracks together. Use it for an evolving soundtrack while you work in Claude Code.
claude mcp add dj-claude -- npx -y dj-claudeWhat DJ Claude does
DJ Claude turns agent requests into music with Strudel. Agents can pick a preset or mood, write Strudel patterns, and adjust a mix by adding or removing parts. A conductor mode coordinates a full band from one instruction, while snapshots let you save and restore a mix. Multiple agents can also collaborate through an HTTP server.
You need Node.js 18 or later. An Anthropic API key is optional: presets and direct Strudel code work without one, while text-prompt music generation needs the key. Audio uses a Node.js backend by default; switching to browser audio requires a separate option, and without it some effects may sound rougher.
In Claude Code, add the MCP server with its CLI command; the plugin also provides slash commands for music controls. Claude Code asks permission for each MCP tool call by default. To let playback proceed without those prompts, configure permissions in .claude/settings.json.
What it helps with
- create a music bed from a text prompt
- change the music mood during a coding session
- add a bass or drum part to a shared jam
- save a mix and bring it back later
- let multiple agents build a track together
Example prompts for the agent
- Play calm music while I work on this change:
/dj-claude:play - Switch the mood to something energetic:
/dj-claude:vibe hype - Add a bass part to the jam:
/dj-claude:jam bass
How to install DJ Claude
Platform CLI
claude mcp add dj-claude -- npx -y dj-claudePlatform CLI
codex mcp add dj-claude -- npx -y dj-claudeConfig file
{
"mcpServers": {
"dj-claude": {
"command": "npx",
"args": [
"-y",
"dj-claude"
]
}
}
}Config file
{
"servers": {
"dj-claude": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"dj-claude"
]
}
}
}Platform CLI
gemini mcp add dj-claude npx -y dj-claudeStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about DJ Claude
How do I install DJ Claude in Claude Code?
Run claude mcp add dj-claude -- npx -y dj-claude. To install the plugin from its marketplace, run /plugin marketplace add p-poss/dj-claude, then /plugin install dj-claude@dj-claude-marketplace.
What does DJ Claude do?
It lets agents create music from prompts, control moods and layers, and manage mixes. Agents can also connect over HTTP to contribute parts to the same jam.
Does DJ Claude require an Anthropic API key?
No key is needed for presets or direct Strudel code. Text-prompt music generation requires an Anthropic API key.