Go to your Steam library, right click on Team Fortress 2 and click "Properties". Go to the "Local Files" tab and click "Verify integrity of game files". If hammer truly is missing, this will bring it back.
If this is your first time logging in after the migration (Feb 8, 2022), you must reset your password to log in. Follow this guide if you're having trouble