A Personal Food Database (PFD) that resides on a consumer's mobile device is presented. The PFD maintains an inventory that keeps track of amount of available food items. The mobile device operating the PFD has sensors for measuring the activities or biometric data of the user. The PFD uses the sensor data to assess the nutrition need of the user and to recommend recipes accordingly.