Eric Hartline-USA TODAY Sports

The Philadelphia Phillies can punch their ticket to the postseason for the second straight year Tuesday when they open a three-game series versus the visiting Pittsburgh Pirates.

The Phillies (87-69) whittled their magic number to one, completing a four-game sweep of the New York Mets on Sunday. Philadelphia will reach the playoffs with a victory over its Keystone State rival or a loss by either the Miami Marlins (81-75) or Chicago Cubs (82-74).

"You start in spring training, it's all about the postseason, talk about the chance to get to the World Series," Phillies catcher J.T. Realmuto said following Sunday's 5-2 victory. "This is step 1, get to a postseason spot. We're excited to celebrate, obviously the work's not done yet, but we look forward to that and then the real work starts."

Realmuto had a two-run single in the fourth inning on Sunday. He is 8-for-23 with two homers, seven RBIs and four runs during his six-game hitting streak.

"I feel like I've been putting together better at-bats recently," Realmuto said, per the Philadelphia Inquirer. "I haven't necessarily got the results I wanted a few weeks ago, but I felt like I was having better at-bats and putting good swings on balls, I just wasn't having good luck. Lately the ball is kind of falling in my direction."

Nick Castellanos belted a two-run homer against the Mets on Sunday, marking the seventh time he's gone deep in his last 12 games. During that stretch, Castellanos is 16-for-43 with 17 RBIs and 10 runs.

Philadelphia left-hander Aaron Nola (12-9, 4.57 ERA) will take the mound Tuesday in search of his first win in September. He is 0-1 with a 6.86 ERA in four starts this month.

Nola, 30, didn't fare well in his last encounter with the Pirates. He allowed seven runs (five earned) on nine hits in 4 2/3 innings of a 7-6 setback on July 29. He is 4-3 with a 4.34 ERA in eight career appearances against Pittsburgh.

Unlike the Phillies, the Pirates (74-82) were thwarted in their bid to extend their winning streak to five games on Sunday. The Pirates clinched their fifth straight losing season, squandering a two-run lead in a 4-2 setback to the Cincinnati Reds.

Jack Suwinski homered to lead off the fifth inning, marking the eighth straight game that Pittsburgh has gone deep.

Jason Delay had an RBI single later in the inning for Pittsburgh, which has won 16 of its past 25 games.

"We feel like we're in a very good spot going into next season to make that playoff push," Delay said, per the Pittsburgh Post-Gazette. "We feel like all of the pieces are in the locker room. And the experience guys are getting, it's only going to help us next year."

Bryan Reynolds has reached base in each of his past 23 games.

The Pirates have yet to announce their starting pitcher for the series opener.

Right-hander Mitch Keller (13-9, 4.25) is the likely candidate, however. He recorded his second straight win on Wednesday despite yielding seven runs on nine hits -- including two homers -- in a 13-7 victory over the Cubs.

Keller, 27, allowed two runs on six hits and struck out eight in a 2-1 setback to Philadelphia on July 28. He is 0-3 with a 6.53 ERA in four career appearances against the Phillies.

More must-reads:

TODAY'S BEST
Dolphins' Tua Tagovailoa reportedly makes physical change amid contract talks
Do Oilers need more from Connor McDavid to get to Stanley Cup Final?
All-Rookie teams show gems available all over draft
The NBA has not witnessed this much parity in 50 years
Knicks expected to be 'aggressive' in upgrading their roster
Drew Bledsoe offers advice for Patriots rookie QB Drake Maye
2024 AFC revenge games: Brothers, 'Stefon Diggs Bowl' to take center stage
2024 NFC revenge games: Which game should Cowboys, others have circled?
How All-Star Race victory could turn Joey Logano's season around
Xander Schauffele's triumph could open the floodgates for his career
Anderson Silva, Chael Sonnen will finish off their trilogy in a boxing ring
Ranking the five best MLB free-agent signings of offseason
Veteran WR, former first-round pick announces NFL retirement
Oilers advance to West Final again after holding off Canucks in Game 7
Bengals star WR not expected to sign franchise tender before OTAs
Red Sox RHP diagnosed with ligament damage in elbow
Watch: Caitlin Clark shows off range with logo three, but Fever fall short
Former Dolphins receiving leader announces his retirement from NFL
Detroit Lions dominate PFF's top-25 players under 25
Hall of Famer, legendary Raiders offensive lineman dead at 86

Want more MLB news?

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