how does this compare to srclib?
srclib also has an API that makes it easy to build editor plugins that are language independent. Check out the editor plugins dropdown at https://srclib.org/overview/ for a list.
Other folks can check out what srclib is able to infer on various projects at https://sourcegraph.com/ (which is powered by srclib).