Mesoporosu (MCM-41 type) silica containing surfactant-embedded Congo Red has been prepared and tested against gas phase HCl and ammonia, as well as solutions of ionic species; it is shown that the hybrid (organic-inorganic) material is permeable to both gases and ionic species, and can act as a pH indicator and as a selective chelating agent.