Introduction

Urolithiasis is a common ailment with a steadily increasing incidence and an exceptionally high recurrence rate [1]. The probability of an individual developing urolithiasis during their lifetime is estimated to be 5–10%. After the initial treatment of urolithiasis, the recurrence rate can reach 50% and 80–90% within 5 and 10 years, respectively [2]. While treatment methods for this condition have improved in terms of efficacy and safety, managing urolithiasis and its complications imposes a significant economic burden on society [3]. The widely used medication, hydrochlorothiazide, which carries a high level of evidence for preventing urinary stone formation, has been proven ineffective in kidney stone prevention [4]. There is a pressing need for further research to explore preventive measures for this condition, to alleviate the burden on patients and society. Considering the exorbitant costs associated with conducting clinical trials and the substantial expenses involved in pharmaceutical development, identifying potential factors related to the prevention and treatment of urolithiasis before embarking on clinical trials is paramount.

Considerable evidence has established a link between lifestyle factors and urolithiasis incidence [5, 6]. Yuan et al. recently reported from a randomized study that increased coffee and caffeine consumption could potentially lower the risk of urinary stone formation [7]; however, they did not explore the potential underlying mechanisms. Urolithiasis is regarded as a chronic metabolic disorder [8], and Khamaysi et al. demonstrated that the presence of succinate metabolism in the blood can alter the risk of calcium oxalate stone formation [9]. Metabolomics is a systematic study of small molecules or metabolites associated with metabolic processes in organisms, including cells, tissues, and biological fluids, providing unique chemical fingerprints [10, 11]. This technique is utilized to discover biomarkers, thereby identifying specific metabolites associated with environmental exposures and diseases, further elucidating the mechanisms of disease [12, 13]. In recent years, with advancements in genome-wide association studies (GWAS) regarding genetic determinants in human metabolism [14,15,16], new biological targets for preventing urolithiasis can be accurately identified at the metabolomic levels through Mendelian randomization (MR) analysis. The use of MR analysis holds promise in advancing our understanding of urolithiasis prevention by pinpointing novel biological pathways and targets.

MR analysis utilizes strongly correlated single nucleotide polymorphisms (SNPs) as substitutes for exposure factors to estimate causal relationships with the phenotype of interest [17]. It follows Mendel’s Second Law, the law of independent assortment, akin to clinical randomized controlled trials (RCTs) [18]. Hence, helping to mitigate possible confounding variables and addressing the reverse causality problems commonly encountered in observational studies [19].

We conducted univariable Mendelian randomization (UVMR) to assess the causal link between lifestyle factors and urolithiasis formation. Additionally, we performed multivariable Mendelian randomization (MVMR) to account for potential biases arising from confounding factors. Furthermore, we delved into the mechanisms linking lifestyle factors, urolithiasis, and blood metabolites. Subsequently, a two-step MR analysis was employed to evaluate whether these blood metabolites, which exhibited a significant causal relationship with urolithiasis, could mediate the influence of lifestyle factors on the risk of urolithiasis formation, and this effect was quantified.

Methods and materials

Study design

The data utilized for MR analysis were publicly sourced from databases that have obtained ethical approval. This study primarily followed several steps. Initially, we used MR analysis to evaluate the causal impact of lifestyle factors on urolithiasis. Selecting ‘cigarettes smoked per day,’ ‘frequency of alcohol intake,’ and ‘tea consumption’ as lifestyle factors was based on numerous epidemiological studies identifying them as potential risk factors for urolithiasis [5, 20,21,22,23,24]. However, it was crucial to highlight that the connections between these factors and the risk of urinary stone formation are debated in the literature. Our aim was to study factors that have both clinical significance and solid genetic foundation. Subsequently, we conducted Univariable Mendelian Randomization (UVMR) to evaluate the individual effects of three lifestyle factors, including cigarettes smoked per day, alcohol intake frequency, and tea intake, after mutual adjustment. Next, from a pool of 249 blood metabolites, we selected three potential mediators in the association between lifestyle factors and urolithiasis: phenylalanine, tyrosine, and phospholipids to total lipids ratio in very large very-low-density lipoprotein (VLDL) (XL_VLDL_PL_pct). Finally, we conducted mediation analysis to quantify the mediating effects of these three metabolites on the causal link between lifestyle factors and the risk of urolithiasis. (Fig. 1).

Fig. 1
figure 1

