The best thing about brass is it doesn't develop rust. But it might tarnish over time. So, to maintain the goodness of your brass hammer, you wouldn't need to give too much effort.  Just clean the hammer head with a damp clean cloth. If you see any grim on the surface, just add some liquid soap as a cleaner and wash it with warm water.