The Super Hammer would first appear in Donkey Kong. It would be able to break through the brick walls as well as defeat any enemy. They could be found in the Desert in stage 5-1. Mario is not able to jump when he is using the hammer.
The Super Hammer is bought at the item shop in Marrymore in Super Mario RPG: Legend of the Seven Stars. It would return in Paper Mario where it could break Stone Blocks and deal four damage to enemies with 0 defense.
In Paper Mario: The Thousand-Year Door, the Super Hammer could be obtained in Glitzville, after Podler, who got it from X, gives it to Mario so that he can smash the huge Yellow Block in the minor league locker room.