Midi File
Createdxiaolaa2
Enables AI assistants to parse, analyze, and modify MIDI files using the Model Context Protocol (MCP).
About
midi-file-mcp is a powerful tool that leverages the Model Context Protocol (MCP) to provide AI assistants with the ability to easily read, analyze, and manipulate MIDI files. Built on Tone.js and @tonejs/midi, it abstracts away the complexities of the MIDI file format, allowing for streamlined interaction with MIDI data. Users can retrieve file information, modify tempo, work with tracks, notes, control changes, and pitch bends, as well as add new musical elements.
Key Features
- Sets MIDI file tempo (BPM)
- Adds new tracks to MIDI files
- Gets and modifies track, note, control change, and pitch bend data
- Adds new notes, control changes, and pitch bends to specific tracks
- 0 GitHub stars
- Reads and provides MIDI file information
Use Cases
- Automated MIDI file editing via AI assistant
- Programmatic music analysis and composition
- Integration of MIDI manipulation into AI-powered music applications