Importing file tags made in Mac OS as Keyword


I am looking for a feature or script, which allows me to import tags automaticallly as keywords into references. I added the tags to pdf files using mac os. And it would be a game changer for, if i would be able to import pdfs and then having all my tags imported as keywords. If you could find any way to add this to endnote, that would be very nice.