CHI3L1 level in CSF is correlated with the severity and prognosis of anti-LGI1 encephalitis. Here, CHI3L1 is linked to viral encephalitis.