Hacker News new | ask | show | jobs
by dtzp555-max 89 days ago
I got tired of paying for Claude Max and then paying again for API access in my dev tools. OCP is a single-file Node proxy that sits between your tools and the Claude CLI. It translates OpenAI chat/completions calls into claude -p invocations, so your existing subscription covers everything.

Works with anything that takes an OPENAI_BASE_URL — I use it with OpenClaw, OpenCode, and Cline running concurrently. Added a small CLI (ocp usage) that reads the rate-limit headers so you can check session/weekly utilization without opening the browser.

Setup is one command: node setup.mjs. Runs as a launchd/systemd daemon.