Indian stock market closed firmer on May 4th with benchmark indices posting modest gains.