Stir the coffee-flavored liquor and vodka with some ice cubes in a carafe with a long spoon and pour into 2 chilled coupe glasses.
Fill a cocktail shaker with ice and add the heavy cream. Close and shake vigorously for 30 seconds to thicken and aerate. Open the shaker and spoon the cream gently on top of each cocktail so it floats in a layer. Use a rasp to grate the fresh coffee beans on top of the cream. Enjoy.