I recommend purchasing high-quality stainless steel cups or mugs since they're non-porous, making stubborn stains unlikely. Regular cleaning of cups or mugs can help prevent coffee stains from ...
Stainless steel thermal carafes can also pick up tough coffee stains over time ... then run a water-only brew cycle, using a mug to catch the water. Clean the tool by rinsing under warm water ...