A novel method for the in situ generation of catalytically active small metal nanoparticles, by anion extrusion on a parent porous copper chloropyrophosphate framework, has been developed to generate gold, platinum and palladium nanoparticles for sustainable catalytic oxidations using molecular oxygen as the oxidant. Transmission electron microscopy coupled with detailed structural and physico-chemical characterisation, in combination with in-depth kinetic analysis have afforded profound insights into the nature of the active site for facilitating structure–property correlations.