| There's Language Server Protocol (LSP) which is an open specification from Microsoft, but as far as I can tell it's meant to be a personal server to back a REPL session, not a public server on the internet that serves the same content to everybody in the world.

I looked at their overview here, and I agree with your conclusion:

 https://microsoft.github.io/language-server-protocol/overview

It sure would be nice to take advantage of all the work they've done, though.

Reuse of what has been done around the LSP can mean these things:

I recently did post here some bits around my Emacs config for some Schemes, and for me the interesting features up to now where:

So for me the LSP already quite well fits the API functionality that we probably would anyway come up with; at least it could be a good starting point to collect such feature set.

Again from the technical point of view, next questions for me would be: