Transform OpenAI into Claude

A lightweight proxy that converts Anthropic Messages API requests to OpenAI Chat Completions format. Use standard LLMs with Claude Code transparently.

Streaming Ready
Tool Calling
TERMINAL - bash
$ npm install -g claude-adapter
added 14 packages in 2s
found 0 vulnerabilities
$ claude-adapter
? Enter OpenAI Base URL: https://api.openai.com/v1
? Enter API Key: sk-proj-...
Configuration saved!

SYSTEM CAPABILITIES

Seamless Conversion

Automatic translation between Anthropic Messages API and OpenAI Chat Completions format.

Real-time Streaming

Full support for Server-Sent Events (SSE) translation for instant response feedback.

Zero Config

Interactive CLI setup guides you through API connection and model mapping.

Tool Calling

Bidirectional conversion of function and tool calls for complex agentic workflows.

Drop-in Proxy

Works transparently. No need to modify your existing Claude Code implementation.

Local & Secure

Your API keys stay local. The adapter runs on your machine as a secure bridge.

ARCHITECTURE

Claude Code

Anthropic Format

Requests
ADAPTER
Proxy

Format Conversion

Responses
OpenAI API

OpenAI Format

Ready to Adapter?

bash
npm install -g claude-adapter