An alkaloid derived from ergot that is less toxic than ergot; causes constriction of blood vessels and is used to treat migraine