[1] According to Skanda Purana it is believed the temple is installed by the Rishi Markandeya in Dvapara Yuga.
Every day Markandeya used to go to Kasi from Ananthagiri to take a holy bath in the Ganges through a cave due to his yoga sadhana.
Lord gave Darshana in dream and arranged the Ganges to flow to perform a holy bath for Rishi.
[The hills and the cave where Muchukunda rested is also located to Mount Girnar in the state of Gujarat Kalayavana rakshsa took control of Dwaraka and followed Lord Krishna and Balarama to Ananthagiri and spoil the sleep of Muchikunda and was killed.
About 400 years ago Nizam Nawabs used to come here for hunting and to take rest in the peaceful place of Ananthagiri hills.