How can I use the Entity Service API and the Query Engine API from my node program without running the Strapi server?

I’ve run into this problem as well.

But I can think of one way. It’s to customize a set of RESTful APIs: custom routes, custom controllers, and in the controllers you can use the strapi object.