Skip to main content

Ableton MCP

Connect Ableton Live to Claude AI

Prompt-assisted music production, end-to-end track creation, and Live session and arrangement manipulation — driven by AI.

PyPI Version License: MIT Discord

Setup Video · Discord · Issues


Quickstart

Three steps: install uv, point your MCP client at the server, install the Ableton Remote Script.

1. Install uv

# macOS
brew install uv

Otherwise, install from uv's official website.

Warning: Do not proceed before installing uv.

2. Add the MCP server to your client

Claude Desktop — Settings → Developer → Edit Config
{
    "mcpServers": {
        "AbletonMCP": {
            "command": "uvx",
            "args": [
                "ableton-mcp"
            ]
        }
    }
}
Cursor — Settings → MCP

Paste this as a command:

uvx ableton-mcp

Warning: Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both.

3. Install the Ableton Remote Script

uvx --from ableton-mcp ableton-mcp-install-script
uvx --from ableton-mcp ableton-mcp-install-script --list-targets   # preview target folders first

4. Connect

  1. Launch Ableton Live
  2. Go to Settings/Preferences → Link, Tempo & MIDI
  3. In the Control Surface dropdown, select AbletonMCP
  4. Set Input and Output to None

That's it — ask Claude to build something.


Table of Contents


Features

Two-way communication Connect Claude AI to Ableton Live through a socket-based server
Track manipulation Create, modify, and manipulate MIDI and audio tracks
Instrument and effect selection Claude can access and load the right instruments, effects and sounds from Ableton's library
Clip creation Create and edit MIDI clips with notes
Arrangement view composition Build full songs autonomously in Arrangement View, including sections like intro, buildup, drop, breakdown, and outro
Session control Start and stop playback, fire clips, and control transport across Session View and Arrangement View
Anonymous telemetry Usage tracking to help improve the tool (can be disabled)

Components

The system consists of two main components:

  1. Ableton Remote Script (Ableton_Remote_Script/__init__.py) — a MIDI Remote Script for Ableton Live that creates a socket server to receive and execute commands
  2. MCP Server (server.py) — a Python server that implements the Model Context Protocol and connects to the Ableton Remote Script

Installation

Prerequisites

  • Ableton Live 10 or newer
  • Python 3.8 or newer
  • uv package manager

If you're on Mac, please install uv as:

brew install uv

Otherwise, install from uv's official website

Warning: Do not proceed before installing uv.

Claude for Desktop Integration

Follow along with the setup instructions video

Go to Claude → Settings → Developer → Edit Config → claude_desktop_config.json to include the following:

{
    "mcpServers": {
        "AbletonMCP": {
            "command": "uvx",
            "args": [
                "ableton-mcp"
            ]
        }
    }
}

Cursor Integration

Run ableton-mcp without installing it permanently through uvx. Go to Cursor Settings → MCP and paste this as a command:

uvx ableton-mcp

Warning: Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both.

Claude Code Integration

In the terminal, run:

claude mcp add AbletonMCP uvx ableton-mcp

Installing the Ableton Remote Script

Follow along with the setup instructions video

Install the Remote Script with:

uvx --from ableton-mcp ableton-mcp-install-script
uvx --from ableton-mcp ableton-mcp-install-script --list-targets   # preview target folders first

If you installed the package with pip or pipx, the command is on your PATH directly — just run ableton-mcp-install-script.

This copies the matching Remote Script into your Ableton User Library's Remote Scripts folder — the location Live (10.1.13+) scans for third-party control surface scripts. The installer reads the User Library location from Live's Library.cfg, falling back to the default (~/Music/Ableton/User Library on macOS, Documents\Ableton\User Library on Windows). If a different version of the script is already there, the existing file is backed up to __init__.py.bak before being replaced.

If your User Library lives somewhere non-standard and isn't detected, point the installer at it directly:

uvx --from ableton-mcp ableton-mcp-install-script --target "/path/to/User Library/Remote Scripts"

The legacy Preferences/User Remote Scripts folder (used for instant-mapping configs, not Python control surfaces) is no longer targeted by default; pass --legacy if you need it for an old Live version.

Then restart Ableton (or re-select the AbletonMCP control surface) so Live loads it. Re-run the command after upgrading the package — the server logs a warning when the loaded script version doesn't match what it expects.

Note: The server does not install the script on startup. Writing into Ableton's preferences directory is an explicit action, not a side effect of launching a server.

