Cutting tool and machining parameters selection are central activity in process planning, which was traditionally performed by numerical control programmers or machine tool operators. The surface integrity has great effect on part quality and the sudden tool failure increases the machining costs greatly. The present paper details the development of a cutting database system with surface integrity prediction and tool failure analysis functions (CUT-P&A). The design and implement of this system has been presented. The system includes three main modules: cutting database, premature tool failure analysis and surface integrity prediction. The functions of this system include cutting tool selection and machining parameters recommendation, prediction of surface integrity and premature tool wear analysis. A case has been studied to explain the application of the system. The wide application of this system will be helpful for machining tool programmers, the improvement of machined part quality and the reduction of machine cost.