This question is usually from a shill. It's not as if there are priors here.
https://www.google.com/search?q=I+need+to+open+mdf+file+but+I+can%27t+install+SQL+server.+Please+advise+how+to+view+data+in+sql+mdf+file%3F&ie=utf-8&oe=utf-8
You may want to read your server's disaster plan. That is, if you ran a server, you as a professional would have a plan for when the server melts down. Time to get out your plan or if there is none, consider this the lesson why your next server will include the disaster plan.