International audienceContext. Both rocky super-Earths and volatile-rich sub-Neptunes have been found simultaneously in multiplanetary systems, sug- gesting that these systems are appropriate to study different composition and formation pathways within the same environment. Aims. We perform a homogeneous interior structure analysis of five multiplanetary systems to explore the compositional trends and its relation with planet formation. For one of these systems, K2-138, we present revised masses and stellar host chemical abundances to improve the constraints on the interior composition of its planets.Methods. We conduct a line-by-line differential spectroscopic analysis on the stellar spectra of K2-138 to obtain its chemical abun- dances an...