Taking the subway from the airport to the gym is FREE and convenient. Pick up is curbside at each Terminal. Take the Silver Line to South Station and there change to the Red Line and take that to Kendall Square. The gym is a short walk from the subway station.
Uber and Lyft both pick-up from from Boston Logan airport.