The Orioles selected Harvey with the 22nd pick in the first round of the 2013 MLB draft, and he made his major league debut with the team in 2019. He played for the Orioles through 2021 and played for the Nationals from 2022 to 2024 before being traded to the Royals.
Prior to the 2014 season, Harvey was ranked by Baseball Prospectus as the 58th-best prospect in baseball.[6] He spent the season with the Delmarva Shorebirds of the Single-ASouth Atlantic League[7] where at 19 years of age he pitched to a 7–5 record and 3.18 ERA in 17 starts covering 87.2 innings. His 10.9 strikeouts per 9 innings were tops in the league of all pitchers who had pitched 70 or more innings.[8] He was named an SAL mid-season All Star and an MiLB Organization All Star.
Harvey did not pitch in 2015 or 2016. On May 12, 2015, Harvey was shut down for six weeks due to tightness in his elbow.[9] He did not pitch for a minor league team in 2015. Harvey threw in an instructional league in September 2015.[10] He began the 2016 season on the disabled list, and then underwent Tommy John surgery in July which ended his season.[11] In 2017, Harvey pitched for Aberdeen and Delmarva, along with three rehab games with the Gulf Coast Orioles, pitching to an 0–1 record and 0.96 ERA with 30 strikeouts in 18+2⁄3 total innings pitched between the three teams (14.5 strikeouts per 9 innings).[12]
The Orioles added Harvey to their 40-man roster after the 2017 season.[13] They assigned him to the Bowie Baysox of the Double-AEastern League to begin the 2018 season, but promoted him to the major leagues on April 9, to provide a fresh player for the relief corps.[14] However, he did not make his major league debut and was optioned back to Bowie two days later, and spent the remainder of the year there. In nine starts, he compiled a 1–2 record with a 5.57 ERA in 32+1⁄3 innings.[15]
On August 17, 2019, Harvey was promoted to the major leagues.[16] He made his major league debut that night versus the Boston Red Sox, striking out two batters over one scoreless inning.[17] He was credited with his first major-league win on August 20.[18] In 2019 in the minor leagues he was 3–6 with one save and a 5.00 ERA with 83 strikeouts in 75+2⁄3 innings. With the Orioles, he was 1–2 with a 1.40 ERA in seven relief appearances covering 6+1⁄3 innings in which he struck out 11 batters.[19]
In 2020 for the Orioles, Harvey was 0–2 and pitched to a 4.15 ERA with 6 strikeouts in 8.2 innings pitched in 10 games.[20]
On March 16, 2021, Harvey was placed on the 60-day injured list with an oblique strain.[21] He was activated off of the injured list on June 4.[22] Harvey was placed back on the injured list on July 2 with a right lat strain. In Triple-A, with the Norfolk Tides, he was 2–1 with an 8.10 ERA in 10 innings. With the Orioles, he was 0–0 with a 4.15 ERA in nine relief appearances covering 8.2 innings.[19]
Washington Nationals
On November 5, 2021, Harvey was claimed off waivers by the San Francisco Giants.[23] He was designated for assignment on March 14, 2022, to create room on the roster for free agent signing Jakob Junis.
On March 21, 2022, Harvey was claimed off of waivers by the Washington Nationals.[24] Harvey was placed on the injured list on April 21 with a right forearm strain, later being transferred to the 60-day IL on June 14.[25] He was activated on July 10.[26]