Catalyzes the dephosphorylation of phosphorylated 5-6 carbon sugars and monophosphate nucleotides (NMP) in vitro (By similarity). To a lesser extent, dephosphorylates flavin mononucleotide (FMN) in vitro (PubMed:26316208). Belongs to the HAD-like hydrolase superfamily. Cof family.