{"repo":"schmarta/claude-code-openai-server","free":true,"listed":false,"github":"https://github.com/schmarta/claude-code-openai-server","clone":"git clone https://github.com/schmarta/claude-code-openai-server.git","description":"Use Claude Code models on any OpenAI-compatible client with no API charge.","language":"Python","stars":51,"topics":["agent","claude","hermes","openclaw"],"license":null,"category":"auth-billing-email","readme_excerpt":"claude-code-openai-server Use Claude Code from any OpenAI-compatible client. A small HTTP server that makes the claude CLI look like an OpenAI API (the way LM Studio or Ollama do). Point any OpenAI client — the OpenAI Python SDK, Open WebUI, etc. — at it and you get Claude Code, using your existing claude login (no API key, no per-token billing). Under the hood it drives claude as a persistent subprocess over its stream-json protocol, one process per conversation. What it does - OpenAI surface: GET /v1/models and POST /v1/chat/completions (streaming + non-streaming). - OpenAI function calling: your client's tools are passed through to Claude via an in-process MCP bridge. Claude calls them, the server returns a normal tool calls response, your client runs the tool and sends the result back, and the same Claude subprocess resumes — the whole multi-step tool loop is one conversation kept alive across continuations. - Claude's own built-in tools (Read/Edit/Bash/…) run internally the whole time (unless bare mode strips them — see below). - Images: base64 image url parts become native Claude image blocks — on the live turn and in folded history alike, so a picture stays visible for the follow-up turns that ask about it. - Bare model mode (default on): presents Claude as a plain model fronted by your client — replaces the system prompt, drops Claude Code's dynamic context, and exposes only the tools your client sends. - Markdown table flattening (default on): rewrites pipe tables to","default_branch":null,"files":null,"tree":[],"storefront":"/r/schmarta","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/schmarta/claude-code-openai-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}