Triturated Moringa oleifera seeds have components that adsorb recalcitrant indigo carmine dye. Coagulating proteins known as lectins (carbohydrate-binding proteins) have already been purified from the powder of these seeds, in milligram amounts. The coagulant lectin from M. oleifera seeds (cMoL) was characterized by potentiometry and scanning electron microscopy (SEM) using MOFs, or metal–organic frameworks, of [Cu3(BTC)2(H2O)3]n to immobilize cMoL and construct biosensors. The potentiometric biosensor revealed an increase in the electrochemical potential resulting from the Pt/MOF/cMoL interaction with different concentrations of galactose in the electrolytic medium. The developed aluminum batteries constructed with recycled cans degraded an indigo carmine dye solution; the oxide reduction reactions of the batteries generated Al(OH)3, promoting dye electrocoagulation. Biosensors were used to investigate cMoL interactions with a specific galactose concentration and monitored residual dye. SEM revealed the components of the electrode assembly steps. Cyclic voltammetry showed differentiated redox peaks related to dye residue quantification by cMoL. Electrochemical systems were used to evaluate cMoL interactions with galactose ligands and efficiently degraded dye. Biosensors could be used for lectin characterization and monitoring dye residues in environmental effluents of the textile industry.