Measurement device independent quantum key distribution (MDI QKD) has attracted growing attention for its immunity to attacks at the measurement unit, but its unique structure limits the secret key rate. Utilizing the wavelength division multiplexing (WDM) technique and reducing error rates are effective strategies for enhancing the secret key rate. Reducing error rates often requires active feedback control of wavelengths using precise external references. However, for a multiwavelength laser, employing multiple references to stabilize each wavelength output places stringent demands on these references and significantly increases system complexity. Here, we demonstrate a stable, wavelength-tunable multiwavelength laser with an output wavelength ranging from 1270 to 1610 nm. Through precise temperature control and stable drive current, we passively lock the laser wavelength, achieving remarkable wavelength stability. This significantly reduce the error rate, leading to an almost doubling of the secret key rate compared to previous experiments. Furthermore, the exceptional wavelength stability offered by our multiwavelength laser, combined with the WDM technique, has further boosted the secret key rate of MDI QKD. With a wide wavelength tuning range of 5.1 nm, our multiwavelength laser facilitates flexible operation across multiple dense wavelength division multiplexing channels. Coupled with high wavelength stability and multiple wavelength outputs simultaneously, this laser offers a promising solution for a high-rate MDI QKD system.