You can remove coffee stains from cups, mugs, and glass (even coffee carafes) by sprinkling the stains with salt then covering with ice. Stir around a bit then the stains wipe away.
Cleaning Discolored Coffee Cups
Using an Electric Ice Cream Maker?
Turkish Coffee Recipe
Removing Ink on Vinyl
Removing Ice from Your Windshield
How to Remove Salt Stains From Suede Boots
Removing Hand Sanitizer Stains on Wood?