The Giants have acquired righty reliever Ramon Ramirez from the Red Sox in exchange for minor league pitcher Daniel Turpen.
Ramirez, 28, had a 4.46 ERA with 6.6 K/9 and 3.4 BB/9 in 42.1 innings out of Boston's bullpen this season. There is approximately $555K left on his contract this season, and he is arbitration eligible in each of the next two seasons.
Turpen, 23, had a 4.09 ERA with 7.5 K/9 and 3.4 BB/9 in 50.2 innings for San Francisco's Double-A affiliate this season, working mostly in relief. The 254th overall pick in the 2007 draft was not ranked as one of the Giants' 30 best prospects before the season according to Baseball America.
WEEI.com's Rob Bradford first reported the deal while Henry Schulman of The San Francisco Chronicle added some details.
Mike Axisa contributed to this post.