There are two independent 3,5-dimethylpyrazole and two independent 2-hydroxy-5-(phenyldiazenyl)benzoic acid molecules [in which intramolecular O—H⋯O bonds form S(6) graph-set motifs] in the asymmetric unit of the title compound, C5H8N2·C13H10N2O3. In the crystal, the components are linked by intermolecular O—H⋯O, O—H⋯N and N—H⋯O hydrogen bonds, forming four-component clusters. Further stabilization is provided by weak C—H⋯π interactions