The aim of this work is to design a robot that can be used in surgery and can remove tumors by accurately and safely following contours. This is achieved by the medical imaging set such as DICOM-formatted images from several sources (CT, MRI, and Ultrasound) of these tumors using artificial neural networks. The workspace of a suggested 7 degrees of freedom robot is defined by calculating the position of the end effector for multiple positions of its links using DH tables and feed-forward kinematics. The data obtained are used to train three artificial neural networks to get the inverse kinematics. The suggested neural networks are the Generalized Regression Neural Network, Radial Basis, and Feed Forward. A training course for inverse kinematics of 23328 workspace points of the end effector of the suggested robot is used for training the three neural networks. The most accurately trained one was found to be the Feed-Forward neural network. It shows a root mean square error for those points of 2.08 mm and a training time of 1236 seconds and is to be applied to steer the robot links. The patient medical images are digitized using the image processing toolbox of MATLAB. The data obtained is to be fed to the superior neural network to get the robot links positions needed to move the end effector mounted with a cutter to follow the tumor contour accurately. The absolute error distance between the corresponding points of the contours resulting from testing the trained Feed-Forward NN with 51 points of a contour doesn’t exceed 2.08 mm.