is there anyway to recover my password with my masterkey?
If by "masterkey" you mean Master public key then no , that won't help you recover your password or your bitcoins. Unless you have the seed as mentioned above , your bitcoins are lost forever.
If you kept the password in a .txt file for example then you could always try to recover it using some recovery data tools.