OS X does have MIDI services. Unfortunately, just like everything else on OS X, documentation is lacking. If you really want to go for out anyway, even without documentation, checkout the CoreMIDI and CoreMIDIServer frameworks in the /System/Library/Frameworks folder. The headers should have some info (like CoreAudio), enough to get by if you're patient
mccullocht