This directory lists 1,013 roofing contractors in Massachusetts, and this page sorts them by the work they do. A company counts for a service only when its own website says it does that work, so each number below is the count of confirmed companies, not every company that might take the job.
Roof Replacement has the most confirmed companies (652), followed by roof repair (632) and commercial roofing (498). Each service page ranks its companies by Google rating weighted by review count, and shows how many are confirmed in each city. If you know your town but not the service, start from the city list instead. Before anyone starts, ask for the price in writing and for proof of liability insurance.