Claude Code editor integration

claudecode.nvim

Neovim plugin implementing Claude Code's IDE protocol for diffs, selections and context sharing.

3,146 stars 223 forksEditor integrations Source

Install

From source
git clone https://github.com/coder/claudecode.nvim.git

From the README

claudecode.nvim

The first Neovim IDE integration for Claude Code β€” bringing Anthropic's AI coding assistant to your favorite editor with a pure Lua implementation.
🎯 TL;DR: When Anthropic released Claude Code with VS Code and JetBrains support, I reverse-engineered their extension and built this Neovim plugin. This plugin implements the same WebSocket-based MCP protocol, giving Neovim users the same AI-powered coding experience.

What Makes This Special

When Anthropic released Claude Code, they only supported VS Code and JetBrains. As a Neovim user, I wanted the same experience β€” so I reverse-engineered their extension and built this.

- πŸš€ Pure Lua, Zero Dependencies β€” Built entirely with vim.loop and Neovim built-ins
- πŸ”Œ 100% Protocol Compatible β€” Same WebSocket MCP implementation as official extensions
- πŸŽ“ Fully Documented Protocol β€” Learn how to build your own integrations (see PROTOCOL.md)
- ⚑ First to Market β€” Beat Anthropic to releasing Neovim support
- πŸ› οΈ Built with AI β€” Used Claude to reverse-engineer Claude's own protocol

Installation

That's it! The plugin will auto-configure everything else.
Lazy-loading: with this spec the plugin loads on first use β€” when a listed
cmd is run or a mapped key is pressed β€” not at startup. The cmd list is what
makes :ClaudeCode (and the other commands below) available before any keymap is
pressed. If you would rather load the plugin eagerly at startup, set lazy = false
(the cmd/keys triggers then become optional).

Requirements

- Neovim >= 0.8.0
- Claude Code CLI installed
- folke/snacks.nvim for enhanced terminal support

Local Installation Configuration

If you've used Claude Code's migrate-installer command to move to a local installation, you'll need to configure the plugin to use the local path.

What is a Local…
Read the full README on GitHub

Details

Language
Lua
License
MIT
Last updated
2 November 2026
Topics
claudeclaude-codeneovim

FAQ

What is claudecode.nvim?

Neovim plugin implementing Claude Code's IDE protocol for diffs, selections and context sharing. It is a editor integration for Claude Code, from coder/claudecode.nvim on GitHub.

How do I install claudecode.nvim?

Clone coder/claudecode.nvim from GitHub and follow the setup steps in its README.

Is claudecode.nvim popular?

coder/claudecode.nvim has 3,146 GitHub stars and 223 forks, and is included in 2 curated Claude Code lists. It was last updated on 2 November 2026.

More editor integrations

Browse the most popular Claude Code mods, all editor integrations, or the skills and MCP server directories.