Incorporating the dye molecules in the structure of porous materials provides adsorbtion medium as well as hybridic systems which can be used in different fields as sensing, indicators, lasers and optoelectronic. In the present work several system of dye-containing mesoporous system and Congo red such as CR-MCM-41 were prepared. The samples were characterized by XRD, UV-Vis, DRS, BET and FTIR methods. Ion exchange MCM-41, calcined MCM-41 and functionalized MCM-41 were also prepared. The functionalized MCM-41 provided active adsorption sites for the interaction between solid surface and Congo red. Langmuir and Frendlich isotherms were calculated. This hybrid system can behave as a pH indicator and sensor for HCl and ammonia.