Reasonably regulating the adsorption properties on the surface of metal oxide semiconductors (MOS) to enhance sensor selectivity remains a challenge, limiting their application in detecting diseases biomarkers in human exhaled gas. To address this, we proposed a metal-organic frameworks (MOFs) encapsulated strategy to provide a gas-selective permeable nano-filtration layer for MOS gas sensors. By adjusting the coating thickness of ZIF-8, we successfully modulate the sensing properties of WO₃ to different potential biomarkers. The optimized WO₃/ZIF-8 composite shows improved selectivity and response to various disease biomarkers compared to WO₃ alone. The unique porous structure of ZIF-8 and the heterojunction of WO3/ZIF-8 synergistically promote the gas adsorption performance. QCM test results confirm that ZIF-8 modification effectively regulates gas adsorption on the WO₃ surface. This study provides a valuable reference for designing exhaled gas sensor arrays for detecting serious diseases.