Edith and the Kingpin is the second track on Herbie Hancock's 2007 album River: The Joni Letters on which he covers and pays tribute to Joni Mitchell. The song originally appeared on Mitchell's 1975 albumThe Hissing of Summer Lawns. This 2007 cover features Tina Turner, and has an uncredited guitar part by Prince.
It is not clear where and when Prince contributed his part. In 2016, Kat Dyson said that Herbie Hancock and Prince met on 20 March 2005 during the 36th NAACP Image Awards ceremony afterparty thrown by Prince at his rented 3121 Antelo Rd. rented house in Los Angeles, California to discuss this idea. It is likely that the recording took place shortly afterwards.