This work treats the Mellin transform of multiple Jacobi-Piñeiro polynomials. This allows us to put a number of irrationality and Q-linear independence proofs into the framework of Hermite-Padé approximation. A similar approach is presented for the q-analogue: the q-Mellin transform of multiple little q-Jacobi polynomials and its applications in irrationality proofs.