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 CodeOpenCode
MakerAnthropicAnomaly (SST)
LicenseProprietaryMIT
ModelsAnthropic Claude models75+ providers, including local models
Runs inTerminal, IDE, Desktop, WebTerminal, IDE, Desktop
MCPMCP: supportedMCP: supported
Agent SkillsAgent Skills: supportedAgent Skills: supported
AGENTS.md?AGENTS.md: not yet verifiedAGENTS.md: supported
ACPACP: supportedACP: 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.

OpenCode

Provider-agnostic open-source coding agent for terminal, IDE and desktop. Works with 75+ model providers, including local models.

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.