They couldn’t have done it without either (a) duplicating a significant number of SQL queries in some kind of ad-hoc tool (begging for maintenance problems as the SQL schema changed) or (b) prying the SQL queries loose from the GUI and isolating them in some kind of service broker, either an Apache plugin or a service daemon, that both the web interface and a scripting tool could call on.
An "Apache plugin or service daemon"? It may just be me, but he sounds like a crazy person here. Oh, wait.
It's like you haven't noticed he is trying to break data out of the web jail. MVC is an in-process architecture. Evidently, he's thinking about an inter-process architecture that could be fronted in multiple ways.
There is nothing "in-process" about MVC. I can access ActiveRecord objects just as easily from an IRB as from a Rails action, and I can drive a REST API just fine from curl. He's simply crazy.