That sounds like a solution that changes the original file, Bruno, unless there's a way to do this in one step (which I think Claude is asking for).
Extreme transposition (5th up, 4th down etc.) has always been an issue with MIDI (and audio!) and short of a flag to tell the transposition to go 4 down on some tracks and 5 up on others (can't remember seeing anything capable of doing this as a one step process) it's pretty much a case of taking the songs that tend to need this done to them and permanently transposing the parts down an octave that chipmunk up when set up to a 5th or so. But you'd have to give it a name so you don't pick that file for small transpositions!
And yes, should you choose that path, MIDI KIT would do the job well.
Alternatively, you could use a DAW/Sequencer to edit the chipmunked Parts, and do the transpose there, which would allow you to take however many notes that are t'posed down too much and pop them back to original pitch.
I have a fairly deep baritone, and seldom find anything in pop music that doesn't need transposing down for my voice (and the older I get, the further it has to go!) so I've come across this issue a lot. To a certain degree, transposing and entire track up or down to the extremes (5th, 4th) seldom is satisfactory, as there will always be some notes that now end up too low (or two high).
What I tend to do is transpose a track BOTH down the 4th and up the 5thm then cut and paste between the two Parts to keep the instrument within the normal range of the real thing. And that's something that is basically just a bit too advanced for most software (particularly if you want to try and make the line not sound too jumpy).
TBH, unless your MIDI files have a VERY consistent channel assignment (guitars always on the same track#'s, strings, horns etc.) it's hard to come up with a macro to do the job, and if you are going in to the file to find sounds in the first place, might as well do it in a DAW and create that 'Extreme Tpose' version while in there! Probabnly five minutes editing per song once you get a flow going...