What about using claude -p as an api interface?