MILWAUKEE (AP) -- Mike Fiers knows how damaging the loss might be for the surging Milwaukee Brewers.
''The playoffs are right around the corner, and we need to win as many games as possible,'' the Brewers' pitcher said. ''Sure, there's a little bit of pressure there, but there is no excuse for me throwing the ball all over the place. I need to get back to pitching and start in the first inning.''
Lucas Duda homered and doubled, Jonathon Niese pitched six strong innings and the New York Mets snapped a six-game losing streak, beating the surging Brewers 7-3 on Friday night.
The loss dropped Milwaukee back to .500 at 72-72 - four games behind St. Louis for the second National League wild-card spot.
Fiers (9-8) gave up six hits and four runs in five innings for Milwaukee, which had won 18 of 23 coming in.
''One game is not going to change it,'' Fiers said. ''We had a really good stretch of wins here. We can still win the series. It's one game. If we can come back and win these next two games, it would be nice. It doesn't really matter where we're at. We need to win.''
Niese (11-9), who had lost three straight starts, settled down after giving up two second-inning runs, allowing six hits, three walks and the two runs. He also had two hits and scored a run, helping the Mets to their biggest offensive output since a 9-5 extra-inning victory over Philadelphia on Aug. 28.
Daniel Murphy also homered for New York.
Fiers struggled from the start, and the Mets scored twice in both the first and second innings, equaling their offensive output in three losses in a sweep against Washington.
In the first, Murphy walked with one out, went to third on David Wright's double and scored on Ike Davis' groundout. Wright scored on Duda's ground-rule double.
The Mets made it 4-0 in the second when Niese singled with one out and, two batters later, Murphy hit a ball into the second deck in right field for his sixth home run of the season.
''Just command again,'' Brewers manager Ron Roenicke said about Fiers. ''He came out not throwing strikes. He tried to throw fastballs away and was pulling them across the plate a lot on the lefties. It was command, with the offspeed pitches also.''
Milwaukee answered with two in the second, and it would have been more but for two runners getting thrown out at home. Jonathan Lucroy and Carlos Gomez led off with singles, and Travis Ishikawa doubled in Lucroy. Jean Segura grounded to Niese, who caught Gomez off third base, and Wright eventually tagged him out in a rundown. Fiers then singled in Ishikawa for his second RBI of the season. Norichika Aoki bounced to third, and Segura was tagged out at home. Rickie Weeks struck out to end the threat.
Shoddy defense cost Milwaukee in the sixth.
Duda homered to right center off reliever Manny Parra to lead off the inning - his second since being recalled from Triple-A Buffalo.
Then, with one out, Andres Torres reached on an error by shortstop Jean Segura, who threw high to first on the slow roller. Torres scored on Josh Thole's double. Niese followed with an infield single that caromed off third baseman Aramis Ramirez's chest - barely keeping alive his errorless streak of 42 games. Ruben Tejada followed with what should have been an easy double-play grounder to Ramirez, but Rickie Weeks' relay throw to first bounced in the dirt and got away from Ishikawa, scoring Thole.
''We haven't played this type game in quite a while,'' Roenicke said. ''I know we're going to have one of these once in a while, but we certainly need to bounce back tomorrow and play a lot better.''
The Brewers threatened in the eighth with leadoff singles by Ryan Braun and Ramirez before a spectacular Mets double play, as Lucroy grounded sharply up the middle to a diving Tejada, who from his stomach flipped the ball to second, where Murphy pivoted and threw quickly to first.
Milwaukee added a run in the ninth on Nyjer Morgan's RBI triple.
The Brewers had won nine straight at home, tying a Miller Park record, and were one shy of equaling the franchise mark. The streak included a sweep of the Braves earlier in the week that put them over .500 for the first time since they were 4-3 on April 12. Milwaukee was 12 games under .500 as recently as Aug. 19 before its recent streak made it a wild-card contender.
''Nobody expects us to be in this thing, and I think we've played that way, and that's why we've gotten back in it,'' Roenicke said. ''If you start looking at every game like it's 'you have to win,' I don't think the young guys will do well with that. So we haven't gone there.''
The Mets - 19-38 since the All-Star Break entering play - had lost eight of nine and came in 13 games under .500 for the first time since the end of the 2009 season.
''They play great here, we know they play great here,'' Mets manager Terry Collins said about the Brewers. ''They're in the hunt. They don't make many mistakes, so when they do, you've got to capitalize on it, and we did tonight.''
Notes: Mets 3B David Wright extended his hitting streak to eight games with his first-inning double. ... Brewers 1B Corey Hart missed his fourth straight game with plantar fasciitis in his left foot. ... New York Mets RHP Jenrry Mejia starts on Saturday - exactly two years since his last major league start. Mejia started three games for New York in 2010 and did not pitch in the majors in 2011 after Tommy John surgery. He has one relief appearance since being recalled Sept. 4.