Bring cardamom, star anise, and 9 cups water to a boil in a small covered saucepan over high heat. Reduce heat and simmer 10 minutes. Brew coffee with spiced water according to coffeemaker's directions (you may need to let water cool and transfer spices to coffee with a slotted spoon).
Spoon 1 to 2 tbsp. brandy, if using, and 1 tsp. sugar into each mug or heatproof glass. Add coffee, stir, and top with whipped cream. Sprinkle with a little more sugar.
*Find in the baking aisle.
Note: Nutritional analysis is per serving.