Study flowchart illustrating the Mendelian randomization (MR) analysis process. SNPs related to lifestyle factors, blood metabolites, and kidney and ureter calculus were selected for MR analysis. Due to adherence to MR principles, MR can assess causal relationships without interference from confounding factors. Furthermore, this study employed MR to estimate whether blood metabolites mediate the causal relationship between lifestyle factors and kidney and ureter calculus. VLDL, very-low-density lipoprotein; XL_VLDL_PL_pct, phospholipids to total lipids ratio in very large VLDL

Screening process for SNPs

The selection of SNPs correlated with the phenotype adhered to the three core assumptions of MR: (1) SNPs are significantly associated with lifestyle factors; (2) SNPs are unrelated to confounding factors; (3) SNPs affect urolithiasis solely through the lifestyle factors [25]. The threshold for SNPs with GWAS significance was set at p < 5 × 10-8, and for SNP independence, the threshold was r2 < 0.001, with a clump distance of 10,000 kb to mitigate potential biases introduced by linkage disequilibrium (LD). LD levels were computed using data from the European sample in the 1000 Genomes Project [26]. Palindromic SNPs and incompatible SNPs were excluded based on allele frequencies. Additionally, we calculated the F-statistic to gauge the statistical robustness of the chosen SNPs, and SNPs with an F-statistic of less than 10 were excluded due to insufficient statistical power. We employed PhenoScanner (www.phenoscanner.medschl.cam.ac.uk) [27, 28] To eliminate the risk of our selected SNPs associated with lifestyle factors being confounded by other phenotypes that could influence the onset of urolithiasis (e.g., infections, genetic defects, adverse drug effects, including increased levels of vitamin D, cystinuria, xanthinuria, ureteropelvic junction obstruction, ureteral stricture, high-temperature work environments, etc.), evaluated at a threshold of p < 5 × 10-8. We also employed MR pleiotropy residual sum and outlier (MR-PRESSO) methods to identify and eliminate SNPs exhibiting pleiotropic outliers (p < 0.05) [29]. SNP information and F-statistics for the GWAS datasets used in this study can be found in Additional file 1: Table S1–7.

Data sources for lifestyle factors

In the initial stages of our research, our criteria for selecting GWAS summary data related to lifestyle factors were focused on ensuring that the data were recently updated and obtainable in a reasonable manner. These GWAS summaried incorporate a larger sample size. This method aimed to bolster the statistical power of our analysis, fortify the robustness of study results, and mitigate the impact of random noise. GWAS summary data for “cigarettes smoked per day” were extracted from the GWAS and Sequencing Consortium of Alcohol and Nicotine use, which includes 249,752 individuals of European ancestry with 12,003,613 genetic variants [30]. This data is publicly accessible on the Medical Research Council Integrative Epidemiology Unit (MRC-IEU) open GWAS database, available at https://gwas.mrcieu.ac.uk/datasets/ieu-b-142/. We sourced the GWAS summary data for ‘alcohol intake frequency’ from the MRC-IEU consortium, which includes 462,346 individuals of European ancestry with 9,851,867 genetic variants. This data can be publicly accessed from the MRC-IEU open GWAS database (https://gwas.mrcieu.ac.uk/datasets/ukb-b-5779/). Similarly, the GWAS summary data for “tea intake” comprises 447,485 individuals of European ancestry and encompasses 9,851,867 genetic variants, which is openly accessible through the MRC-IEU open GWAS database (https://gwas.mrcieu.ac.uk/datasets/ukb-b-6066/).

Data sources for blood metabolites