First-time Ableton setup:

  1. Run uvx --from ableton-mcp ableton-mcp-install-script
  2. Launch Ableton Live
  3. Go to Settings/Preferences → Link, Tempo & MIDI
  4. In the Control Surface dropdown, select AbletonMCP
  5. Set Input and Output to None
Manual fallback locations (User Library → Remote Scripts)
  • macOS: ~/Music/Ableton/User Library/Remote Scripts/AbletonMCP/
  • Windows: C:\Users\[Username]\Documents\Ableton\User Library\Remote Scripts\AbletonMCP\

If you've moved your User Library, use its actual location (shown in Live under Preferences → Library → Location of User Library), and create the Remote Scripts folder inside it if it doesn't exist yet.

The MCP server and Remote Script share a version handshake (get_remote_script_info). If they diverge, newer tools degrade gracefully until Live is restarted.

Remote Script 1.7.2 routes both reads and writes through a bounded queue processed by Live's update_display callback on the main thread. It accepts at most 64 pending commands and processes up to eight per callback. Requests normally time out after 10 seconds; audio-file imports have 60 seconds. Commands cancelled or expired while pending are skipped. If an operation already started when its request times out, the error reports an unknown outcome: inspect Live's state before repeating a write. Disconnecting the control surface cancels pending requests and closes client sockets.

get_track_info, get_session_info's master track, and regular, return, and master tracks in get_session_snapshot include output_meter_left, output_meter_right, and output_meter_level. These are read-only values from the Live Track API, in the range 0.0 to 1.0. Left/right values are momentary smoothed peaks for tracks with audio output; output_meter_level is the held peak for audio or MIDI output. Missing, unsupported, or invalid values are null, so unavailable meters are distinguishable from silence. These values are sampled on request; they do not measure rendered audio samples or provide continuous metering. The existing TCP request/response format and snapshot schema remain compatible.


Usage

Starting the Connection

  1. Ensure the Ableton Remote Script is loaded in Ableton Live
  2. Make sure the MCP server is configured in Claude Desktop or Cursor
  3. The connection should be established automatically when you interact with Claude

Using with Claude

Once the config file has been set on Claude, and the remote script is running in Ableton, you will see a hammer icon with tools for the Ableton MCP.

Capabilities

  • Get session and track information
  • Create and modify MIDI and audio tracks
  • Create full song arrangements from start to finish in Arrangement View
  • Create, edit, and trigger clips
  • Control playback
  • Load instruments and effects from Ableton's browser
  • Add notes to MIDI clips
  • Change tempo and other session parameters

Example Commands

Here are some examples of what you can ask Claude to do:

Prompt Demo
"Create an 80s synthwave track" Watch
"Create a Metro Boomin style hip-hop beat"
"Create a full arrangement with an intro, buildup, drop, breakdown, and outro"
"Create a new MIDI track with a synth bass instrument"
"Add reverb to my drums"
"Create a 4-bar MIDI clip with a simple melody"
"Get information about the current Ableton session"
"Load a 808 drum rack into the selected track"
"Add a jazz chord progression to the clip in track 1"
"Set the tempo to 120 BPM"
"Play the clip in track 2"

Troubleshooting

Problem Fix
Connection issues Make sure the Ableton Remote Script is loaded, and the MCP server is configured on Claude
Timeout errors Try simplifying your requests or breaking them into smaller steps
Have you tried turning it off and on again? If you're still having connection errors, try restarting both Claude and Ableton Live

Technical Details

Communication Protocol

The system uses a simple JSON-based protocol over TCP sockets:

  • Commands are sent as JSON objects with a type and optional params
  • Responses are JSON objects with a status and result or message

Limitations & Security Considerations

  • Creating complex musical arrangements might need to be broken down into smaller steps
  • The tool is designed to work with Ableton's default devices and browser items
  • Always save your work before extensive experimentation

Telemetry

There are two tiers, and they have different defaults.

Anonymous telemetry — on by default. A random install ID, a per-run session ID, which tools ran, whether they succeeded, and how long they took. This is what counts active users and catches broken tools. It contains none of your content: no prompts, no MIDI, no track or clip names, no device settings.

Dataset recording — off by default, opt-in. Everything with your work in it: prompts, MIDI notes, track and clip names, and device settings, which may be published as part of an open dataset used to train music-production models. Nothing here is collected unless you explicitly turn it on.

To see exactly what data each tier collects, see the Terms & Data Use.

Opting in to dataset recording

