Stroke is a global disease that seriously threatens human life. The pathological mechanisms of ischemic stroke include neuroinflammation, oxidative stress, and the destruction of blood vessels at the lesion site. Here, a biocompatible in situ hydrogel platform was designed to target multiple pathogenic mechanisms post-stroke, including anti-inflammation, anti-oxidant, and promotion of angiogenesis. Double-crosslinked responsive multifunctional hydrogels could quickly respond to the pathological microenvironment of the ischemic damage site and mediate the delivery of nitric oxide (NO) and ISO-1 (inhibitor of macrophage migration inhibitory factor, MIF). The hydrogel demonstrated good biocompatibility and could scavenge reactive oxygen species (ROS) and inflammatory cytokines, such as interleukin-6 (IL-6), interleukin-10 (IL-10), and MIF. In a mouse stroke model, hydrogels, when situated within the microenvironment of cerebral infarction characterized by weak acidity and elevated ROS release, would release anti-inflammatory nanoparticles rapidly that exert an anti-inflammatory effect. Concurrently, NO was sustained release to facilitate angiogenesis and provide neuroprotective effects. Neurological function was significantly improved in treated mice as assessed by the modified neurological severity score, rotarod test, and open field test. These findings indicate that the designed hydrogel held promise for sustained delivery of NO and ISO-1 to alleviate cerebral ischemic injury by responding to the brain's pathological microenvironment.