Whisk together maple syrup, egg, and vanilla extract in a large mug. Mix flour, baking powder, and salt in a small bowl. Stir into the maple syrup mixture until well combined. Fold in walnuts and chocolate chips.
Microwave at the highest setting until mug cake has set and risen well, about 2 minutes. Keep microwaving at 15-second intervals if it still appears soft.