Anionic, acidic, and metal ions are common contaminants in water and cause serious concerns for human and aquatic life. With the goal of rapid detection of analytes, we herein design a new array of ligand 5-(4H-1,2,4-triazol-4-yl)pyridin-3-ol-linked silver coordinated metal-organic frameworks Ag-MOFs as a promising sensor for Cr2O72-, MnO4-, humic acid (HA), and Fe3+ ions down to the micro level. Furthermore, as evidenced by luminescence, excitation-emission matrix (EEM) spectroscopic, and PXRD measurements, designed metal-organic frameworks (MOFs) can be fast, stable, and reusable for analyte detection in water.