This document describes the design and implementation of an integrated system called MPDB for the storage and analysis of metabolomics data. MPDB was created as a free open-source laboratory information system tailored for the metabolomics workflow. It includes tools for raw data cleanup, compound identification, peak alignment across samples, data normalization, and statistical analysis. The system pipeline allows users to efficiently store large amounts of analytical results and associated biological metadata, perform multi-sample analysis and data mining, and gain new biological insights from metabolomics experiments. As an example application, the document outlines a study analyzing the effects of nitrogen stress on the leaf metabolism of Populus trees using MPDB.