We investigate the effect of partial replacement of extended 5d Ir 4+ sites by localized 3d Cr 3+ moments on the magnetocaloric properties of Y 2 Ir 2 O 7 (YIO) pyrochlore iridates. We find that Y 2 Ir 2−x Cr x O 7 (YICO) undergoes a cluster glass transition, possibly due to a Ruderman−Kittel−Kasuya−Yosida (RKKY)-like interaction between localized Cr 3+ moments occupying random sites in the pyrochlore network, mediated by 5d Ir conduction electrons. The coexistence of ferromagnetic and antiferromagnetic clusters gives rise to the conventional and inverse magnetocaloric effect (MCE). We observe significant enhancement of conventional as well as inverse MCE with substitution. Although the values of the conventional MCE and inverse MCE in substituted iridates are not large, the effect spans a giant working temperature window, thus leading to orders of magnitude enhancement of cooling power, the value being comparable to that of standard magnetocaloric materials.