Drop-in replacement for claude -p that runs on your Claude Code subscription instead of metered API pricing.
Clarp is a command-line tool that acts as a free drop-in replacement for Claude Code's programmatic mode, letting existing scripts and automation tools use your Claude Code subscription instead of paying per API call.
How It Works
You want to automate tasks with Claude, but using the programmatic mode costs money per call.
You run a simple install command and clarp sets itself up on your computer alongside your existing Claude Code.
Instead of calling 'claude -p', you call 'clarp' with the same arguments and prompts you were already using.
Clarp starts Claude Code in a hidden terminal window and connects it through a local relay on your computer.
Type your question and get an answer back immediately
Send multiple prompts and Claude remembers context between them
When Claude wants to run a command, you can approve or deny it
Your scripts receive the same structured data they expected from 'claude -p', so nothing breaks.
Your scripts run without modification, but you're using your existing Claude Code subscription instead of paying per call.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.