In our study, we screened the important compounds of KXD for epilepsy, including quercetin, baicalin, kaempferol, yohimbine, geissoschizine methyl ether, baicalein, etc. KXD may exert its therapeutic effect on epilepsy through the following targets: PTGS2, MMP9, CXCL8, ERBB2, and ARG1, acting on the following pathways: neuroactive ligand-receptor interactions, arachidonic acid metabolism, IL-17, TNF, NF-kappa B, and MAPK signaling pathways. The gene discussed is CXCL8; the disease is epilepsy.