Dear Jenni,
Unfortunately OpenQuake does not have that sort of functionality
built in, though potentially it might be possible to customise it.
I am not sure I have understood the magnitude-weighting correctly,
though. Does magnitude-weighting apply to the mean values of the
GMPE, or is it some correction factor that is applied in some
other context (e.g. scenario spectra)? If it is the former then
this can be added quite quickly as an adaptation of an existing
GMPE (though we need to know which, e.g. McVerry et al. 2006?), if
it is the latter then this is something that should be done as a
post-processing step.
Let me know and I will see if it is possible to provide a bit more
detail on how to solve the problem.
Regards,
Graeme