Hi, Tushar!
Though there might not be many frequent direct bus services between Shimla and Mcleod Ganj, there are enough buses to Dharamshala, which is just 10 km from Mcleod Ganj. You can check out the following link to know more about the bus timings from Shimla to Dharamshala: https://online.hrtchp.com/oprs-web/avail/services.do