Method and System for providing a medical drug recommendation. Time and location data is read from received client data. Weather data is retrieved based on the time and location data and the weather data is stored in a user data set. A medical drug recommendation is computed from a user data set that comprises migraine event data by using a statistical model. Furthermore, a server is prepared to provide medical drug recommendations, wherein a statistical model for delivering a medical drug recommendation is adjusted by providing user data as input data to a statistical model, the user data sets comprising migraine events.