Two weeks ago, the Pirates trailed the St. Louis Cardinals by 9 games in the National League Central Division. Today, that deficit is 2½ games, thanks, in significant part, to three consecutive wins over the weekend against the Cardinals at PNC Park, including a 6-5, 10-inning win Sunday night when the Pirates scored three times in their final at-bat on singles by Jordy Mercer, Starling Marte, Jung Ho Kang, Francisco Cervelli and, finally, Gregory Polanco. Suddenly, the Cardinals, losers of nine of their past 14 games, don’t seem nearly so unbeatable. The Pirates’ season can’t resume quickly enough Friday night in Milwaukee after the four-day All-Star break.

“We are doing some things well, but there are some things we can do better,” general manager Neal Huntington said before Sunday night’s game. “We really haven’t clicked as a club yet, which is fun to think of.”

The Pirates are in a nice spot. They have the third-best record in baseball, 53-35. There are plenty of reasons to think the best is ahead.

“It’s definitely an upward trend from where we were at 40 [games] to where we are at 80-plus,” manager Clint Hurdle said.

Advertise with us

The Pirates are 35-13 since May 22 after playing the first quarter of the season 18-22. No team has been better.

The three wins against the Cardinals were important for reasons that go beyond the division standings. When the teams played May 1-3 in St. Louis, the Cardinals won three one-run games, all in extra innings. They continued that dominance here Thursday night, winning, 4-1, when the Pirates played a horrible game in every way. But Gerrit Cole pitched and Walker hit the Pirates to a 5-2 win Friday night. Then came the 14-inning thriller Saturday night/​Sunday morning that ended with Andrew McCutchen hitting a walk-off home run to bring the Pirates back from a 5-4 deficit. The team that had been 0-28 when trailing after seven innings came back late three times to get a most unlikely win. They pulled off another miracle Sunday night by scoring those three runs off closer Trevor Rosenthal.

It’s funny, Hurdle talked pregame about how wonderful clutch hits are. Kang, Pedro Alvarez, Chris Stewart, Neil Walker and, of course, McCutchen delivered them Saturday night. There were different stars Sunday night.

“I like the fight in the at-bat,” Hurdle said. “That’s one of the things we continue to talk about. If there’s fight in the at-bat, you’ve got a chance for good things to happen.”

The Pirates offense is on the upswing. Even Polanco — the weak link — is hitting better. Even before his winning hit Sunday night, his fourth-inning single off Cardinals starter Tim Cooney — a left-hander, no less — gave the Pirates a 3-2 lead. He also won consecutive games last week against the San Diego Padres with late hits.

Advertise with us

There has been speculation the Pirates are looking to add an outfielder before the trade deadline at the end of the month to take playing time from Polanco. At the very least, Huntington should be looking to add bench help. “We’re making all the calls we should be making,” he said.

Working against Huntington is, in his words, the “extreme sellers’ market.” It won’t be easy to pull off any deal. On Huntington’s side is the fact his team proved in the past two months and especially over the weekend that it is good enough as is to play with anybody.

Clearly, Huntington and Hurdle like these Pirates. “They care about each other,” Huntington said. “They play for each other. They celebrate each other. That’s a great thing. … We’re in a good spot that there are some areas we can shore up, but there’s not a glaring hole where we may have to vastly overpay to close it down.”

But Huntington was quick to add, “I don’t think I’m ever happy where we are. We can always be better. We’re not in first place. We’re not the best team in baseball. …

“This club has worked hard to put itself in position to be a playoff contender and if we can add to it, it’s our responsibility to work to do that.”

Advertise with us

The defense has been inadequate at times. Shortstop Jordy Mercer had an eighth-inning error Sunday to help the Cardinals tie the score, 3-3. The base-running has been worse, abysmal on many occasions.

But as long as the pitching stays strong, the Pirates are going to win a lot of games. Only the Cardinals have pitched better as starters and relievers in the National League. It was shocking Sunday night that Tony Watson couldn’t protect the 3-2 lead in the eighth inning. He has been near-perfect, as has closer Mark Melancon. The Pirates came in 43-1 when leading after seven innings.

“We’ve put some wins in the bank, but there’s still more to go,” Huntington said. “We think this club recognizes it. They understand that we have a lot of baseball left to play and, while we’ve done some good things, again we’re not in first place, we’re not necessarily where we need to be and want to be. There’s still more work to do.”

It starts again Friday night.

It should be a terrific second-half ride.

Ron Cook: rcook@post-gazette.com. Ron Cook can be heard on the “Cook and Poni” show weekdays from 10 a.m. to 2 p.m. on 93.7 The Fan.