We describe the preparation of the crystalline and glassy state of a coordination polymer displaying proton conduction and guest-accessible porosity. EXAFS and solid-state NMR analyses indicated that pyrophosphate and phosphate ions are the main proton transporters in the glass and that homogeneously distributed 5-chloro-1H-benzimidazole in the glass provide the porosity