Leyva was raised in Las Vegas, Nevada; his father Ulises had played in the youth academy of Club América in Mexico City, but left the sport to pursue a career in civil engineering.
[3] Leyva signed a homegrown contract with Seattle Sounders FC on April 9, 2019, becoming the youngest player in the team's history.
[8] He made his first-team debut on June 5, 2019, as a late substitute during an away loss to the Montreal Impact, becoming the third-youngest player in the league's history.
[9] Leyva played in 12 matches during the 2022 season and had two assists as a temporary replacement for injured midfielders João Paulo and Obed Vargas until they returned mid-season.
[10] On April 24, 2023, the Sounders loaned Leyva to the Colorado Rapids for the rest of the season in exchange for a future MLS SuperDraft pick and $92,000 in general allocation money.