Born near Belfast, Ireland, Hunter completed preparatory studies. He immigrated to the United States in 1858 and settled in New Castle, Pennsylvania. He studied medicine in Philadelphia and was admitted to practice.
Hunter was elected as a Republican to the Fiftieth Congress (March 4, 1887 – March 3, 1889). He was an unsuccessful candidate for reelection in 1888 to the Fifty-first Congress and for election in 1892 to the Fifty-third Congress.
Hunter was elected to the Fifty-fourth Congress (March 4, 1895 – March 3, 1897) and was instrumental in the election of Kentucky's first Republican governor, William O'Connell Bradley, in 1895. His bid for election to the U.S. Senate by the legislature was blocked by Republican factionalism. The winner of the election, William J. DeBoe, got President William McKinley to appoint Hunter as minister to Guatemala and Honduras in 1897 after Hunter was defeated for reelection in 1896 to the Fifty-fifth Congress.[1]
Hunter was elected to the Fifty-eighth Congress to fill the vacancy caused by the death of Vincent S. Boreing and served from November 10, 1903, to March 3, 1905. He was not a candidate for renomination in 1904. He was interested in public utilities and the development of oil lands.