A Georgist Land League and trade union activist, he was a Member of Parliament (MP) in the House of Commons of the United Kingdom of Great Britain and Ireland for more than 20 years.
He belonged to the American Knights of Labor which had set up some branches in Britain and by 1887 was one of their organisers in Cradley Heath in the Black Country of the West Midlands.
[4] McGhee stepped up his labour activism and developed an interest in radical causes, particularly Irish Home Rule even though he was a Protestant, a member of the Church of Ireland.
His by-election platform was home rule on advanced nationalist principles, the endorsement of Catholic demands on education, the complete abolition of landlordism, and support for labourers.
[9] After losing his seat in 1900 he returned to the House of Commons at the December 1910 general election to represent Mid Tyrone, beating the sitting Unionist MP, Gerald Fitzgibbon Brunskill, by a majority of 723 votes.