Sir John Clerk, 2nd Baronet was a Scottish politician, lawyer, judge and composer. He was vice-president of the Philosophical Society of Edinburgh, the pre-eminent learned society of the Scottish Enlightenment. Clerk was also the father of George Clerk-Maxwell and John Clerk of Eldin, and the great-great-grandfather of the famous physicist James Clerk Maxwell.