The Traditional Chinese Medicine Systems Pharmacology Database (TCMSP), the Analysis Platform, DrugBank, and other databases were analyzed using data mining, and the results show that the active components of HP and depression are linked to targets such as TNF-, IL-2, TLR4, and so on. This evidence concerns the gene TNF and depressive disorder.