rynfar/meridian
Use your Claude Max subscription with OpenCode, Pi, Droid, Aider, Crush, Cline. Proxy that bridges Anthropic's official SDK to enable Claude Max in third-party tools.
What it solves
Meridian provides a bridge between the Claude Agent SDK and standard AI tool protocols. It allows developers to use their favorite coding agents, editors, and terminals (which typically expect a standard Anthropic or OpenAI API endpoint) with the programmatic access provided by the Claude Agent SDK, without needing to use API keys or reverse-engineer the platform.
How it works
Meridian acts as a local proxy server. It accepts standard API requests from a client tool and translates them into documented SDK calls using the query() function from the Claude Agent SDK. It then formats the SDK's output back into the standard Anthropic API format for the client tool to understand. This allows the project to leverage Anthropic's native session management, prompt caching, and context window management while remaining interoperable with a wide variety of frontends.
Who it’s for
Developers who want to use the Claude Agent SDK's capabilities (such as those included in Claude Max subscriptions) within third-party AI coding agents like Cline, Aider, Open WebUI, or OpenCode.
Highlights
- API Compatibility: Supports both standard Anthropic and OpenAI-compatible endpoints (
/v1/chat/completions). - Session Management: Conversations persist across requests and survive proxy restarts.
- Multimodal Support: Handles images, documents, and file attachments.
- Multi-profile Support: Allows instant switching between multiple Claude accounts with sticky session routing.
- Advanced Telemetry: Includes a real-time dashboard for monitoring token usage, prompt cache efficiency, and cost estimation.
- Automatic Token Refresh: Transparently handles OAuth token expiry and refresh.
- Passthrough Mode: Can forward tool calls directly to the client instead of executing them internally.