Claude Collider logo

Claude Collider

Community
jeremyruppel

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

Publisherjeremyruppel
Repositoryclaude-collider
LanguageSuperCollider
Forks
4
Stars
54
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Claude Collider exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    54 stars and 4 forks from the linked 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

Installation

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

Use Claude Collider MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Claude Collider is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Claude Collider as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Claude Collider MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "claude-collider": {
      "command": "npx",
      "args": [
        "-y",
        "claude-collider"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Claude Collider MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Claude Collider MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Claude Collider to help me with this task?
Claude Collider
Sure. I read it.
Here is what I found using Claude Collider.

Frequently asked questions

What is the Claude Collider MCP server used for?

Claude Collider is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Claude Collider MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Claude Collider with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Claude Collider MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Claude Collider connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Claude Collider MCP to TypingMind?

Claude Collider runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Claude Collider MCP provide in TypingMind?

Claude Collider exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Claude Collider MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Claude Collider requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