MUNI runs many different bus lines that go all through the city of San Francisco , three Cable Car lines that run through the Financial District and Chinatown ( with service to Fisherman 's Wharf ) and the Market Street surface and subway trolley lines . Its network consists of 54 bus lines , 17 trolley bus lines , 7 light rail lines that operate above ground and in the City 's lone subway tube ( called Muni Metro ) , 3 cable car lines , and a heritage streetcar line known as the F Market & Wharves .