$20 bucks for a reman master cylinder and about 2 hours of your time, get brake fluid,and a set of wrenches and you can do it , once you have the new master cylinder put it in a vise, Don't make the vise to tight you can warp the piston bore, it "should" come with two plastic plugs screw them into where the lines go on the new unit pour some brake fluid in the resivoir(sp) use a wooden dowel rod
,extension,small hammer handle and move the piston in short strokes about 1 inch until no more air bubbles come out, fill it as it is needed, It will take about 15-20 min,
the master cylinder is held on with 2 studs attached to the vaccum booster,loosen up the brake lines first to do take them off yet just make them finger tight, take off the 2 nuts and then the lines, Where the mater cylinder goes in to the booster there might besome rust,dirt,ect clean it out with some brake cleaner and wipe it out and put the mater cylinder back on the way it came off.
I would make sure it is the master cylinder first it "could" be a wheel cylinder