CLASP
Description
Run Claude Code with any LLM provider — drop-in proxy for OpenAI, Gemini, and more. Go.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
CLASP - Claude Language Agent Super Proxy
Run Claude Code against any LLM provider — OpenAI, Azure, Gemini, Ollama, vLLM, or any OpenAI-compatible endpoint. CLASP is a lightweight Go proxy that sits between Claude Code and your chosen provider, translating the Anthropic Messages API to OpenAI Chat Completions in real time.
Claude Code → CLASP (:8080) → OpenAI / Azure / OpenRouter / Ollama / custom
No patches to Claude Code. No forks. Just point `ANTHROPIC_BASE_URL` at the proxy and go.
Features
- Bundled Claude Code: Automatically includes Claude Code as a dependency - single
npx clasp-aiinstalls everything - Multi-Provider Support: OpenAI, Azure OpenAI, OpenRouter (200+ models), and custom endpoints (Ollama, vLLM, LM Studio)
- Full Protocol Translation: Anthropic Messages API ↔ OpenAI Chat Completions API
- SSE Streaming: Real-time token streaming with state machine processing
- Tool Calls: Complete translation of tool_use/tool_result between formats
- Connection Pooling: Optimized HTTP transport with persistent connections
- Retry Logic: Exponential backoff for transient failures
- Metrics Endpoint: Request statistics and performance monitoring
- API Key Authentication: Secure the proxy with optional API key validation
Installation
Via npm (recommended)
# Install globally
npm install -g clasp-ai
# Or run directly with npx
npx clasp-ai
Via Go
go install github.com/jedarden/clasp/cmd/clasp@latest
From Source
git clone https://github.com/jedarden/CLASP.git
cd CLASP
make build
Via Docker
# Run with Docker (from GitHub Container Registry)
docker run -d -p 8080:8080 \
-e OPENAI_API_KEY=sk-... \
ghcr.io/jedarden/clasp:latest
# With specific version
docker run -d -p 8080:8080 \
-e OPENAI_API_KEY=sk-... \
ghcr.io/jedarden/clasp:0.24.8
# Or with docker-compose
docker-compose up -d
**Available Docker tags:**
latest- Latest
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI