Quick and dirty dictionaries in Migaku format. Grab the zip file and import it into Migaku tools.
To make your own from a mdx file, you need to use pyglossary to convert the mdx to csv. Use the | (pipe) as a separator. Check inside the csv to see which field is the word and which field is the definition. Adapt the jsonit.sh file accordingly.