We are conducting the development of a transition edge sensor (TES) microcalorimeter system for energy-dispersive X-ray spectroscopy (EDS), performed using a scanning-transmission electron microscope (STEM). The operating temperature of the TES microcalorimeter was maintained using a compact dry 3 He-4 He dilution refrigerator. This was pre-cooled by a remote helium cooling loop system and a Gifford-McMahon cooler. These conditions allowed for high-resolution STEM imaging to be achieved. A single-pixel TES microcalorimeter with a polycapillary optic was selected to demonstrate the analytical operation of the EDS system in the STEM. For a Ti-It-Pt sample, an X-ray energy resolution of 8.6 eV full-width at half maximum (FWHM) was obtained at Ir M α1 , Pt M α1 , and Ir M β . Using an electron device sample, element distribution maps of Si, Ti, and W were obtained using a Si K α1 X-ray energy resolution of 9.7 eV FWHM.