Mid-infrared (MIR) on-chip sensing on Si has been a progressive topic of research in the recent years due to excitation of vibrational and rotational bands specific to materials in this range and their immunity against visible light and electromagnetic interferences. For on-chip applications, integration of all the optical components including the MIR source is crucial. In this work, we introduce a slab photonic crystal (PhC) thermal source where the birthplace and the filtering of the photons occur in the same region. Due to the forbidden frequency bands and high density of states in the band edge, it provides electric efficiency and filtering performance.