| name | play |
| description | Load and explore MIDI files. Analyze structure, navigate measures, search for notes, and display musical content. |
/play — Load & Explore MIDI Files
Use the Mozart MCP tools to load, inspect, and navigate MIDI files.
Quick Start
/play song.mid
Workflow
- Load the file with
load_midi — provide the path and an optional alias
- Inspect with
midi_info — see tracks, instruments, tempo, time signature
- Browse measures with
get_measures — view notes by measure number
- Search with
search_notes — find notes by pitch, track, or range
Examples
Load and summarize
load_midi file_path="song.mid" alias="song"
midi_info alias="song"
Show measures 1-8 of track 0
get_measures alias="song" start_measure=1 end_measure=8 track=0
Find all C notes in the melody
search_notes alias="song" note_name="C" track=0
Show measures around a key change
get_measures alias="song" start_measure=33 end_measure=36
Tool Reference
| Tool | Purpose |
|---|
load_midi | Parse a .mid file and load it into memory |
midi_info | Show tempo, time sig, tracks, instruments, pitch ranges |
get_measures | Get notes organized by measure (tempo/time-sig aware) |