The library does carry a supply of Charlie Cards. They are available free of charge. Funds can be added once the card is registered through the MBTA’s website or at various commuter locations:
https://www.mbta.com/fares/charliecard-and-charlieticket-online-services