Analysis updated 2026-05-18
Add AI capabilities to a local automation script without managing an API key.
Run a data processing pipeline that calls Claude for classification or summaries.
Batch multiple concurrent requests through a single local queued server.
| shabul/claude-local-api | a-bissell/unleash-lite | abhiinnovates/whatsapp-hr-assistant | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | hard |
| Complexity | 2/5 | 4/5 | 3/5 |
| Audience | developer | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Local-only, the socket cannot be reached over a network, and calls are stateless.
claude-local-api is a tool that turns the Claude Code CLI into a local API server your scripts can talk to, without needing a separate Anthropic API key or dealing with HTTP networking. Instead of making web requests to Anthropic's servers with a paid API key, it reuses the login you already have from the Claude Code CLI and routes requests through a Unix socket, a fast, low-overhead connection method that only works on the same machine. Here is how it works: you run a small Python server that sits in the background and listens on a Unix socket file at /tmp/claude_api.sock. Any script on your machine can then send a prompt to that socket and get back Claude's reply. You paste a single helper function into your script, no package installs needed, just Python's built-in socket and json libraries, call ask_claude with your question, and get a response. You can pick which model tier to use: the fastest lightweight option for simple tasks like classification, a mid-range option for summaries and structured output, or the most capable tier for complex analysis. The server handles multiple requests at the same time by queuing them, so running concurrent tasks in a loop works automatically. You would use this when you want to add AI capabilities to local automation scripts, data processing pipelines, or personal tools, and you want to avoid managing an API key or paying per call beyond your existing subscription. The README notes it is local-only (the socket cannot be reached over a network), calls are stateless with no memory between requests, and the full README is longer than what was provided.
Turns the Claude Code CLI into a local API server your scripts can call, reusing your existing login instead of a separate paid API key.
Mainly Python. The stack also includes Python, Unix socket, Claude Code CLI.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.