The combination of the command mk and the
standard option -gt allows to select the stars later than the spectral
type given on the command line
mk ts -gt "spectral type"
However, only the spectral type is taken into account, and not the luminosity class.
mk ts -gt A5 lists the stars later than A5