This study aims to investigate the use of topological data analysis in electroencephalography (EEG) based on brain computer interface (BC!) applications. Our study focused on extracting topological features of EEG signals obtained from the motor cortex area of the brain. EEG signals from 8 subjects were used for forming data point clouds with a real-time simulation scenario and then each cloud was processed with JPIex toolbox in order to find out corresponding Betti numbers. These numbers represent the topological structure of the point data cloud related to the persistent homologies, which differ for different motor activity tasks. The estimated Betti numbers has been used as features in k-NN classifier to discriminate left or right hand motor intentions.