In a food processor, pulse flour, cocoa powder, powdered sugar, and cold cubed butter until crumbly; add egg yolk and pulse until dough clumps.
Press dough evenly into bottom and fluted sides of a 9-inch tart pan with removable bottom; chill for 30 minutes.
Preheat oven to 350°F (175°C). Line tart with parchment, fill with pie weights, and blind-bake for 15 minutes; remove weights and bake 5 more minutes; cool completely.
Heat heavy cream in a saucepan over medium heat until steaming; pour over chopped chocolate and softened butter; let sit for 2 minutes, then whisk until smooth and glossy.
Stir in vanilla extract and pour warm ganache into cooled tart crust.
Refrigerate for at least 2 hours until ganache is set firmly.
Garnish with fresh raspberries and a dusting of powdered sugar before slicing.