Preheat oven to 375 degrees. Line standard muffin tins with paper liners. Process whole pistachios, sugar, and salt in a food processor until finely ground. Add butter, vanilla, and eggs, and process until smooth. Add flour, and pulse until just combined.
Divide batter among muffin cups, filling each halfway. Sprinkle with raspberries and slivered or chopped pistachios. Bake until firm and pulling away from liners, about 28 minutes. Let cool in tins on wire racks.
Cupcakes will keep, covered, for up to 2 days.