You can get the endpoint currently targeted and the Uri for it by doing:
OperationContext.Current.RequestContext.RequestMessage.Headers.To
which I think is the same thing as:
OperationContext.Current.IncomingMessageHeaders.To
This is a System.Uri object, and I believe you can just get the OriginalString or PathAndQuery, or whatever parts you want from it.