Madayi (a.k.a. Madai). is a Census Town and Grama panchayat in Kannur district of Kerala state, India. Bhagavathy shrine, Madayi Kavu (Thiruvar Kadu Bhagavathi Temple) where devotees worship Bhadrakali, is located here. The Goddess is one of the family deity of the Chirakkal Royal family, and the temple is known for the Koyikalasham (Offering of chicken). The temple was one of the few to survive desecration by the armies of Tippu Sultan, which devotees attribute to the grace of the Goddess. The Kolathiri Rajahs were the administrators of the temple, however recently the administration was transferred to the Malabar Devaswom Board. Nearby is the dedicated to Shiva. The temple was razed by followers of Tippu Sultan in the 18th century, but the temple has been rebuilt and is a vibrant centre