Data for investigating the effects of high-protein diets on microbiota, gut barrier function, and mucosal immunity, with a focus on potential sex-dependent differences.