Efficient turn-on luminescent probes for l-cysteine sensing in serum are designed and synthesized based on an anionic Ln–K–MOF with tunable emission color and heavy metal ion adsorption capacity.