William McKelvey (8 July 1934 – 18 October 2016) was a British Labour politician who served as the MP for Kilmarnock from the 1979 to 1983 general election and for Kilmarnock and Loudoun from 1983 until his retirement in 1997 on health grounds.
He was educated at Morgan Academy, Dundee, and Dundee College of Technology (now Abertay University). Before he was elected as an MP he had previously been a member of Dundee District Council, a full-time Labour Party Official and a trade union official. He had also worked for the NCR in Dundee and served in the Royal Air Force.
He died in October 2016 at the age of 82. Following his death, fellow former Labour MP George Galloway, who also started his political career in Dundee, described McKelvey as his "mentor" and called him "a working class hero".