igrf is a library that provides an implementation of the International Geomagnetic Reference Field, which is just what it sounds like.
I've tested it against NOAA's online calculator, but use it at your own risk. Note that the input is in geocentric and not geodetic coordinates.
There is haddock documentation, I'm working on figuring out why it isn't on hackage and how to fix it.
-Doug McClean