The SAS metadata is not documented for users, so you would have to reverse engineer it to get to it from another language. DBMS/Copy (now owned by SAS) and StatTransfer have done this, so it is not impossible. SAS actually stores most (all?) of the general metadata in SAS datasets (I don't know abut the SAS Metadata Server product.).
Depending on your need, another option would be to use SAS to export the particular metadata table to a SAS transport file and read that file (which is documented somewhere).
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.