Cancer-associated thrombosis is a significant complication in cancer patients, leading to increased morbidity and mortality. The expression of coagulation/fibrinolysis genes, termed the "coagulome", plays a critical role in this process. Using the single-sample gene set enrichment analysis (ssGSEA), we identified seven cancer types with significantly activated coagulation pathways, focusing on lower-grade glioma (LGG) and stomach adenocarcinoma due to their predictive value for overall survival. Through 1000 iterations of the Least Absolute Shrinkage and Selection Operator (LASSO), we selected prognostic genes and constructed effective Cox regression models, particularly for LGG. Incorporating clinical characteristics, we constructed a nomogram for LGG, achieving an impressive area under the curve (AUCs) of 0.79, 0.82, and 0.81 at 1, 3, and 5 years in the test dataset, indicating strong potential for clinical application. Functional enrichment analysis between high-risk and low-risk LGG groups revealed significant enrichment of genes involved in the inflammatory response, interferon-gamma response, and epithelial-mesenchymal transition pathways. Combined with CIBERSORT and single-cell RNA sequencing analysis of LGG, our results demonstrated that the interplay between coagulation and the tumor microenvironment, particularly involving gliomas and myeloid cells, significantly influences tumor progression and patient outcomes.