He has previously played in MLB for the Milwaukee Brewers, Kansas City Royals, Baltimore Orioles, Minnesota Twins, Miami Marlins, New York Mets, and Chicago Cubs.
[6] In 2016, López began the season with the Colorado Springs Sky Sox of the Triple–A Pacific Coast League, but struggled, pitching to a 6.81 ERA in 17 games started.
[8] During the 2017–18 offseason, López pitched for the Águilas Cibaeñas of the Dominican Professional Baseball League.
[10] On July 27, 2018, López, along with teammate Brett Phillips, was traded to the Kansas City Royals for Mike Moustakas.
[11] On September 8, in his seventh major league start, López flirted with a perfect game as he retired 24 consecutive Minnesota Twins batters in order over eight innings.
He became the first pitcher in Royals history to bring a perfect game into the ninth inning, besting Bret Saberhagen's seven-inning attempt vs. the Seattle Mariners.
[19] On January 13, 2023, López agreed to a one-year, $3.525 million contract with the Twins, avoiding salary arbitration.
On September 2, he was optioned to the Triple–A Jacksonville Jumbo Shrimp after Johnny Cueto was activated from the injured list.
[27] On May 29, 2024, López was ejected in the eighth inning of a 10–3 loss to the Los Angeles Dodgers by the third base umpire.
In a postgame interview, López seemingly called the Mets "the worst team in all of fucking MLB.
On June 28, the Cubs selected López's contract, adding him to their major league roster.