Either set the environment variable before starting the server:

export ABLETON_MCP_ENABLE_DATASET=true

…or answer the question when your client asks it. On your first tool call you're asked once — as a dialog if your client supports MCP elicitation, otherwise as a message in the chat — and answering yes turns it on from that point. Your answer is stored in ~/.ableton-mcp/consent.json. Declining, or never answering, records nothing. If you dismiss the dialog without choosing, that isn't treated as an answer and you may be asked again in a later session.

Opting out of anonymous telemetry

Set one of these before starting the MCP server:

export ABLETON_MCP_DISABLE_TELEMETRY=true

Or use any of these alternatives:

  • DISABLE_TELEMETRY=true
  • MCP_DISABLE_TELEMETRY=true

This also disables dataset recording. ABLETON_MCP_DISABLE_DATASET=true turns off dataset recording only, and overrides any stored grant.

For Claude Desktop, add the environment variable to your config:

{
    "mcpServers": {
        "AbletonMCP": {
            "command": "uvx",
            "args": ["ableton-mcp"],
            "env": {
                "ABLETON_MCP_DISABLE_TELEMETRY": "true"
            }
        }
    }
}

Join the Community

Give feedback, get inspired, and build on top of the MCP: Discord

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Disclaimer

This is a third-party integration and not made by Ableton. Made by Siddharth.


If Ableton MCP is useful to you, consider starring the repo

Session metadata includes root_note, scale_name, and project name. Missing or unsupported key/scale properties return null; an unavailable name returns Untitled. These properties are detected at runtime.

Optional audio capture and analysis

Install ableton-mcp[audio] for NumPy-based WAV analysis. Core startup does not require scientific libraries. Capture currently supports macOS avfoundation only and requires ffmpeg plus an explicitly configured loopback input such as BlackHole 2ch. Route Live's output to the loopback device using Audio MIDI Setup; capture does not start playback or change routing. Windows/Linux capture is unsupported.

record_audio records at most 30 seconds. Analysis accepts temporary 16-bit WAVs up to 120 seconds, 8 channels and 4 million samples, whichever limit is reached first. Recording and analysis run off the event loop. Failed/cancelled captures clean their owned temporary output; successful recordings last until analysis or server shutdown. Existing output paths are never overwritten. Real capture support remains unverified until tested with the user's configured loopback device.

Offline analysis and MIDI previews

Install ableton-mcp[analysis] to enable analyze_audio_file (NumPy, SciPy and soundfile). It reads an existing file without rendering or changing Live. Limits are 128 MiB per file, 120 seconds per selected segment, 6 million decoded samples and 8 channels. Loudness/spectrum measurements are reported separately from heuristic tempo, tonality and mix advice.

preview_midi_transform needs no scientific extras and never accesses Live. It returns transformed copies of at most 10000 supplied notes, preserving extended metadata/IDs. Supported operations are transpose, scale, quantize, swing, offsets, velocity shaping, articulation and deterministic humanization. It does not clear, replace or write a clip.

Metadata

Release files for ableton-mcp 1.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ableton-mcp 1.5.0
File Size Uploaded Provenance Actions
ableton_mcp-1.5.0.tar.gz 134.6 kB Without provenance Details for ableton_mcp-1.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ableton-mcp 1.5.0
File Interpreter ABI Platform Actions
ableton_mcp-1.5.0-py3-none-any.whl Python 3 none any Details for ableton_mcp-1.5.0-py3-none-any.whl

Total release size: 281.5 kB

Release files / ableton_mcp-1.5.0.tar.gz

Download URL ableton_mcp-1.5.0.tar.gz
Size 134.6 kB
Tags Source
SHA-256 checksum
How to use checksums
04e321af977dc133d78248cfa14fc9ba4d5e649b677db54729679bb4e47a4a49
BLAKE2b-256 checksum
How to use checksums
896870212a4dac30507a7bb34b1fa8e5db700a740f39b3c7997f47cb9044971e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / ableton_mcp-1.5.0-py3-none-any.whl

Download URL ableton_mcp-1.5.0-py3-none-any.whl
Size 146.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a4fb67e236649814cb4cabd9ce2affec4e61312bbd9861cfd7e69701f66ffd2
BLAKE2b-256 checksum
How to use checksums
18d8fa4eb4c0bfcd66432a46a0e51eeffcb65042c9a4f28c317f50acbdb23ea4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for ableton-mcp 1.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page