personally, I'd first process the MIDI file with a scripting language and create a simple text file, containing only data which is meaningful to you and formatted in a way that is easily understood by Pd (e.g. lines of text separated by semicolons).
As for example using GNU octave and Ken Schutte's scripts for reading and writing midi files http://kenschutte.com/midi