Overexpression of MTHFD2 represents an inflamed tumor microenvironment and precisely predicts the molecular subtype and immunotherapy response of bladder cancer. Here, MTHFD2 is linked to urinary bladder cancer.