As widely used antibiotics, tetracycline residues exist in food and environmental media, which pose certain hidden dangers and negative effects on public health. Therefore, the sensing and discrimination of tetracycline analogs (TCs) have great significance for improving food safety and preventing environmental pollution. Herein, a 7-hydroxycoumarin-3-carboxylic acid-embedded Eu-MOF (HC@Eu-MOF) material was constructed and then developed for the detection of TCs. Upon addition of TCs, the synthesized sensor displays opposite fluorescence changes at two different wavelengths due to the simultaneous presence of the inner filter effect (IFE) and the antenna effect (AE), and achieves a stable ratio signal response within 90 s. In addition, six important tetracycline analogs, including chlortetracycline (CTC), oxytetracycline (OTC), tetracycline (TC), metacycline (MC), doxycycline (DC) and demeclocycline (DMC) can be discriminated with 100 % accuracy through the principal component analysis even in extremely complicated mixtures. Further, a smartphone-assisted portable device was applied for visual sensing of TCs. The as-developed platform possessed the characteristics of simple synthesis, fast response, high sensitivity, and high stability, which further lays a further foundation for the on-site visual detection and discrimination of TCs in real samples.