Logo vun Claude Collider

Claude Collider

Communautéit
jeremyruppel

MCP server and live coding suite for SuperCollider :robot: :musical_note:

Editeurjeremyruppel
Repositoryclaude-collider
SproochSuperCollider
Forks
4
Stären
54
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Claude Collider stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    54 Stären an 4 Forks aus dem verlinkte Repository.

Claude Collider

An MCP (Model Context Protocol) server that enables your LLM to generate and play music through SuperCollider. Describe the sounds you want, and your LLM will write and execute SuperCollider code in real-time.

Live coding from inside this repository is recommended but completely optional. This repo contains Claude-specific instructions (CLAUDE.md, skills) that make Claude the best songwriter out there, but the MCP server should work with any MCP client.

What It Can Do

Major Features

  • Auto-boots SuperCollider within your LLM session and exposes 9 MCP tools to interact with it
  • Music theory LLM skill and utility SuperColloder classes for arrangement, melody development, and a breakbeat mangler
  • Sampler with support for auto-loading samples from user directories
  • "Tape" format for recording and playing back songs across LLM sessions
  • 27+ built-in synths across drums, bass, leads, pads, and utility categories
  • 18+ built-in effects including dynamics, sidechain, filters, reverb, delay, modulation, distortion, and stereo processing

See the ClaudeCollider API reference for the full list of synths, effects, and class documentation.

Example Prompts

  • "Boot SuperCollider and make a four-on-the-floor beat with a deep kick and shaker"
  • "Make a 303-style acid bass with a resonant filter sweep, run it through distortion and delay"
  • "Set up sidechain compression so the kick ducks the bass and the pad"
  • "Load the amen break sample, slice it into 16, and rearrange it into a choppy DnB pattern"
  • "Write a lead melody using motif development — start with a short phrase, then transpose and invert it"
  • "Compose a full arrangement with an intro, two builds, two drops, a breakdown, and an outro"
  • "Record this session as a tape called late-night-acid, then play it back with the arrangement"
  • "The bass line is boring — use the songwriting skill to rewrite it with approach notes and octave jumps"
  • "Connect my MIDI keyboard to the pad synth with mod wheel controlling the filter cutoff, and sync MIDI clock to the arrangement"
  • "Build a granular texture from the vocal sample, layer a polymetric 5-beat kick under it, and arrange the whole thing into a slow build"

Requirements

  • SuperCollider installed on your system
  • Node.js 18+
  • Claude Code, Claude Desktop, or any other MCP client

Installation

bash
git clone https://github.com/jeremyruppel/claude-collider.git
cd claude-collider
npm install
npm run build
npm test

ClaudeCollider Quark

Symlink or copy the ClaudeCollider/ folder to your Extensions directory:

bash
ln -s /path/to/claude-collider/ClaudeCollider ~/Library/Application\ Support/SuperCollider/Extensions/ClaudeCollider

Claude Code Configuration

Add the MCP server to your project scope (recommended when live coding from this repo):

bash
claude mcp add -t stdio -s project claude-collider -- node /path/to/claude-collider/dist/index.js

Or add it globally so it's available in all projects:

bash
claude mcp add -t stdio -s user claude-collider -- node /path/to/claude-collider/dist/index.js

To configure optional environment variables for sample and recording paths:

bash
claude mcp add -t stdio -s project \
  -e CC_SAMPLES_PATH=/path/to/your/samples \
  -e CC_RECORDINGS_PATH=/path/to/your/recordings \
  claude-collider -- node /path/to/claude-collider/dist/index.js

Claude Desktop Configuration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

json
{
  "mcpServers": {
    "claude-collider": {
      "command": "node",
      "args": ["/path/to/claude-collider/dist/index.js"],
      "env": {
        "CC_SAMPLES_PATH": "/path/to/your/samples",
        "CC_RECORDINGS_PATH": "/path/to/your/recordings"
      }
    }
  }
}

The env block is optional in all configurations — paths default to ~/.claudecollider/samples and ~/.claudecollider/recordings.

Restart your MCP client after updating the config.

MCP Tools

9 MCP tools give Claude control over SuperCollider:

ToolDescription
cc_executeExecute SuperCollider code (auto-boots on first use)
cc_statusShow status, routing debug, available synths, or available effects
cc_rebootReboot the audio server or list audio devices
cc_controlControl playback: stop all sounds, clear everything, or get/set tempo
cc_fxEffects operations: load, set params, bypass, remove, wire, sidechain, chain
cc_midiMIDI operations: list devices, connect, play synth, or stop
cc_sampleSample operations: inspect, load, play, free, or reload directory
cc_recordingRecording operations: start, stop, or check status
cc_outputHardware output routing: route to outputs, unroute, or show status

Skills

