Ethnopharmacological relevanceThe Roucongrong Pill (RCRP), originating from the historical General Medical Collection of Royal Benevolence, is frequently used to treat postmenopausal osteoporosis (PMOP). Despite its prevalent application, the specific anti-osteoporotic mechanisms of RCRP remain to be elucidated. Aim of the studyThis study aims to elucidate the therapeutic mechanism of RCRP in the context of ovariectomy (OVX)-induced PMOP in rats. By employing an integrative approach, the research combines medicinal chemistry, gut microbiota (GM) profiling, metabolomics, MetOrigin traceability, network pharmacology, molecular docking, and molecular dynamics simulations to deliver a comprehensive analysis. Materials and methodsSprague-Dawley (SD) rats underwent bilateral OVX to establish a PMOP model. The therapeutic efficacy of RCRP was evaluated through bone metrics (BMD, bone strength, BV/TV, Tb.Sp), hematoxylin and eosin (H&E) histological assessment, and bone metabolism markers (OPG, BALP, TRACP-5b, β-CTX, RANKL). Fecal metabolomics and 16S rDNA sequencing were employed to assess the influence of RCRP on GM and metabolite profiles. Furthermore, MetOrigin facilitated the traceability analysis of relevant metabolites. Molecular docking identified potential RCRP compounds with anti-PMOP activity, while their stability and protein interactions were assessed through molecular dynamics simulations. Network pharmacology further confirms the targets of action. ResultsRCRP alleviated PMOP in rats, enhancing bone strength, cortical and trabecular BMD, BV/TV, and serum OPG levels, while reducing Tb.Sp, serum BALP, TRACP-5b, β-CTX, and RANKL concentrations. A total of twenty-six distinct metabolites were identified, of which ten—tribufos, sulfoacetic acid, betamethasone dipropionate, 9-oxooctadeca-10,12,15-trienoic acid, menatetrenone, piperlongumine, maltopentaose, enol-phenylpyruvate, catechol, pentaacetate, and (+)-2-methylpropanoic acid—exhibited correlations with six GM species: Turicibacter, Roseburia, Colidextribacter, Helicobacter, Odoribacter, and Lachnoclostridium, as determined by Spearman's correlation analysis. Notably, MetOrigin revealed the microbial metabolism of taurine and hypotaurine, along with host-specific steroid hormone synthesis. Computational docking studies demonstrated robust interactions between five RCRP-derived steroids (hydroxyecdysone, corticosterone, trilostane, 5α-androstan-3,6,17-trione, and cortisol) and key enzymes (estradiol 17α-dehydrogenase and UDP-glucuronosyltransferase), suggesting a potential enhancement of therapeutic efficacy against PMOP. Furthermore, molecular dynamics simulations indicated stable interactions between hydroxyecdysone and two proteins, with binding free energies of −67.427 kJ/mol and −156.948 kJ/mol, respectively. Through network pharmacology and molecular docking approaches, potential targets of these metabolites were identified, including estrogen receptors ESR1 and ESR2, dual specificity phosphatase 6 (DUSP6), sex hormone-binding globulin (SHBG), prostaglandin E receptor 4 (PTGER4), cannabinoid receptor 2 (CNR2), cathepsin K (CTSK), and androgen receptor (AR). ConclusionsRCRP effectively mitigates OVX-induced bone loss in PMOP rats by modulating GM and associated metabolites, along with their potential targets and key metabolic pathways, including taurine and hypotaurine metabolism, as well as steroid hormone biosynthesis. These findings offer new insights into the therapeutic mechanisms by which RCRP may alleviate PMOP.