Urolithiasis is one of most common urogenital diseases. Its diagnosis and treatment require an efficient analytical method of determination of chemical composition of a urinary stone, ideally, during the surgery. Near infrared spectroscopy seems to be a promising method for intraoperative qualitative analysis of urinary stones (calcium oxalates, uric acid, etc.), providing fast measurements and portable equipment. In this work, the results of a pilot study of analyzing several urinary stones with different chemical composition (dry and soaked in saline) within the 939-1799 nm range are presented. The Principal Component Analysis results confirm the potential of this technique in qualitative analysis of urinary stones before their surgical removal.