Mass. Gen. Laws ch. 237, § 18
Section 18. The defendant may interpose a counterclaim for the value of such improvements.
Your Policy Risk Impact Agent