Claude Code Provider banner
sonami-tech sonami-tech

Claude Code Provider

Git community

Description

[![Version](https://img.shields.io/github/v/tag/sonami-tech/claude-code-provider?label=version)](https://github.com/sonami-tech/claude-code-provider/releases)

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

Claude Code Provider

[![Version](https://img.shields.io/github/v/tag/sonami-tech/claude-code-provider?label=version)](https://github.com/sonami-tech/claude-code-provider/releases) [![Build](https://img.shields.io/github/actions/workflow/status/sonami-tech/claude-code-provider/docker.yml?branch=master)](https://github.com/sonami-tech/claude-code-provider/actions) [![Last Commit](https://img.shields.io/github/last-commit/sonami-tech/claude-code-provider)](https://github.com/sonami-tech/claude-code-provider/commits) [![GHCR](https://img.shields.io/badge/ghcr.io-sonami--tech%2Fclaude--code--provider-blue?logo=docker)](https://ghcr.io/sonami-tech/claude-code-provider) [![built with Claude Code](https://img.shields.io/badge/built_with-Claude_Code-D97757?logo=claude&logoColor=white)](https://claude.ai/code) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

An OpenAI-compatible API server that routes requests through the Claude Code CLI. Drop it in front of any OpenAI SDK client, no code changes required.

How It Works

┌──────────────────────────┐
│  Anthropic (Claude Max)  │  Provides Claude access via your subscription.
└────────────┬─────────────┘
             │
┌────────────▼─────────────┐
│     Claude Code CLI      │  Authenticates and communicates with Anthropic.
└────────────┬─────────────┘
             │
┌────────────▼─────────────┐
│   Claude Code Provider   │  Translates OpenAI API requests into CLI calls.
└────────────┬─────────────┘
             │
┌────────────▼─────────────┐
│     Your Application     │  Any OpenAI SDK client, no code changes required.
└──────────────────────────┘

Quick Start

1. Install the [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code)

curl -fsSL https://claude.ai/install.sh | bash
claude login

2. Create your project directory

mkdir ~/claude-code-provider && cd ~/claude-code-provider

3. Create an API key file

echo "sk-my-secret-key-he