I'm Neal and I am here to assist you. Only accept when you are happy with my assistance. If I can't help I will open your Question to other experts.
You are looking at up to $200 for the master cylinder depending on which brakes you have and 1.2 hours labor at whatever rate you shop charges, which is usually about $70 and hour.
So around $300 or maybe even less.