Four hub genes—MCEMP1, NELL2, ZNF354C, and CD4—were strong TBM mortality predictors. Here, CD4 is linked to meningeal tuberculosis.