We include a script for Yubicloud, which I think verifies the OTP code.
Also, there are some open source yubikey validation servers:
There is also a python and java validation library, either of which could be incorporated directly into an authentication script.
If you have some budget, we'd be happy to manage a bounty on this feature. One of our subcontrators would surely take it on.