KANSAS CITY, Mo. -- Jose Ramirez is finding his swing and it's no surprise that's leading to Cleveland's best stretch of the season.
Ramirez hit a go-ahead homer in the 14th inning and the Indians held on to beat the Kansas City Royals 5-4 Thursday night in a game that lasted just shy of five hours and finished after midnight.
It was Ramirez's sixth home run in July, topping his combined total (five) from the first three months of the season. Cleveland is 15-4 this month, the second-best record in the majors.
"He's starting to feel good about himself. It's good, that's welcome. Those are games that you win because of that, that maybe you don't (before)," Indians manager Terry Francona said.
Ramirez also doubled twice and upped his batting average to a season-high .240. After beginning the year in an extended slump, the third baseman has heated up in July, hitting .338 this month.
A.J. Cole earned his first save since May 15, 2015, in his second major league appearance. After allowing the first three batters to reach, Cole retired the next three in order, striking out Bubba Starling to end the game.
Kansas City got a run in the 14th on Jorge Soler's sacrifice fly.
"A.J. was put in a really tough spot," Francona said. "He hadn't pitched in about a week. All of a sudden, you're asking him to close out a game. He knuckled down and got them."
Francisco Lindor homered on the first pitch of the night for the Indians, who remained two games behind first-place Minnesota in the AL Central.
Nick Goody (2-0) threw two scoreless innings for the win. Cleveland's bullpen worked 8 2/3 innings, allowing just one run and four hits.
"When you can get into the 14th inning and every one of our guys out there in the bullpen is throwing up zeros, I mean, that's huge," Goody said. "That's what championship teams are made of."
Adam Plutko pitched 5 1/3 innings and gave up three runs on seven hits while making his second consecutive start against the Royals.
Lindor hit his 17th home run but Hunter Dozier answered in the bottom of the first with his 16th of the season, a two-run shot to put Kansas City up 2-1.
The Indians scored twice in the sixth to briefly take a 3-2 lead before the Royals tied it in the bottom half. Neither bullpen flinched for the next seven innings.
Josh Staumont pitched out of jams in the 11th and 12th to throw two scoreless innings in his big league debut for the Royals.
"There are very few things in life that you do for the very first time and you've put a lot of dedication, blood, sweat and tears into," Staumont said. "When it comes to fruition, even if it's just as simple as standing there for the first time, it's definitely an experience that you can't put into words."
Starling had a career-high three hits and has a nine-game hitting streak dating to his second career game.
Mike Montgomery matched his longest outing of the season, pitching five innings and giving up one run on five hits in his second start for the Royals since coming over in a trade with the Chicago Cubs. Since July 15, Royals starters are 6-2 with a 2.45 ERA.
"I thought I made some good strides from the last one," Montgomery said. "Definitely a long way to go. Physically, I'm starting to get my legs under me a little bit better."
Indians: Tyler Naquin was out of the lineup for a third straight game with a tight right hamstring. Naquin did some running in the outfield pregame to test out the muscle. Francona said after the game that Naquin will play Friday. ... Dan Otero (right shoulder inflammation) threw one inning Wednesday for Triple-A Columbus, but reported to the team Thursday that he still didn't feel right. Francona said the Indians are trying to figure out what the next step is.
The Royals and Indians play the second of their four-game series Friday night. Zach Plesac (4-3) starts for Cleveland, and Kansas City will hand the ball to Jakob Junis (6-8), who was placed on the paternity list Wednesday for the birth of his third child. Junis is pitching as well as he has at any point in his career, allowing just three runs in 20 innings over his last three starts. Plesac will make his second straight start against the Royals. He was the winning pitcher Sunday, tossing six innings of two-run ball.
More AP MLB: https://apnews.com/MLB and https://twitter.com/AP-Sports
Sports memorabilia continues to boom. What the NFT happened?!
Two years ago, the sports card and memorabilia business had a tidy little niche audience. Then a wild gold rush began and continues to this day. An explainer on how we got here -- and what happens next.
Everything you need to know about Olympic baseball rosters
The Olympic baseball teams feature some familiar names and some relative unknowns. Here's your complete guide to the players to watch.
Gomber expected to start for the Rockies against Angels
Colorado Rockies (43-57, fourth in the NL West) vs. Los Angeles Angels (50-49, fourth in the AL West)
Braves to take on Mets on the road
Atlanta Braves (49-51, third in the NL East) vs. New York Mets (53-45, first in the NL East)
Quantrill expected to start as Indians host the Cardinals
St. Louis Cardinals (50-50, third in the NL Central) vs. Cleveland Indians (49-48, second in the AL Central)
Anderson expected to start as Pittsburgh hosts Milwaukee
Milwaukee Brewers (58-42, first in the NL Central) vs. Pittsburgh Pirates (38-61, fifth in the NL Central)