St. Louis hopes Wednesday's performance was a sign the two are getting back to their usual production.
Carpenter had three hits after being dropped to seventh, and Tommy Pham added a pair of hits that included his eighth homer. St. Louis had lost five of seven games, scoring more than three runs just once.
"For us to struggle like we have, the lineup's just not capable of doing what you thought it was going to do if you got guys like us not going," Carpenter said. "For us to be as good as good as we are, we need everybody clicking. Today, you saw that."
Lynn (1-4) had control issues again, a surprising constant in his first season with Minnesota after six years with the Cardinals. He gave up three runs, four hits and four walks in three innings, throwing 82 pitches.
"You can feel like you're doing what you're supposed to do, or close," Lynn said. "Just doesn't go your way, or something kind of snowballs on you. That's kind of been how it's been going since the season started for me."
After declining the Cardinals' $17.4 million qualifying offer, Lynn was among many unsigned free agents as spring training began. He reached a $12 million, one-year contract with the Twins.
Lynn averaged 3.4 walks per nine innings in his time with the Cardinals, a number that has crept to 6.6 per nine innings entering first start against St. Louis.
"He's aware that it's been a struggle so far," Minnesota manager Paul Molitor said. "Sometimes, either subconsciously or consciously, you're trying a little bit too hard to get it back on track."
Fowler, who entered hitting .146, had a two-run single in the first. He made just his second start in five games and had two hits and two walks.
Hitting .140 coming in, Carpenter started a game lower than cleanup for the first time since 2015. He had an RBI double in the seventh and his first three-hit game this season.
"I think there was just things they see with the guys, something whether it's mechanically or that feel that we're always talking for, searching for," St. Louis manager Mike Matheny said. "They sense, especially the guys who have been around a while, they sense when they're getting close. Good time for it."
Logan Morrison had an opposite-field solo homer for Minnesota in the sixth.
Cardinals starter Miles Mikolas allowed two runs, two hits and two walks in 4 2/3 innings. It was the shortest start of the season for Mikolas, who had gone at least 6 2/3 innings in his prior six starts.
"Just trying to see what I had in my bag today," Mikolas said. "Didn't have my best stuff out there today and just tried to grind through it and get outs and do what I could."
CLIMBING THE CHARTS
Joe Mauer had two hits for the Twins and passed Harmon Killebrew into sixth on the Twins/Washington Senators franchise list with 2,025. He trails Sam Rice (2,887), Kirby Puckett (2,304), Joe Judge (2,291), Clyde Milan (2,100) and Rod Carew (2,085).
Cardinals: RHP Luke Gregerson was placed on the 10-day DL with a right shoulder impingement, but Matheny said Gregerson has some "bark" in his throwing elbow too. ... RHP Carlos Martinez, on the DL with a right lat strain, will have another MRI this week to see how the injury is healing.
Twins: C Jason Castro is out for the rest of the season after surgery on Tuesday revealed more extensive meniscus damage in his right knee. Castro underwent surgery to trim a meniscus injury and was expected to miss four-to-six weeks, but Dr. Richard Steadman went through with a full repair after seeing the damage.
For more AP baseball coverage: https://apnews.com/tag/MLBbaseball
It hasn't been a conventional rise to the top of the National League, but the path the Cubs have taken thus far could help them down the road.
Though he has been up-and-down in his five starts since coming off his second stint on the disabled list, Dodgers ace Clayton Kershaw says he definitely feels healthy and thinks "the consistency's coming."
Relive the best images from the first half including James Paxton's no-hitter, Gleyber Torres' rookie charge and Mike Trout's career year.
Jefry Marte breaks his bat after Clayton Kershaw strikes him out in the first inning and then responds with a 3-run homer in the fourth inning.
Jon Lester won for the eighth time in nine starts, Jason Heyward drove in two runs and the Chicago Cubs swept the San Diego Padres with a 7-4 win on Sunday.
Before Manny Machado arrived for the All-Star Game, the Futures Game on Sunday was a who's who of prospects bandied about in trade talks for the Orioles shortstop and others expected to be moved before the July 31 non-waiver deadline.