Metal–organic frameworks (MOFs), as precursors for synthesizing new carbon materials, hold promise for applications in the oxygen reduction reaction (ORR).