When you live code from inside this repo, Claude has access to a set of skills — packaged instructions that teach it how to perform specific musical tasks well. Some load automatically when relevant; you can also invoke any of them explicitly with a / command.

SkillInvoke withWhat it does
claude-collider/claude-colliderCore live-coding workflow — synths, patterns, effects, and MCP tool usage
songwriting/songwritingMusic theory reference for composing better parts (see below)
play-tape/play-tapeLoad and play a saved tape's patterns, effects, and arrangement
record-tape/record-tapeCapture the current live session as a new tape (.md + .scd pair)
arrange-tape/arrange-tapeCompose a CCArrangement that structures a tape's elements over time

The tape skills (play-tape, record-tape, arrange-tape) are described in more detail in the Tapes section below.

Songwriting

The /songwriting skill is a built-in music theory reference that Claude loads when composing or improving individual parts. It covers:

  • Bass — Bass line theory, patterns, and genre conventions
  • Breakbeats — CCBreakbeat slicing, rearrangement, and genre applications
  • Chords — Voicing, voice leading, progressions, and extensions
  • Melody — Contour, motif development, phrasing, tension and resolution
  • Rhythm — Drum patterns, swing, ghost notes, and genre grooves
  • Scales — Scales, modes, when to use each, and SuperCollider usage

The skill enforces principles like register separation (keeping bass, chords, and melody in distinct octave ranges), complementary rhythms (if one part is on-beat, another syncopates), and repetition with variation. Ask Claude to use it when you want more musically intentional results:

  • "Use the songwriting skill to write a better bass line for this tape"
  • "The melody feels flat — can you improve it?"

Tapes

Tapes are Claude Collider's session format — a paired .md and .scd file that capture a complete musical idea. The tapes/ directory contains saved sessions you can play back or use as starting points.

A tape consists of:

  • <name>.md — Metadata and documentation: tempo, key, element descriptions, arrangement overview, and musical notes. Has YAML frontmatter linking to its .scd file.
  • <name>.scd — Executable SuperCollider code defining all Pdefs, Ndefs, effects, and routing. Elements are defined but not played — playback is controlled separately.
  • <name>-arrangement.scd (optional) — A CCArrangement that orchestrates when elements enter and exit across sections.

Playing a Tape

Ask Claude to play a tape by name:

  • "Play the chopped-break tape"
  • "Load up floor-burner"
  • "Play night-drive in jam mode"

There are two playback modes:

  • Arrangement mode (default if an arrangement file exists) — Loads the tape's elements and effects, then runs the arrangement which brings elements in and out over time with section transitions.
  • Jam mode — Loads everything and starts all elements at once. Good for improvising on top of an existing tape.

Recording a Tape

After a live session, ask Claude to save it:

  • "Record this session as a tape called midnight-groove"
  • "Save what we've been playing as a tape"

Claude captures the current tempo, patterns, effects, and routing into a new .md/.scd pair in tapes/.

Arranging a Tape

You can also ask Claude to compose an arrangement for an existing tape:

  • "Arrange the floor-burner tape"
  • "Write an arrangement for night-drive with a long build"

This generates a <name>-arrangement.scd file with a CCArrangement that structures the tape's elements into intro, build, drop, break, and outro sections.

Debug Mode

Enable debug logging:

bash
DEBUG=claude-collider node dist/index.js

Logs are written to /tmp/claude-collider.log.

Environment Variables

VariableDefaultDescription
SCLANG_PATHAuto-detectedPath to sclang executable
SC_BOOT_TIMEOUT10000Boot timeout in ms
SC_EXEC_TIMEOUT2000Execution timeout in ms
CC_SAMPLES_PATH~/.claudecollider/samplesDirectory for audio samples
CC_RECORDINGS_PATH~/.claudecollider/recordingsDirectory for recorded audio
DEBUG-Set to claude-collider for debug logs

License

MIT

Installatioun

TypingMind
{
  "mcpServers": {
    "claude-collider": {
      "command": "node",
      "args": [
        "/path/to/claude-collider/dist/index.js"
      ]
    }
  }
}

Claude Collider MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Claude Collider verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Claude Collider als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Claude Collider an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "claude-collider": {
      "command": "npx",
      "args": [
        "-y",
        "claude-collider"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Claude Collider. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Claude Collider.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Claude Collider?
Claude Collider
Jo. Ech hunn et gelies.
Dat hunn ech mat Claude Collider fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Claude Collider benotzt?

Claude Collider ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Claude Collider MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Claude Collider mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Claude Collider MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Claude Collider verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Claude Collider MCP mat TypingMind?

Claude Collider leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Claude Collider MCP an TypingMind zur Verfügung?

Claude Collider stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Claude Collider MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Claude Collider eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