>Non-residents do not need a firearms license to transport their firearms in or through the Commonwealth, provided the firearms are unloaded and enclosed in a case while traveling.
Disclaimer: I am not a lawyer.
This seems to indicate that a MA firearms license is required if
a. You are staying in MA
b. You don’t have a MA hunting license and/or it is not hunting season.