I’m not aware of one.
It’d need to look at any transformations in lua (that basically just change one tag to another), data selection criteria in the .mml file and things like “if zoom > x” in the .mss files. That’d be quite complicated - it’s usually easier for people to say “I’m not interested in X so I’ll remove all X” from the files that I load.