Midiexplorer.tcl is a tool for exploring a large collection of MIDI files. It allows you to view the contents of a MIDI file in either textual or visual form. It allows you to play selected parts of the file. The tool can extract statistical characteristics of the file or the collection of files. The tool allows you search the collection for files having certain characteristics. For example you can search the collection for MIDI files containing many pitchbend messages.

Documentation: https://midiexplorer.sourceforge.io/

Source code: https://github.com/sshlien/midiexplorer