Tweaking the structure of metal-organic frameworks could transform the capacity to use methane as a