The UK Biobank (UKB) is a biomedical database comprising approximately 500,000 participants [31]. The blood metabolites data utilized in the present study originated from an analysis of approximately 120,000 UK volunteers’ baseline EDTA plasma samples recruited by the Nightingale Health platform in 2020 within the UKB database. These volunteers had a baseline age range of 37 to 73 years, and the blood samples were collected approximately 4 hours after their last meal, with females accounting for 54% of the cohort. These data encompassed 168 absolute level measures and 81 ratio measures, covering 249 indicators such as lipoprotein lipids, fatty acids, and small molecules, representing various metabolic pathways in the human body. You can find comprehensive data on these blood metabolites in the MRC-IEU GWAS database (https://gwas.mrcieu.ac.uk/) [32].

Data sources for urolithiasis

The GWAS summary data related to urolithiasis (including kidney and ureter calculus) were sourced from the FinnGen consortium [33]. Data from the eighth version of the database were utilized, which included 8597 cases and 333,128 controls, with an analysis covering 20,175,454 variants. This GWAS dataset was adjusted for covariates, including gender, age, the top 10 principal components, genetic batch, and genetic relatedness. You can access detailed data from the FinnGen database at https://www.finngen.fi/en/access_results. All populations used for analysis shared the same European ancestry. The decision to utilize the summary of the urinary tract stone GWAS from FinnGen was motivated by two reasons. Firstly, FinnGen provides a larger number of urinary tract stone cases. Secondly, Given that our data sources for blood metabolites were from the UKBiobank, continuing to use the UKBB’s Urolithiasis Summary in the two-sample MR analysis might introduce sample overlap, potentially biasing our results [34]. After careful consideration, we made the decision to use FinnGen’s Urolithiasis Summary.

Statistical analysis

Step 1: Identification of independent causal effects of lifestyle factors on urolithiasis using UVMR and MVMR

Three common UVMR methods, namely inverse variance weighted (IVW), MR-Egger, and weighted median (WM), were employed to examine the causal relationship between lifestyle factors and urolithiasis. The IVW method assumes that all instrumental variables used in the analysis are valid. The WM method relies on the assumption that a minimum of 50% of the analyzed SNPs are valid. The MR-Egger method assumes that all genetic variants used in the analysis have no impact on the exposure and outcome. However, the differing fundamental assumptions of the three methods may introduce bias into the results. The IVW method was the primary analytical approach used [35], and the MR-Egger regression and WM method served as supplementary analyses to validate the results’ reliability and stability. If the IVW p-value was < 0.05 and the direction of the odds ratio (OR) aligned with the direction of the other two analysis methods, we proceeded with further assessment. Subsequently, a set of sensitivity analyses were carried out, such as the Cochran’s Q test, to estimate heterogeneity in the causal relationship between lifestyle factors and urolithiasis (Heterogeneity in MR analysis results was indicated by a p-value < 0.05 for Cochran’s Q test). MR-Egger intercept was utilized to assess whether there was genetic pleiotropy in the causal relationship between lifestyle factors and urolithiasis (a p-value of < 0.05 for intercept indicated pleiotropy); the regression intercept was used to assess the magnitude of pleiotropy [36]. A leave-one-out analysis was conducted to assess the influence of each SNPs on the causal relationship, identifying strongly correlated SNPs. To elucidate the independent causal impact of lifestyle factors on urolithiasis, the least absolute shrinkage and selection operator (LASSO) method was first used to exclude potential collinearity between lifestyle factors. Furthermore, we primarily used MVMR-IVW as the multivariate analysis method and employed MVMR-Egger for sensitivity analysis of the multivariate results. All statistical analyses were performed using MendelianRandomization (Version 0.7.0), TwoSampleMR (Version 0.5.6), and MVMR (Version 0.3) packages.

Step 2: Selection of potential mediators

The IVW method was the primary MR approach for assessing the causal effects of 249 blood metabolite levels on urolithiasis, resulting in the identification of 15 metabolites with causal effects on this condition. We further assessed heterogeneity among the SNPs used in the primary analysis using Cochran’s Q statistic. We also employed MR-Egger intercepts to detect directional pleiotropy. Metabolites exhibiting heterogeneity and pleiotropy were eliminated, resulting in the selection of three metabolites: tyrosine, XL_VLDL_PL_pct, and phenylalanine, which were considered to have a causal impact on urolithiasis. Subsequently, we employed the same methods to evaluate the causal associations between lifestyle factors and the three metabolites. If there was causal evidence indicating that lifestyle factors influenced metabolites, which in turn affected the risk of urolithiasis, these metabolites were chosen as candidate mediators for the respective lifestyle factors.

Step 3: Quantification of the mediating effects of different blood metabolites in the causal associations between lifestyle factors and urolithiasis.

A two-step MR analysis was conducted to quantify the mediating effects of different metabolites in the causal relationship between various lifestyle factors and urolithiasis. First, univariate MR was applied to calculate the causal effect (β1) of each lifestyle factor on blood metabolites with causal impacts. Second, MVMR was employed to calculate the causal effect (β2) of each metabolite on urolithiasis risk while accounting for various lifestyle factors. The mediation proportion of blood metabolites in mediating the relationship between lifestyle factors and urolithiasis was calculated by dividing the mediation effect (β1 × β2) by the total effect [37,38,39]. Confidence intervals (CIs) were calculated using the delta method [40, 41].

Results

MR and MVMR analyses of independent causal effects of lifestyle factors on urolithiasis

According to our screening criteria for SNPs related to lifestyle factors, no SNPs requiring exclusion were identified during the use of PhenoScanner. Using the IVW method, our analysis revealed that cigarettes smoked per day (OR = 1.159, 95% CI = 1.004–1.338, p = 0.044) and alcohol intake frequency (OR = 1.286, 95% CI = 1.056–1.565, p = 0.012) were causally associated with an elevated risk of urolithiasis, while tea intake was causally associated with a lower risk of urolithiasis (OR = 0.473, 95% CI = 0.299–0.748, p = 0.001). A LASSO analysis of the three lifestyle factors showed no potential collinearity among them. Further MVMR analysis revealed that smoking (OR = 1.189, 95% CI = 1.010–1.399, p = 0.038), alcohol consumption (OR = 1.35, 95% CI = 1.071–1.702, p = 0.011), and tea consumption (OR = 0.352, 95% CI = 0.219–0.567, p < 0.001) independently influenced the risk of urolithiasis (Fig. 2).

Fig. 2
figure 2

Univariable and multivariable MR analyses of the relationship between lifestyle factors and kidney and ureter calculus. OR odds ratio, CI confidence intervals, SNPs single nucleotide polymorphisms; MVMR multivariable Mendelian Randomization

Impact of blood metabolites on the risk of urolithiasis

In the MR analysis of 249 blood metabolites with urolithiasis, 15 blood metabolites showed significant results using the IVW method. We further assessed the results for heterogeneity using Cochran’s Q statistic and examined directional pleiotropy with the MR-Egger intercept. Any blood metabolites exhibiting heterogeneity and pleiotropy were eliminated (Fig. 3a). Results showed that tyrosine (OR = 1.201, 95% CI = 1.023–1.411, p = 0.025) and phenylalanine (OR = 1.404, 95% CI = 1.056–1.886, p = 0.019) increased the risk of urolithiasis, while XL_VLDL_PL_pct (OR = 0.840, 95% CI = 0.741–0.952, p = 0.006) reduced the risk of urolithiasis (Fig. 3b).

Fig. 3
figure 3

Selection process of metabolites causally related to kidney and ureter calculus among the 249 blood metabolites. a Blood metabolite (√) causally related to kidney and ureter calculus selected based on the primary inverse-variance weighted (IVW) analysis method and sensitivity analysis methods. The intensity of brown color indicates the significance of blood metabolites under the respective analysis method (p < 0.05), while the intensity of blue color suggests the lack of significance for blood metabolites under this method (p > 0.05). A Cochran-Q method with a p-value > 0.05 indicates no heterogeneity in MR analysis, and an Egger-intercept method with a p-value > 0.05 indicates the absence of directional pleiotropy in the analysis. b Genetic susceptibility of blood metabolites associated with kidney and ureter calculus. Results were obtained from the IVW median method with a random-effects model. A P-value < 0.05 indicates a causal effect of the blood metabolite on kidney and ureter calculus. VLDL, very-low-density lipoprotein; XL_VLDL_PL_pct, phospholipids to total lipids ratio in very large VLDL; OR odds ratio, CI confidence intervals, SNPs single nucleotide polymorphisms

Impact of lifestyle factors on blood metabolites

Using two-sample UVMR analysis, it was found that cigarettes smoked per day had a causal impact on XL_VLDL_PL_pct (β = 0.066, 95% CI = 0.025–0.106, p = 0.001) and phenylalanine (β = 0.037, 95% CI = 0.007–0.068, p = 0.017). Tea intake had a causal impact on tyrosine (β = 0.124, 95% CI = 0.025–0.224, p = 0.015) and XL_VLDL_PL_pct (β = 0.115, 95% CI = 0.026–0.204, p = 0.011). Alcohol intake frequency had a causal impact on tyrosine (β = − 0.050, 95% CI= − 0.097 to 0.003, p = 0.037) and XL_VLDL_PL_pct (β = 0.069, 95% CI = 0.020–0.118, p = 0.006) (Fig. 4). By combining previous analyses, we identified causal relationships as follows: “cigarettes smoked per day → urolithiasis,” “cigarettes smoked per day → phenylalanine,” “phenylalanine → urolithiasis,” “tea intake → urolithiasis,” “tea intake → XL_VLDL_PL_pct,” and “XL_VLDL_PL_pct → urolithiasis.” Therefore, it was inferred that phenylalanine and XL_VLDL_PL_pct mediate the impact of cigarettes smoked per day and tea intake on the risk of urolithiasis. No blood metabolites were identified as mediators of the relationship between alcohol intake and the risk of urolithiasis. Consequently, the mediating effects of phenylalanine and XL_VLDL_PL_pct on the association between lifestyle factors and the risk of urolithiasis were further analyzed.

Fig. 4
figure 4

Causal associations between lifestyle factors and blood metabolites. Results are obtained from the inverse variance-weighted median method with a random effects model. XL_VLDL_PL_pct, phospholipids to total lipids ratio in very large VLDL; beta, effect size; CI confidence intervals, SNPs single nucleotide polymorphisms

Mediation effects of blood metabolites on urolithiasis

In further mediation analyses, the total effects of different lifestyle factors on urolithiasis were denoted as “c” and the indirect effects mediated through blood metabolites due to lifestyle factors were expressed as “a × b” [39] (Fig. 5a). In the mediation analysis involving cigarettes smoked per day—phenylalanine—urolithiasis, after adjusting for cigarettes smoked per day in the MVMR analysis, the direct effect of phenylalanine on urolithiasis was estimated with an OR of 1.467 (95% CI = 1.106–1.945). Therefore, the percentage of the causal effect of cigarettes smoked per day on urolithiasis mediated by phenylalanine was 9.7% (4.2–15.2%) (Fig. 5b). In the mediation analysis involving tea intake—XL_VLDL_PL_pct—urolithiasis, after adjusting for tea intake in the MVMR analysis, the direct effect of XL_VLDL_PL_pct on urolithiasis was estimated with an OR of 0.870 (95% CI = 0.753–1.004). Therefore, the proportion of the causal effect of tea intake on urolithiasis mediated by XL_VLDL_PL_pct was 2.1% (1.0–3.3%) (Fig. 5b).

Fig. 5
figure 5

Mediating effect of selected blood metabolites on the association between lifestyle factors and kidney and ureter calculus. a Illustration of the total effect and the direct effect of lifestyle factors on kidney and ureter calculus. b Estimates of the impact of tea intake explained by XL_VLDL_PL_pct and the impact of cigarettes smoked per day explained by phenylalanine on kidney and ureter calculus. PM proportion mediated, VLDL very-low-density lipoprotein, XL_VLDL_PL_pct phospholipids to total lipids ratio in very large VLDL, CI confidence intervals

Complementary and sensitivity analyses

Based on the significant results from IVW, we further validated our main analysis using weighted median and MR-Egger as supplementary analytical approaches. The three MR analytical methods employed in the primary analysis consistently showed the same direction of OR values (Additional file 1: Table S8).

Regarding MR sensitivity analyses, although they may reduce the precision of the results, they did not alter the direction of causality. Some MR results showed heterogeneity (Additional file 1: Table S9) but with no evidence of directional pleiotropy (Additional file 1: Table S10). The leave-one-out analysis was performed to evaluate the impact of each SNPs on the primary MR analysis’s causal effect, and no strongly correlated SNPs were identified. The results for leave-one-out analysis are presented in Additional file 2: Figure S1-8.

Discussion

The current study was designed to assess potential associations between lifestyle factors and urolithiasis incidence and whether these associations were mediated by blood metabolites. This is the first study to utilize MR to explore the role of blood metabolites in mediating the influence of lifestyle factors on urolithiasis incidence. Our genetic analysis revealed causal relationships between cigarettes smoked per day, tea intake, and alcohol intake frequency and the risk of urolithiasis development. Further analysis showed that phenylalanine mediated 9.7% of the causal relationship between cigarettes smoked per day and urolithiasis, while XL_VLDL_PL_pct mediated 2.1% of the causal association between tea intake and urolithiasis.

This marks the inaugural MR investigation to assess the causal and distinct impact of cigarettes smoked per day on the risk of urolithiasis. It identified phenylalanine as the metabolic mediator of the association between cigarettes smoked per day and urolithiasis and quantified its mediating effect in this pathway. Currently, there is significant controversy surrounding the relationship between cigarettes smoked per day and urolithiasis risk. Some studies found no correlation between smoking and urolithiasis [42,43,44]. However, alternative research has identified a noteworthy link between smoking and urolithiasis. The discrepancies in these study results could potentially be attributed to confounding factors. Hamano et al. conducted a case-control study and noted that a smoking habit significantly increased the risk of urolithiasis (OR = 4.41, 95% CI = 2.85–6.84, p < 0.0001) [45]. Liu et al. conducted a case-control study and reported that cigarette smoking significantly elevated the risk of calcium urolithiasis (OR = 1.66; 95% CI = 1.11–2.50; p = 0.014) [21]. Soueidan and colleagues observed a significantly higher smoking rate among participants with urolithiasis compared with those without urolithiasis (7% vs. 21%, p = 0.02) [46]. Regarding the relationship between phenylalanine and urolithiasis, Prié et al. found that patients with mutations leading to the substitution of 48 amino acids by phenylalanine were prone to recurrent urolithiasis [47], a case report also described urinary stones in patients with untreated phenylketonuria [48]. Duan et al. also established a close association between phenylalanine metabolism abnormalities and urolithiasis patients. These studies provide strong supporting evidence for our study on the reliability of phenylalanine mediating the increased risk of urolithiasis due to cigarettes smoked per day.

Although several observational studies have confirmed the association between tea intake and urolithiasis, research conclusions are inconsistent due to the inevitable interference of confounding factors. Goldfarb et al. found that tea prevented stone disease [49], which is analogous to Littlejohns et al.’s conclusion [24]. However, Haghighatdoost et al. found that drinking more than 4 cups of tea per day increased the risk of calcium oxalate kidney stones [50]. To obtain more reliable research conclusions, subsequent studies employed MR methods to evaluate the causal relationship between tea intake and urolithiasis. Liu et al. conducted an MR analysis to examine the causal association between tea intake and urolithiasis, revealing an inverse association between tea consumption and kidney stones [51]. The present study used a larger sample size and established the causal association between tea intake and urolithiasis. More importantly, our study discovered for the first time that XL_VLDL_PL_pct mediates the connection between tea intake and urolithiasis.

Similarly, observational research has produced inconsistent results regarding the causal relationship between frequency of alcohol consumption and urolithiasis. Some studies reported a negative correlation [20, 52, 53], while others found no association between the two parameters [21, 49]. The discrepancy in conclusions is also attributed to the inevitable confounding factors in traditional observational studies, such as recall bias during questionnaire surveys. Subsequently, Yang et al. and coworkers performed an MR analysis and found that alcohol intake frequency increased the risk of urolithiasis [54]. While our method aligns with theirs, our MR results cannot be considered an independent replication of their findings. First, we employed a dataset with a larger sample size, adding more confidence to our study. Second, there was no sample overlap between our study cases and controls, eliminating weak instrument bias and Type I error rates. Lastly, we further explored the causality between alcohol intake frequency and urolithiasis. Although we did not identify any substances mediating their relationship in blood metabolism, this may direct future investigations. There is a need to broaden the search scope for blood metabolites or explore alternative approaches to clarify the potential mechanisms behind their causal relationship.

The strengths of this study include the use of MR analysis, which introduces a novel approach to exploring the causal link between lifestyle factors and urolithiasis while reducing bias caused by confounding factors. Additionally, we employed MR-PRESSO to remove SNPs that might introduce bias, ensuring that they are significantly associated with exposure but unrelated to the outcome. Furthermore, the SNPs used in our analysis had F-statistics greater than 10 to ensure statistical power, and we performed several sensitivity analyses to further confirm the consistency of causal associations. In addition, we selected 249 blood metabolites to explore potential mechanisms underlying the causal link between lifestyle factors and urolithiasis. Nevertheless, this study does come with several limitations. Firstly, despite employing various methods to control bias during the analysis, complete elimination of bias is unlikely. Secondly, our study exclusively relied on GWAS data from individuals of European ancestry, potentially constraining the generalizability of our findings. Thus, future studies should include individuals from diverse ethnic backgrounds. Thirdly, our analysis did not differentiate the composition of stones, which might affect the associations between lifestyle factors and urolithiasis and warrants further investigation.

Conclusion

In summary, this study revealed the associations between cigarettes smoked per day, alcohol intake frequency, and tea intake and the risk of urolithiasis. Additionally, phenylalanine was identified as a causal mediator for the increased risk of urolithiasis due to smoking and XL_VLDL_PL_pct was identified as a causal mediator for the reduced risk associated with tea intake. These findings hold significant implications for precise interventions targeting lifestyle-related metabolites to prevent urolithiasis. Furthermore, the study findings deepen our understanding of the potential mechanisms underlying the connection between lifestyle factors and urolithiasis, providing additional targets for future prevention and intervention strategies for urolithiasis.