Bart eats the jagged metal prize in his box of Krusty-O's and he has to have it and his appendix removed after he collapses at school. At the hospital, Lisa happens to see Bleeding Gums Murphy and he gives her his saxophone.
When Bleeding Gums Murphy dies it makes Lisa very distraught. When his funeral does not properly honor him, she vows to make Springfield remember him. She wants to buy a copy of his rare record, but it costs $500 at the Android's Dungeon.
Bart's case against Krusty's cereal gets him that exact amount, so he buys it for her. She plays it for a tribute to Bleeding Gums Murphy and he appears to her as a cloud. Together they jam as the episode draws to a close.
Feel free to submit a full recap.