The Marabou stork (Leptoptilos crumenifer) is a typical scavenging bird and adapted to the Savannah environment, where they show a carnivorous feeding style. However, Marabou stork recently penetrated into the city areas and acclimatized to the urban environment, where they modified their feeding habits to an omnivorous type toward more carbohydrate. To reveal their adaptation to the variable feeding customs, this study compared the gut microbiomes and chemical compositions of feces of Marabou storks inhabiting two different locations in peri urban Kampala: one is a slaughter house floc that predicted their original carnivorous feeding, and the other is a landfill floc that adapted more to the omnivorous feeding. 16S rRNA gene sequencing analysis revealed more diverse gut microbiome, more enriched Lactobacilli, and less abundant Peptostreptococci in the landfill flock comparing to the slaughter house flock. Isolation work and predicted metagenome analysis confirmed more diverse Lactobacilli and more enriched functions for carbohydrate metabolism in the landfill flock. In addition, chemical composition of feces revealed higher ammonia in the former, which is consisting with higher Peptostreptococci and their practice of carnivorous feeding. These results highlighted their adaptation to the variable feeding environment, which presumably protects their health and ensure survival of species.