Cell therapy has been a promising strategy for cardiac repair after myocardial infarction (MI), but a poor ischemic environment and low cell delivery efficiency remain significant challenges. The spleen serves as a hematopoietic stem cell niche and secretes cardioprotective factors after MI, but it is unclear whether it could be used for human pluripotent stem cell (hiPSC) cultivation and provide a proper microenvironment for cell grafts against the ischemic environment. Herein, we developed a splenic extracellular matrix derived thermoresponsive hydrogel (SpGel). Proteomics analysis indicated that SpGel is enriched with proteins known to modulate the Wnt signaling pathway, cell-substrate adhesion, cardiac muscle contraction and oxidation-reduction processes. In vitro studies demonstrated that hiPSCs could be efficiently induced into endothelial cells (iECs) and cardiomyocytes (iCMs) with enhanced function on SpGel. The cytoprotective effect of SpGel on iECs/iCMs against oxidative stress damage was also proven. Furthermore, in vivo studies revealed that iEC/iCM-laden SpGel improved cardiac function and inhibited cardiac fibrosis of infarcted hearts by improving cell survival, revascularization and remuscularization. In conclusion, we successfully established a novel platform for the efficient generation and delivery of autologous cell grafts, which could be a promising clinical therapeutic strategy for cardiac repair and regeneration after MI.