How to completely uninstall iCloud?
First of all, iCloud is built into OS X and iOS deeply and you can't just remove it completely, but you can avoid its use by disabling it.

http://support.apple.com/kb/PH2613


Choose Apple menu > System Preferences, click iCloud, select "sign out".


This way iCloud will not be used on your mac and could not be used by any application.