Accessing Translation memories in SDL Trados Studio from external application

In a company I work for  SDL Trados Studio is used for translating product catalogue data.
I am working at an integration project - we would like to query from an external application (running on a different machine) the Translation Memories API asking translation for a number of phrases which may have been already translated in Trados Studio. If the translation is available with 100% match or close enough, then get the translation and use it.
What would be the right architecture for setting up the integration ? I understand Trados Studio is a desktop application, hence the TM APIs are local - I was thinking of either 
a) develop a proxy application on the PC where Trados Studio runs - which exposes services/ network APIs  to other applications and queries the TM API locally
b) develop a local application / Trados plugin which reads the phrases to be looked up from a database or file shared with the external application, performs the lookup with the TM API and writes back the matched translations in the shared database 
 
Does anybody have experience with this type of scenario ? Is there any  plugin already developed similar in purpose ?
 
Last … In the next few weeks we will upgrade to  SDL Trados 2021 with Live Studio (currently the previous version is in use). Will there be any special considerations or differences ? the translation memory files still reside on the machine ? 
 
Thanks in advance for any help.
Giovanni