Preheat oven to 350°F (175°C) and line a cupcake pan with liners.
In a bowl, whisk together flour, cocoa powder, baking powder, baking soda, and salt.
In another bowl, beat butter and sugar until light and fluffy. Add eggs one at a time, mixing well.
Mix in milk.
Gently fold in the raspberries.
Gradually add dry ingredients to wet mixture and mix until just combined.
Fill cupcake liners about 2/3 full and bake for 18-20 minutes.
For ganache, heat heavy cream until simmering, then pour over chocolate chips and stir until smooth.
Dip cooled cupcakes into ganache and let set.