The municipal page describes Solar dos Massa as a stone-and-lime townhouse built in 1779 and protected by the municipality for its architectural and historical value.
That source also links it to the Professor Walter Nogueira Municipal Public Library. Check the building's current use and visiting conditions before entering; this page does not repeat an old timetable as current.