head to head · open source
opencode.nvim vs claude-code.nvim
opencode.nvim has 3,904 GitHub stars, 161 forks, 6 open issues and last shipped 6 days ago. claude-code.nvim has 2,106 stars, 73 forks, 77 open issues and last shipped 9 months ago. opencode.nvim leads on adoption by 85% (3,904 vs 2,106 stars). opencode.nvim is written in Lua under MIT; claude-code.nvim is written in Lua under MIT. opencode.nvim has attracted 4% as many forks as stars, claude-code.nvim 3%. opencode.nvim was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 5 topic tags (ai-assistant, neovim, nvim, plugin), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| opencode.nvim | claude-code.nvim | |
|---|---|---|
| GitHub stars | ★ 3.9K | ★ 2.1K |
| License | MIT | MIT |
| Written in | Lua | Lua |
| Last push | 2026-10-30 | 2026-02-04 |
| Forks | ⑂ 161 | ⑂ 73 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick opencode.nvim if
- You weight community size — 3.9K stars and counting
- You want the MIT license terms
- Your stack matches Lua
- You value the larger contributor base for long-term maintenance
pick claude-code.nvim if
- You want the claude-code.nvim feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Lua
- You evaluated both and claude-code.nvim fits your workflow better
About opencode.nvim
opencode.nvim Neovim plugin that integrates with OpenCode to keep you in the flow that you already know. ⭐ Motivation AI works best at small, focused scopes — as a pair programmer with the human driving. You stay in control, craft the code that matters, and keep your skills sharp. opencode.nvim just provides the context and connection to make that pairing seamless. Rather than introduce yet another interaction model, opencode.nvim leverages OpenCode's existing TUI and API via standard Neovim interfaces. You keep your environment, your config, your flow. For me, the best tools are the ones that "just work."…
read the full opencode.nvim overview →
About claude-code.nvim
Claude Code Neovim Plugin A seamless integration between Claude Code AI assistant and Neovim Features • Requirements • Installation • Configuration • Usage • Contributing • Discussions This plugin was built entirely with Claude Code in a Neovim terminal, and then inside itself using Claude Code for everything! Features 🚀 Toggle Claude Code in a terminal window with a single key press 🧠 Support for command line arguments like continue and custom variants 🔄 Automatically detect and reload files modified by Claude Code ⚡ Real time buffer updates when files are changed externally 📱 Customizable window position…
read the full claude-code.nvim overview →
More in AI & Machine Learning
Related comparisons
More AI Interaction & Interfaces projects
Compare either of these against the rest of the AI Interaction & Interfaces field.
Frequently asked questions
Is opencode.nvim or claude-code.nvim more popular?
opencode.nvim has 3,904 GitHub stars and claude-code.nvim has 2,106. opencode.nvim has the larger community by that measure.
Are opencode.nvim and claude-code.nvim free?
Both are open source. opencode.nvim is licensed under MIT and claude-code.nvim under MIT. Neither carries a licence fee.
What is the difference between opencode.nvim and claude-code.nvim?
opencode.nvim is written in Lua and claude-code.nvim in Lua. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, opencode.nvim or claude-code.nvim?
Choose opencode.nvim if you want the larger community (3,904 stars) or its MIT licence terms. Choose claude-code.nvim if its feature set, stack or MIT licence fits better. Both are self-hostable.