As I posted in a previous blog entry, where I explained how to reference an assembly in the GAC from an add-in, here is the article explaining how to get a Visual Studio service from an add-in:
HOWTO: Get a Visual Studio service from an add-in
http://www.mztools.com/articles/2007/MZ015.htm