Researchers have recorded the first in situ electronic-structure observations of the adsorption of carbon dioxide inside Mg-MOF-74, an open-metal-site MOF that has emerged as one of the most promising materials for capturing and storing greenhouse gases.