UHPLC-Q-EOMS was employed to identify 59 major components of TCEF, and network pharmacology analysis was used to screen 48 active components of TCEF for treating depression, corresponding to 139 relevant targets, including ALB, AKT1, TNF, ESR1, and CTNNB1. This evidence concerns the gene TNF and major depressive disorder.