If you just put the midi track into Reaper and set the regions:
Red will fit any chord match in any color part, pink is leadin or countin notes, endings are 4 bars etc..
If it is just a chorded track you can put all the midi onto one track, if it's a scale track have separate tracks for each key and just have scale/Scale in the name, if it's a drum track have drum/Drum in the name, these will just match the color to color sections.
Save the regions as csv the same name as the midi usertrack.
Piano, Upright, Rhythm Pop 01 Ev 4-4 80bpm.csv
Piano, Upright, Rhythm Pop 01 Ev 4-4 80bpm.mid
or with key name
Piano, Upright, Solo Pop 01 Ev 4-4 80bpm Scale A# Major.csv
Piano, Upright, Solo Pop 01 Ev 4-4 80bpm Scale A# Major.mid
Chord sections, the blue & green are fills
4 Bar Endings for verse and chorus
All fitted to song chords