Post-stroke treatment with indole-based AHR ligands beneficially regulated MG-mediated antigen processing and co-stimulatory immune functions. Here, AHR is linked to stroke disorder.