medit

The open-source AI music editor you drive with words

medit is a real DAW — tracks, piano roll, synths, drums, effects, mixer — that an AI agent can use for you. Ask for a song; watch the chords, beats, bass and melody appear; fix anything by hand. Free, local, MIT.

uv tool install medit-mcp
medit ui
medit demo: an AI agent writes and mixes a song in the DAW

A DAW and an AI agent, sharing the same buttons

Writes real, editable music

Chords from roman numerals with voice leading, 14 drum genres, bass lines, arpeggios and melodies — as notes you can move, not a flat audio file.

31 built-in sounds

Pianos, e-piano, pads, strings, supersaw, 808, reese, acid, guitars, harp and 5 drum kits — synthesized locally, levels calibrated in LUFS.

Mixing & mastering

31 effects — EQ, compressor, multiband, de-esser, reverb, delay, Auto-Tune, true-peak limiter — buses, sends, automation and one-click mastering to -14 LUFS.

The agent measures what it can't hear

Loudness, true peak, spectrum, piano-roll images and a song review that flags mud, clipping and wrong notes — with the tool that fixes each.

Record and tune your voice

Microphone recording with latency compensation, metronome and lyrics view; Auto-Tune, vocal chains and your own RVC voice model.

Generative AI, local or cloud

Whole sung songs with ACE-Step, loops with Stable Audio, stems with Ultimate Vocal Remover or Demucs, humming to MIDI.

Just ask

“Write a sad lo-fi song in A minor at 80 BPM: intro, verse, chorus. Dusty drums, Rhodes chords, a soft lead, then master it for Spotify.”
“The chorus needs to be bigger — double the melody an octave up and add a pad.”
“The bass is muddy, fix it.” · “Put natural Auto-Tune on my vocal.”

Works with Claude Code, Cursor, Codex and any MCP client

claude mcp add medit -- uvx medit-mcp
{
  "mcpServers": {
    "medit": { "command": "uvx", "args": ["medit-mcp"] }
  }
}

98 tools: compose, arrange, set instruments, add effects and buses, preview, analyze, review, master and export. With medit ui open, connect to http://127.0.0.1:8780/mcp/ and watch the agent work on the timeline live.

How it compares

meditAI song generatorsClassic DAWs
Editable result✅ notes, tracks, effects❌ one audio file✅
AI agent does the work✅ 100 MCP tools✅ prompt only❌
Automatic mix & master✅❌manual
Local, no subscription✅❌depends
Open source✅ MIT❌rarely

FAQ

Is medit free?

Yes. MIT license, no account, no subscription, no watermark. Cloud services (ElevenLabs, Replicate) are optional and use your own key.

Can Claude make music with medit?

Yes. Claude Code, Claude Desktop, Cursor, Codex and any Model Context Protocol client get 98 tools to compose, arrange, mix, master, analyze and export.

Does it need a GPU?

No. The DAW, synths, effects and analysis run on the CPU. Only the optional generative models want a GPU.

What can it import and export?

Imports WAV, MP3, FLAC, OGG, AIFF and MIDI (m4a and video audio with ffmpeg). Exports WAV, FLAC, MP3, OGG, MIDI and per-track stems.

Which systems does it run on?

Windows, macOS and Linux, with Python 3.10 or newer.