The claim payoff you describe, $g(M)$, looks more thanto me like a tight butterfly spread that pays off only in one state of the world. Can't you just replicate that by short two calls with strike $K_0$ and long two calls, with strikes one either side at $K_0\pm 1$? Then the price of your option would be $C(K_0+1)+C(K_0-1)-2\cdot C(K_0)$.
This is effectively the Breeden-Litzenberger formula that expresses the risk neutral distribution (here for discrete states). You can see that the price of the butterfly is the finite difference estimate of the second derivative of the call price with respect to the price.