
DJ Claude
io.github.p-poss由 GitHub 帳號 p-poss 發布v0.1.6更新於 Nov 3, 2026
Agents can now live code music for you, themselves, and each other while they work.
發布方自己的服務:Claude Platform Docs
概覽
DJ Claude 是本地 MCP 伺服器,讓 AI 助理以 Strudel 即時編寫並播放音樂、疊加 jam 聲部,並儲存或匯出混音。
- 可以做什麼
- 以預設、氛圍或直接傳入 Strudel 程式碼播放音樂,並停止或查看目前播放內容
- 依角色(鼓、貝斯、旋律)新增、更新、預覽與清除 jam 聲部
- 用單一指令編排整組樂團,並讓各聲部依階段演進
- 分析混音的頻率平衡,並在 Node 與瀏覽器音訊後端之間切換
- 儲存、列出、載入並匯出混音快照為 Strudel 程式碼
- 讀取內建的 Strudel 語法、角色與範例資源,自行撰寫原創樂段
- 適用情境
- 適合在工作時播放背景或生成式音樂,或讓助理撰寫並演奏即時編碼樂段、與其他代理協作疊加聲部。若只需要一般音樂播放器、不需由助理控制,則不必安裝。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 18 以上版本。不需 API 金鑰:預設、氛圍與直接傳入 Strudel 程式碼皆可使用。選用 ANTHROPIC_API_KEY 可啟用文字提示生成;DJ_CLAUDE_BROWSER=1 改用瀏覽器音訊;DJ_CLAUDE_PORT 設定多代理模式的 HTTP 連接埠。Linux 上 Node 音訊後端需要 JACK 或 PipeWire-JACK。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 DJ Claude,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
DJ Claude
The live music engine for AI agents.
[npm] [License: AGPL v3] [GitHub]
About
DJ Claude is the only music MCP server with multi-agent collaboration. Multiple AI agents connect over HTTP and jam together in real-time — one adds drums, another layers bass, a third drops a melody — and everything composes automatically. It works in your terminal, browser, or as a Claude Code plugin with slash commands. No browser tab, no API key, no external services required.
Under the hood, DJ Claude uses Strudel — a live coding environment for music — to generate and play patterns in real time. 20 MCP tools, 3 resources, conductor mode, mix snapshots, 22 presets, and 8 vibes. Agents can make music for you, themselves, and each other while they work.
Why DJ Claude?
- Multi-agent jam sessions — the first music MCP where multiple agents connect over HTTP and build music together in real-time, each adding layers that compose automatically
- Zero dependencies — no browser tab, no API key, no external services. Every tool works out of the box
- Claude Code plugin — one-step install from the marketplace with 20 slash commands
- Conductor mode — orchestrate a full band from a single directive, with auto-detected templates (jazz combo, rock band, electronic, ambient, and more)
- Agent-native — 3 MCP resources teach any connected agent the Strudel language so it can compose original music, not just pick from presets
Ways to Play
Terminal audio vs. browser audio: By default, the CLI and MCP server render audio through
node-web-audio-api— a Node.js reimplementation of the Web Audio API. It works everywhere with zero setup, but sample playback and effects can sound rougher than a real browser engine. Add--browser(CLI) or setDJ_CLAUDE_BROWSER=1(MCP) to route audio through your system browser's native Web Audio instead. This opens a background tab and produces noticeably higher quality sound — especially for pads, reverb, and layered patterns.
Quick Start
Prerequisites
- Node.js >= 18
- Anthropic API key — optional. Enables AI-generated music from text prompts. Without it, every tool still works via presets, direct Strudel code, or the
code/layersparameters
Install & Run
Or install globally:
Or go headless for scripting:
Claude Code Plugin
The easiest way to use DJ Claude with Claude Code. Installs the MCP server and gives you slash commands.
Install
Slash Commands
Or just ask naturally — Claude will call the right tool:
Auto-Allow Permissions
By default, Claude Code prompts for permission on every MCP tool call. To let DJ Claude play without interruptions, add this to .claude/settings.json:
MCP Server (Manual Setup)
For the full MCP tool reference, keyless operation guide, and multi-agent details, see docs/MCP.md.
If you prefer manual configuration, or want to use DJ Claude with other MCP clients (Cursor, Windsurf, Zed, etc.), add this to your .mcp.json:
For higher quality audio through the browser's Web Audio engine:
MCP Tools
Every tool works without an API key — use the code/layers params to pass Strudel directly, or use play_preset/set_vibe for zero-effort music. Add ANTHROPIC_API_KEY to unlock AI generation from text prompts.
MCP Resources
The server exposes Strudel knowledge as MCP resources so agents can learn the syntax and write their own code:
Agents can read these resources, learn the syntax, and then call play_music(code: ...), jam(code: ...), or conduct(layers: ...) — no API key needed.
Keyless Operation
Every tool works without ANTHROPIC_API_KEY. There are three tiers of keyless usage:
1. Zero effort — presets and vibes
2. Direct code — agent writes Strudel
3. Full power — agent learns Strudel from resources
An agent can read strudel://reference to learn the complete syntax, strudel://roles for layer-building guidance, and strudel://examples for working patterns — then compose its own original Strudel code.
This means any AI agent connected via MCP can make music, regardless of whether ANTHROPIC_API_KEY is set. The calling agent IS the LLM.
Multi-Agent Jam Session
Multiple agents can collaborate on music in real time using the HTTP transport and jam tools. Each connected client gets its own MCP session, but they all share the same audio engine and layer state — one agent adds drums while another adds bass, and the layers compose automatically with stack().
Claude Code
Run /dj-claude:connect to auto-start the HTTP server and configure your project in one step:
This starts the HTTP MCP server, writes .mcp.json, and all other Claude Code sessions in the same project auto-connect.
Other agents (Cursor, Windsurf, OpenClaw, etc.)
Start the HTTP server manually:
Then point your MCP client at the endpoint:
Jam tool workflow
With AI generation (requires API key):
With direct code (no API key):
Conductor Mode
Orchestrate a full band from a single directive — conduct generates multiple layers at once.
With AI generation (requires API key):
With direct code (no API key):
Band templates are auto-detected from the directive:
- jazz combo — drums, bass, chords, melody
- rock band — drums, bass, chords, lead
- electronic — drums, bass, pads, lead, fx
- ambient — pads, atmosphere, fx, melody
- full band — drums, bass, chords, melody, pads, fx
- minimal — drums, bass, melody
- orchestral — bass, chords, pads, melody, fx, atmosphere
Use conduct_evolve to evolve all layers through stages:
Mix Snapshots
Save and restore your mixes:
Terminal TUI Features
- Live pattern visualization — a real-time ASCII pianoroll and drum grid appears between DancingClaude and the code display while music is playing, showing note positions and rhythm patterns synchronized to the audio
- DancingClaude — animated pixel art that dances to the beat
- Live code display — shows the current Strudel pattern as it streams in
Keyboard Shortcuts (TUI)
Web App
Visit claude.dj for the single agent browser experience — no API key or install needed.
Features:
- 5 club themes — Anthropic, Gemini, Codex, Fairlight, OpenClaw
- NIGHT mode (color inversion), DISCO mode (rainbow hue cycling), RAVE mode (glow + CRT scanlines)
- LIVE MIX mode — autopilot DJ that automatically evolves the music every ~60 seconds without user input
- Voice DJ commentary with idle hype phrases (via ElevenLabs TTS)
- Dancing Claude that follows your cursor
- Live Strudel code display with export to clipboard
- Space bar to toggle play/pause
Environment Variables
The CLI also loads .env and .env.local files from your project directory automatically.
Architecture
DJ Claude is a Next.js app with a companion CLI package:
/app— Next.js web frontend (claude.dj)/cli— Terminal TUI (Ink/React) and MCP server/cli/src/mcp— MCP tool definitions and JSON-RPC server/cli/src/audio— Strudel audio engine (node + browser backends)/cli/src/lib— Shared utilities, Claude API client, prompt generation/plugin— Claude Code plugin (skills, MCP config, marketplace)
Music is generated by Claude composing Strudel live-coding patterns, which are then evaluated in real-time through either the Node node-web-audio-api backend or the browser's native Web Audio API.
Platform Support
Works on macOS, Windows, and Linux. On Linux, the Node audio backend (node-web-audio-api) requires JACK or PipeWire-JACK — vanilla ALSA/PulseAudio alone won't work with the prebuilt binaries. Use --browser mode to bypass this by routing audio through your browser instead.
Creator
Built by Patrick Poss — [email protected]
License
DJ Claude generates and plays music with Strudel (a port of TidalCycles by Alex McLean and contributors), which is licensed under the AGPL-3.0. Because DJ Claude bundles and serves Strudel — including over the network at claude.dj — the combined work is distributed under the same AGPL-3.0 license. The complete corresponding source is available in this repository.
來源:README.md,提交 f127c06
工具
0版本歷史
1- v0.1.6最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Claude 整合
Claude Platform Docs
com.claude.platform官方發布者
遠端 MCP 伺服器,讓助理搜尋並閱讀 Claude 平台文件與 API 參考。

Insta Edits for Claude
由 GitHub 帳號 faisalkhanzemi 發布
把 Claude Code 連上 Mac 版 Instagram Edits,同步完整的 274 個工具編輯器,讓助理剪輯 Reels。

Claude Checkpoint Mcp
由 GitHub 帳號 daniel-munoz 發布
本機 MCP 伺服器,把 Claude Code 工作階段的狀態存成專案內的 JSON 檔,並能還原成精簡的續接摘要。

Qwen DAP MCP — C/C++ Debugger for Claude Code, Codex & Qwen
由 GitHub 帳號 spk-c 發布
通過 GDB、LLDB 和 MCP 為 Claude Code、Codex 和 Qwen 提供 C/C++ 崩潰、掛起和轉儲除錯AI 翻譯

AVE for Claude Code — Local Video Editing
由 GitHub 帳號 lemberalla 發布
僅適用於 Claude Code 的本機 AVE 時間軸編輯與匯出。需要現有 AVE 連接。AI 翻譯