James MacGregor FRSE (1832–1910) was a Scottish minister and philanthropist. He was Moderator of the General Assembly of the Church of Scotland in 1891. In 1886 he was made Chaplain in Ordinary to Queen Victoria, in 1901 Chaplain to King Edward VII, and in 1910 to King George V, serving three monarchs in all.