Hi @JoAntt. So, if you already have a MaterialAsset object, that object has a property called Parent, which will return an Object, that will either be an AssetLibrary, or a Document. Which one you get probably depends on if the MaterialAsset is a local copy within the document, or the original from the library. That Parent property is probably as close as you will come to the route you want.
The whole searching through multiple libraries to find it by its name thing, may not pan out if it is a common name like "Red", because it may be found in multiple libraries. Also, keep in mind that Assets have both Name and DisplayName properties, and the Name property may not contain the Value you are expecting, but that is the one used by the Item() property when looping through a library by Item. Also keep in mind that usually a library contains both materials and appearances, or at least they are capable of that. So, you could actually have the same library as your material library, and for your appearance library.
Wesley Crihfield

(Not an Autodesk Employee)