There may be other sources or more recent ones, but this study in 2019 from the Massachusetts Housing Partnership (MHP) Center for Housing Data estimated housing density around all the commuter rail stations. Not mobile phone friendly to view.
https://mhpcenterforhousingdata.shinyapps.io/todex/