Carolina, which has two shutouts in its past three games and is 6-1-1 in its past eight, is one point behind the Pittsburgh Penguins for the second wild card into the Stanley Cup Playoffs from the Eastern Conference.
"[Our goalies] have been the difference in our season," Brind'Amour said. "[Mrazek and Curtis McElhinney] have both just been great and it just gives us a lot of confidence that when we're not playing our best, we still have a chance to win."
Henrik Lundqvist made 30 saves for the Rangers (23-23-8), who have lost three of their past four games (1-2-1).
"We definitely had our looks, especially in the second period, but it came down to one play and that was the difference, and unfortunately we were on the wrong end," Lundqvist said.
Foegele gave the Hurricanes a 1-0 lead at 6:43 of the third period, beating Lundqvist glove side on a shot from the slot. It was his first goal in eight games.
"I think we just know where we are in the standings and how important each game is," Foegele said. "Everyone's battling here, and we need to get wins and it's important that we got two points."
Svechnikov (18:45) and McGinn (19:31) each scored an empty-net goal to extend the lead to 3-0.
"We didn't capitalize on our chances and we couldn't find a way in the third to get one," Rangers defenseman Marc Staal said. "It's just one of those games where you know that first [goal] was important."
The Rangers went 0-for-2 on the power play with one shot on goal.
"Our power play just hurt us," Rangers coach David Quinn said. "We got demoralized off the power play, and I thought they fed off that kill to start the third and we were never able to match what they were doing."