Bourjos played last season with Tampa Bay and hit .223 with five homers and 15 RBIs in 100 games. The 30-year-old was cut last week by the Chicago Cubs.
Flaherty played only 23 games last season with the Baltimore Orioles, missing nearly three months with a right shoulder strain. The 31-year-old saw action at every infield position except first base, as well as left and right field. Flaherty had been in camp with Philadelphia.