“Although Shakespeare was probably familiar with various famous magi, Dr. John Dee provides the most direct parallels to Prospero, and many scholars believe he was a model for the character to some degree. ”
https://olneytempest.wordpress.com/shakespeares-sources/prosperos-so-potent-art/