Plasmon of Au nanorods activates metal-organic frameworks for both the hydrogen evolution reaction and oxygen evolution reaction.