At one time, the City of Boston promulgated its own building code. In Massachusetts building codes were done municipality by municipality, and some simply adopted Boston's code as their own. In 1974, the Commonwealth created a statewide code, which became the official code. Information in newer versions can be found here.
Boston Building Codes
State Building Code