for the Phillies in 2013, he hit .175 with 3 RBI. Pittsburgh Pirates On December 18, 2013, the Pittsburgh Pirates signed Martínez to a minor league deal. His contract was selected from the Triple-A Indianapolis Indians on June 12, and he was optioned back to Indianapolis on August 19. He was designated for assignment on September 2, 2014, when the contract of Chase d'Arnaud was selected and was added to the 40-man roster. Martínez elected free agency in October 2014. Cleveland Indians Martínez signed a minor league deal with the Cleveland Indians on February 11, 2015. On April 9, 2015 he was assigned to the Triple-A Columbus Clippers. The Indians purchased his contract from Columbus on September 4, 2015 and added him to the major-league roster. On July 2, 2016, Martínez was designated for assignment to make room on the 25-man roster for Shawn Morimando after a 19-inning game the day before that exhausted the entire bullpen. He hit .283 in 60 at-bats for the Indians. He was the final out of the 2016 World Series against the Chicago Cubs. Boston Red Sox On July 8, 2016, Martínez was traded to the Boston Red Sox in exchange for cash. During his time with Boston, Martínez hit .167/.286/.167 with no home runs and no RBI in 6 at bats. Martínez appeared in 4 games and starting in one game, playing in right field. Second stint with the Indians After being designated for assignment by the Red Sox on August 2, 2016, Martínez was claimed by the Indians off waivers on August 4. Martínez hit into the final out to Kris Bryant in the Indians' Game 7 loss in the 2016 World Series to the Chicago Cubs, which was their first World Series championship in 108 years. On November 23, 2016, he was outrighted to Triple-A. He signed a new minor league contract with the Indians organization on December 1. The Indians purchased Martínez's contract on April 2, 2017, adding him to their 2017 opening day roster. Martínez was designated for assignment on May 14, 2017. Tampa Bay Rays On May 18, 2017, the Tampa Bay Rays acquired Martínez in exchange for cash considerations. He was designated for assignment on June 19 to create room for Trevor Plouffe. He became a free agent on June 23, 2017. Third stint with the Indians Martínez signed a minor league contract with the Cleveland Indians