There are 2 repositories under uniform-type-identifier topic.
Alfred 5 workflow, which allows a filtered search for files of the selected file type.
đź–‡ CLI to set defalut application for UTIs and Extensions
Simple C program to get UTI (Uniform Type Identifier) from filename extension or MIME type on Mac.