Mollie Doyle scored 15 points and some key fourth-quarter defensive stops by Eva Winsheimer helped the Thunder to the non-league victory.
Mountain View (2-5) lead 24-10 at halftime, and Heritage pulled to within 28-20 after three quarters.
After missing out on games and practices due to weather, Mountain View won two of its three games this week as it heads to the Auburn Riverside tournament next week.
MOUNTAIN VIEW 38, HERITAGE 24
HERITAGE — Deja Gomez 2, Eliza Chow 1, Gio Smith 0, Jasmin Tuttle 7, Brittaney Carroll 3, Alina Svirdan 0, Vanessa Brown 6, Tori Roush 0, Taylor Wulf 0, Anna Rosenbaum 2, Lisi Thomas 3. Totals 6 (1) 11-28 24.