A system for providing drug library data to a medical device (31, 32) located within a healthcare environment, the system comprises a local network (33) of the healthcare environment (3) and at least one medical device (31, 32) for administering a drug to a patient, the at least one medical device (31, 32) being located in the healthcare environment (3) and connected to the local network (33). Herein, a drug library server (1) is connected to the local network (3) of the healthcare environment (3) via a public communication network (2) and constituted to provide drug library data to the at least one medical device (31, 32) via the public communication network (2). In this way, a system and method for providing drug library data to a medical device located within a healthcare environment is provided which allows for an easy creation, editing and sharing of drug library data for use and distribution between medical devices within a particular healthcare environment and across different healthcare environments.