Anthropic Authentication Plugin for OpenCode

JSON →
library 0.1.6 ·javascript
verified May 27, 2026

This package, `opencode-claude-code-auth`, is an OpenCode plugin designed to restore and manage Anthropic (Claude) authentication methods within the OpenCode ecosystem. It provides three distinct authentication paths: reading local Claude Code session credentials, initiating a browser-based OAuth flow, or utilizing a plain Anthropic API key. The plugin addresses the removal of built-in Anthropic authentication from OpenCode v1.3.x, ensuring continued access to Claude models for users. It is currently at version 0.1.6, indicating active development with frequent minor updates. Key differentiators include its flexible login options, token management (refreshing Claude CLI tokens or using OAuth refresh tokens), and seamless integration into OpenCode's provider system to intercept and manage all Anthropic API traffic. It targets Node.js environments version 20 or higher.

total hits 39
actors 12 distinct systems
last hit 1d ago ByteDance
Amazonbot
4
MetaBot
4
ByteDance
3
GPTBot
2
ChatGPT-User
2
OAI-SearchBot
2
Script
1
ClaudeBot
1
Search engines
7
Humans
4

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇸🇬 Singapore · 🇧🇷 Brazil