Jay Biggerstaff-USA TODAY Sports

Rookie catcher MJ Melendez homered and drove in six runs, and Brad Keller ended a three-start losing streak as the host Kansas City Royals defeated the Boston Red Sox 13-5 on Sunday.

Melendez's three-run blast off Red Sox starter Kutter Crawford in the fifth inning broke open a two-run game.

In the series, Melendez homered three times and drove in 10 runs as the Royals won three of four. The Red Sox have lost four of their past five games.

Keller (6-12) worked six innings, allowing four hits and one run -- Rafael Devers' 24th homer of the season. Keller walked three and struck out four.

Crawford (3-4) surrendered five runs, one on a balk, on five hits and two walks. He struck out four.

In the fifth inning, Michael Massey walked for the Royals, and Nate Eaton doubled on a long fly ball to center that Jarren Duran allowed to drop just past him on the warning track, putting runners at second and third.

Crawford got a strikeout, but Melendez's 13th homer of the season extended the Royals' lead to 5-0.

Devers homered in the sixth, and Tommy Pham, who was batting just .150 in his first five games with Boston, hit a two-run homer in the seventh off Taylor Clarke to pull the Red Sox to within 5-3.

Kansas City added two insurance runs in the bottom of the seventh on back-to-back triples by Eaton and Kyle Isbel and Melendez's sacrifice fly.

Eaton's triple was a routine fly ball in shallow center that Duran lost in the sun, and Isbel's was a long fly ball that Duran couldn't grab as he hit the fence in right-center field.

Duran, who was being heckled by fans in the seventh, appeared to take a few steps toward the fence in response to the fans. Right fielder Alex Verdugo came over to try to calm Duran.

Kansas City took advantage of four walks by Darwinzon Hernandez to add six runs in the eighth on a two-run single by Massey, a two-run double by Isbel, Melendez's sacrifice fly and Bobby Witt Jr.'s RBI single.

Duran's groundout and Pham's single brought in two runs for the Red Sox in the top of the ninth.

The Royals had 11 hits -- with Melendez, Massey, Eaton and Isbel each slashing a pair -- to Boston's 10. Isbel drove in three runs and scored three, and Massey and Eaton each scored three times.

For the Red Sox, Pham had two hits and three RBIs, and Reese McGuire had two hits.

More must-reads:

TODAY'S BEST
Mavericks come from behind to down Thunder, take 2-1 series lead
Stars continue road dominance with Game 3 win over Avalanche
Watch: Paul Skenes wastes no time showing why Pirates drafted him No. 1 overall
Watch: Braves were one out away from first no-hitter in 30 years
Roman Wilson hopes to become Steelers' next 'great' WR
Chargers sign veteran edge-rusher
Justin Allgaier dominates at Darlington for first win of 2024
'Great mind': One-time NBA champion endorses candidate for Lakers HC job
Celtics respond with impressive road win vs. Cavaliers in Game 3
Hurricanes' power play finally comes through with season on the line
Watch: An outstanding first half by Donovan Mitchell keeps the Cavaliers alive in Game 3 vs. Celtics
Tigers lose veteran starting pitcher to injury
Watch: Minor league baseball game interrupted by turtle delay
Paul Skenes experiences the Pirates' incompetence in just one game
Rangers ace continues to be plagued by nerve irritation in thumb
Cowboys hint at timeline for extension talks with offensive star
Steelers first-round pick has already 'apologized' to new locker mate
Former Packers WR makes bold prediction about Jordan Love
Broncos release former Super Bowl champion WR
Nationals had 'substantive discussions' with former top prospect about extension

Want more sports news?

Join the hundreds of thousands of fans who start their day with Yardbarker's Morning Bark, the best newsletter in sports.