 He was elected a councillor on Fife County Council.He served as chairman of West Fife Constituency Labour Party and secretary of Fife Co-operative Association for many years.Hunter was Member of Parliament for Dunfermline Burghs from 1964 to 1974, and then (after boundary changes) for Dunfermline until 1979, preceding Dick Douglas.