The MAss Spectrometer for Planetary EXploration (MASPEX) is a high-mass-resolution, high-sensitivity, multi-bounce time-of-flight mass spectrometer (MBTOF) capable of measuring minor species with abundances of sub-parts-per-million in Europa’s sputter-produced and radiolytically modified exosphere and in its oceanic plumes. The goal of the MASPEX-Europa investigation is to determine, through in-situ measurement of the exosphere and plume composition, whether the conditions for habitability exist or have existed on Europa. As conventionally defined, based on our knowledge of Earth life, the three fundamental conditions for habitability are: (1) the presence of liquid water; (2) the presence of organic compounds and the biogenic elements CHNOPS; and (3) a source of energy available for metabolic processes, which for Europa will most probably be chemosynthetic rather than photosynthetic. Condition (1) is already established by previous indirect (magnetic field) measurements, while MASPEX will contribute directly to the evaluation of condition (2) through highly specific compositional measurements in the Europan exosphere and plumes. The composition measurements will also contribute to the test of condition (3) through disequilibrium states of chemical reactions. Thus, the primary goal of MASPEX for Europa Clipper is to assess the habitability of Europa and specifically of its interior ocean. MASPEX has been developed successfully, and its calibration has demonstrated that it meets its specified requirements for sensitivity, dynamic range, and mass resolution. This paper reports the development of the MASPEX scientific investigation, the instrument, its performance, and calibration.