On July 4, 1987, the San Francisco Giants acquired Dravecky, pitcher Craig Lefferts, and third baseman Kevin Mitchell from the San Diego Padres for pitchers Mark Grant and Mark Davis and third baseman Chris Brown for their pennant drive. He went 7–5 during the stretch, and in the playoffs pitched a shutout in Game 2 against the St. Louis Cardinals and lost Game 6 by a score of 1–0. The Cards won in seven games.