The MSB (Materials Science Beamline) is a versatile beamline suitable for experiments in materials science, surface physics, catalysts and organic molecules on various surfaces. The tunability of the photon energy over a wide range (22 - 1000 eV) with mainly linearly polarized light from a bending magnet source offers "classical" UPS and XPS with high energy resolution and tunable excitation energy for the best photoionization cross sections. The beamline also allows resonant photoemission (RESPES) and near edge X-ray absorption fine structure (NEXAFS) spectroscopies. Sample rotation about two axes allows angular resolved photoemission studies. The MSB was built in cooperation by the Institute of Physics, Academy of Sciences of the Czech Republic, the Charles University in Prague and Sincrotrone Trieste.