The mana value of a split card in the graveyard is the total mana value of both halves of that card. It does not have two mana values.

Artwork
Loading artwork…
Aven Heartstabber
Streets of New Capenna · #166 · EN
Nonfoil—Foil—
Card rules
Flying
As long as there are five or more mana values among cards in your graveyard, this creature gets +2/+2 and has deathtouch.
When this creature dies, mill two cards, then draw a card.
1/1
Rare · Illustrated by Dan Murayama Scott
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
X is 0 when determining the mana value of a card in your graveyard.
The mana value of a land card is 0.
The mana value of a double-faced card in your graveyard is always the mana value of the front face.
If you have five or more mana values among cards in your graveyard and then some of them are removed such that you have fewer than five mana values among those cards, Aven Heartstabber loses its bonus to power and toughness. Notably, this may cause it to die if it now has damage marked on it greater than its toughness.
“Five or more mana values among cards in your graveyard” means there are at least five different mana values among those cards.