The House of Commons Library has produced a downloadable file listing all GP practices located in each UK constituency, based on data from NHS Digital, ISD Scotland and NHS Wales.
You can find it here: https://commonslibrary.parliament.uk/research-briefings/cbp-7293/