Electrocatalysis as an efficient energy storage and conversion technology opens up a new path to solve the existing problems of energy depletion and environmental pollution caused by fossil fuel consumption. Metal-organic frameworks (MOFs), a class of crystalline porous materials with high specific surface area, high porosity, and designable structure, have shown great potential as new electrocatalysts. However, the inherent low electrical conductivity and low stability of MOFs have greatly hindered their further application in electrocatalysis.