Sir James Macdonald, 2nd Baronet, GCMG (14 February 1784 – 29 June 1832) was a British politician. He sat in the House of Commons between 1805 and 1832.