According to the current scenario people are shifting to renewable resources and solar energy forms one of the primary resources. Manipulation within the meteorological data is complex due to presence of high level of dependent inputs. This project works on the concept related to data mining which will help predict the temperature values that will help in calculating amount of solar energy that can be produced in a particular area and hence help in determining the number of solar devices that can be installed to generate electricity. These data mining algorithm include classification, regression, clustering, and statistical learning. Some of the algorithms have been implemented, that is, K-Means Algorithm and Expectation Maximization so that there can be an efficient approach to solar harnessing prediction. Weather prediction is not only helpful in the area of energy production but also can help in providing a warning sign of a natural disaster that could take place. © TJPRC Pvt. Ltd.