All projects
InfrastructureShipped

claude-cli-wrapper

Unified Anthropic Messages API across Claude CLI, Ollama, OpenRouter

claude-cli-wrapper

About

Monorepo with a TypeScript provider abstraction and an Anthropic-compatible HTTP server. Routes any Claude SDK call through the Claude CLI (with full MCP, permissions, and worktree support), local Ollama models, or free OpenRouter models, behind one consistent Messages API. ProviderRegistry auto-routes by model ID; SessionMap persists conversations across requests. Custom providers slot in by extending the Provider interface.

Status

Published on npm. Used to back several internal tools that need a uniform Messages API across providers.

Stack

TypeScriptNode.jsFastifyMCPClaude CLIOllamaOpenRouter

Links

More in Infrastructure