Comparison
Claude Code vs OpenCode
How the two compare on the things that decide whether your setup carries over: open standards, license, models and where they run.
| Claude Code | OpenCode | |
|---|---|---|
| Maker | Anthropic | Anomaly (SST) |
| License | Proprietary | MIT |
| Models | Anthropic Claude models | 75+ providers, including local models |
| Runs in | Terminal, IDE, Desktop, Web | Terminal, IDE, Desktop |
| MCP | MCP: supported | MCP: supported |
| Agent Skills | Agent Skills: supported | Agent Skills: supported |
| AGENTS.md | ?AGENTS.md: not yet verified | AGENTS.md: supported |
| ACP | ACP: supported | ACP: supported |
Key differences
- OpenCode is open source (MIT); Claude Code is proprietary. If you need to self-host, audit or fork the harness, that settles it.
- Models: Claude Code runs Anthropic Claude models; OpenCode runs 75+ providers, including local models.
- Claude Code also runs in Web.
- OpenCode supports AGENTS.md; we have not verified it for Claude Code.
- Both support MCP, Agent Skills, ACP, so MCP servers, skills and repo instructions you set up carry over if you switch.
In their own words
Claude Code
Anthropic's agentic coding tool. Reads the codebase, edits files, runs commands, and extends through MCP servers, Skills, subagents, hooks and plugin marketplaces. Project instructions live in CLAUDE.md.
FAQ
- Is Claude Code or OpenCode open source?
- Claude Code is proprietary. OpenCode is open source under MIT.
- Do Claude Code and OpenCode support MCP servers?
- Claude Code: yes. OpenCode: yes.
- Can I reuse Agent Skills between Claude Code and OpenCode?
- Yes. Both read the open Agent Skills (SKILL.md) format, so the same skill folder works in both.
Set up MCP servers in either one
More comparisons
Reviewed Oct 5, 2026.