Small amounts of mucus in the stool are normal. If mucus quantity is increasing continuously for few weeks then it can be due to many reasons like irritable bowel syndrome, ulcerative colitis, bacterial, viral or protozoan infection, bowel obstruction, Crohn's disease and anal fissures etc. If you are having high quantities of mucus in stool since last few days then visit to a doctor for proper diagnosis and treatment.