A medical image processing apparatus according to an embodiment includes a processing circuit. The processing circuit specifies teaching data used for generation of a learned model. The processing circuit performs image analysis with respect to pieces of collected medical image data. The processing circuit extracts medical image data having an attribute common to the teaching data of the learned model from the pieces of medical image data based on an analysis result of the image analysis, as a candidate of the teaching data of the learned model.