ianjwhite99/opencode-with-claude
OpenCode plugin to use your Claude Max/Pro subscription with OpenCode via Meridian
What it solves
It simplifies the process of using a Claude Max subscription within OpenCode by automating the management of a proxy server. Instead of manually running a separate proxy CLI or Docker container, this plugin handles the proxy's lifecycle (starting and stopping) automatically when OpenCode is launched or closed.
How it works
The plugin integrates into OpenCode's plugin system to run a local proxy server (Meridian). When OpenCode starts, the plugin launches the proxy and configures the Anthropic provider. It routes requests from OpenCode through this local proxy, which then communicates with Anthropic's Claude Max using the Claude Agent SDK via OAuth authentication rather than standard API keys.
Who it’s for
Developers using OpenCode who have a Claude Max subscription and want a seamless way to integrate it without managing separate infrastructure or dealing with port collisions when running multiple OpenCode instances.
Highlights
- Automated Lifecycle: Starts and stops the proxy automatically with OpenCode.
- Multi-instance Support: Assigns unique ports to multiple OpenCode windows to avoid session conflicts.
- Profile Management: Supports multiple Claude accounts and SDK tuning via configuration files.
- No API Key Required: Uses OAuth authentication from the Claude Max subscription.
Related
- Project
- Project
- Project
- Project
- Project