John Rattray (22 September 1707 – 5 July 1771) was an Edinburgh surgeon who served as surgeon to Prince Charles Edward Stuart during the Jacobite rising of 1745.
He was a proficient archer, winning the Edinburgh Arrow on two occasions, however it is for his golfing achievements that he is principally remembered.
A skilful golfer, Rattray won the first competition organised by the Company of Gentleman Golfers (later the Honourable Company of Edinburgh Golfers) to become the 'Captain of Goff' for a year.
In this capacity he signed the first ever Rules of Golf.