In the general form, this is not an easy problem to solve, since Chemkin-format mechanisms don't include enough information to uniquely identify species, e.g. you could have one mechanism with a species named "c7h16" and another with a species named "n-heptane" and no way of knowing whether these are the same species or not. If your mechanisms use a consistent naming format for the species, then an automated tool might be successful. I know
RMG has a tool for combining mechanisms, but I believe it usually relies on extra metadata that it would normally embed in the input files to avoid this kind of pitfall. There's an
online version that you can try using, but you will probably need to look very carefully at the results to make sure you haven't included any duplicate species or reactions.