opencode vs claude-code
opencode is the more adopted project, with 229,095 GitHub stars against 157,016 for claude-code. Both were last updated on 25 November 2026. Both are written in TypeScript.
| opencode | claude-code | |
|---|---|---|
| Description | The open source coding agent. | Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows |
| Author | anomalyco | anthropics |
| Stars | 229095 | 157016 |
| Language | TypeScript | TypeScript |
| License | MIT | |
| Last update | 2026-11-25T12:48:18Z | 2026-11-25T05:20:59Z |
| Source | https://github.com/anomalyco/opencode | https://github.com/anthropics/claude-code |
| Stars this week | +1,373 | +910 |
Which should you choose?
- opencode describes itself as: "The open source coding agent."
- claude-code describes itself as: "Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing..."
Stars measure adoption, not fit. Read both READMEs for the tools each server exposes, then try them side by side in your client: the install guide shows how to add both.
Frequently asked questions
Which is more popular, opencode or claude-code?
opencode has more GitHub stars: 229,095 against 157,016. This week opencode gained 1,373 stars and claude-code gained 910, which says more about current momentum than the all-time total. Both figures are refreshed daily from GitHub.
Are opencode and claude-code open source?
opencode: MIT (open source). claude-code: no license stated. An open-source license covers the code: you can read, modify and run it. An app or API that either project connects to can still have its own price, so read each README for the accounts and keys it needs.
Can I use opencode and claude-code together?
Yes, if both run as MCP servers. MCP clients such as Claude Code, Cursor and VS Code can connect to several servers at once, and the agent picks tools from each. Give them distinct names in your config, and keep the number of active servers small so tool definitions do not crowd the context window.
Related comparisons
- opencode vs n8n
- opencode vs gemini-cli
- opencode vs OmniRoute
- opencode vs litellm
- opencode vs cherry-studio
- opencode vs kong
- n8n vs claude-code
- claude-code vs gemini-cli
opencode details · claude-code details · All MCP Clients & Apps
Data last updated . Stars and downloads are refreshed every day from GitHub and npm.