Ru(bpy)32 + -encapsulated cyclodextrin-based metal–organic framework as biosensor showed high sensitivity, excellent stability, and low detection limit for the electrochemiluminescence determination of cytokeratin-19 fragment antigen 21-1 in A549 lung cancer cells. The gene discussed is KRT19; the disease is lung carcinoma.