Mechanism of electrochemical lithiation of a metal-organic framework without redox-active nodes.