A real-time ultrasound-guided needle-insertion medical robot for percutaneous cholecystostomy has been developed. Image-guided interventions have become widely accepted because they are consistent with minimal invasiveness. However, organ or abnormality displacement due to involuntary patient motion may undesirably affect the intervention. The proposed instrument uses intraoperative images and modifies the needle path in real time by using a novel ultrasonic image segmentation technique. In phantom and volunteer experiments, the needle path updating time was 130 and 301 ms per cycle, respectively. In animal experiments, the needle could be placed accurately in the target.