and recorded his first Pirates save against the Texas Rangers on September 11, 2013. New York Mets Farnsworth signed a minor league deal with the New York Mets on February 3, 2014. He was released on March 23. On March 26 the Mets re-signed Farnsworth to a minor league contract. He was called up to the majors on April 2 to replace the injured Bobby Parnell. On April 20, Farnsworth was named the new Mets closer after another blown save by Parnell's replacement, José Valverde. Farnsworth earned his first save as closer the next day in a 2–0 shutout of the St. Louis Cardinals. Farnsworth earned his second save as Mets closer three days later on April 23, giving up a run on three hits but managing to hang on for a 3–2 win over the Cardinals. The next day on April 24, Farnsworth was passed up for a save opportunity in favor of Daisuke Matsuzaka. However, after the game, Mets manager Terry Collins stated that Farnsworth was still the closer and that the Matsuzaka was the back up option. On April 26, Farnsworth gave up a 10th inning home run to Miami Marlins catcher Jarrod Saltalamacchia, allowing Miami to go on to win 7–6, and earning Farnsworth the loss. On May 3 in a game against the Colorado Rockies, Farnsworth gave up a walk off two-run home run to pinch hitter Charlie Culberson, earning Farnsworth a blown save and his second loss of the season. On May 10, Farnsworth earned his third loss of the season, giving up a go-ahead single to Ryan Howard, which resulted to a 5–4 loss to the Philadelphia Phillies. Farnsworth rebounded on May 12, getting his third save of the season in the opening game of the Subway Series against cross town rivals the New York Yankees. This was Farnsworth's last appearance as a member of the Mets. On May 14, the Mets outrighted Farnsworth to Triple-A to avoid guaranteeing him a full season's contract. In 19 games with the Mets, he had recorded a 3.18 ERA and three saves in four chances. Farnsworth stated that he would refuse the assignment and wanted to find a new team that would allow him to "play against this team." The next day on May 15, Farnsworth officially elected free agency. Houston Astros On May 17, 2014, Farnsworth signed a major league deal with the Houston Astros.