 The first segment , “ Hex and the City ” , was written by Joel Cohen . The gypsy fortune teller in the segment was portrayed by Tress MacNeille while the leprechaun was played by Dan Castellaneta . Current show runner Al Jean stated in the DVD audio commentary for the episode that the leprechaun seen at the end of the segment was “ as much as [ he ] had ever laughed ” at the color screening for the episode . He stated that the way the leprechaun moved and the way Reardon directed it was “ just so funny ” . The leprechaun has reappeared many times since the episode , becoming one of few characters on The Simpsons to “ leap from Halloween [ shows ] to regular shows ” . 
