</>MCP Agents Market
Plugin

claudecode.nvim

by coder3kLuaUpdated 2026-08-11

🧩 Claude Code Neovim IDE Extension

Claude Code

claudecode.nvim is a Claude Code plugin that brings Anthropic's AI coding assistant to Neovim through a reverse-engineered WebSocket-based MCP protocol implementation. Built entirely in pure Lua with zero external dependencies, it provides the same AI-powered coding experience available in VS Code and JetBrains IDEs. The plugin enables real-time context sharing, file operations, and diff management directly within Neovim, allowing Claude to see selections, open files, and propose changes with native diff views.

Key Features

Pure Lua implementation with zero dependencies using vim.loop and Neovim built-ins
RFC 6455 compliant WebSocket server implementing Claude Code's MCP protocol
Real-time selection tracking and context updates sent automatically to Claude
Native diff view integration for reviewing and accepting/rejecting Claude's proposed changes
Multiple terminal providers: Snacks.nvim, native Neovim, external terminals, or custom
File explorer integration for adding files from nvim-tree, neo-tree, oil.nvim, and mini.nvim
Floating or split terminal configurations with customizable positioning and keybindings
Lifecycle events (ClaudeCodeSendComplete, ClaudeCodeDiffOpened/Closed) for workflow automation

Use Cases

  • 01AI-assisted coding within Neovim with real-time context sharing of files and selections
  • 02Reviewing and accepting Claude's code suggestions using native Neovim diff views
  • 03Batch file selection from file explorers to provide multi-file context to Claude
  • 04Scripting Claude interactions with :ClaudeCodeSendText and autocmd event hooks
  • 05Running Claude in external terminals (tmux, kitty) while maintaining IDE integration
  • 06Custom terminal layouts with floating windows for distraction-free AI pair programming

Related Plugins

View more

claudecode.nvim — FAQ

What is claudecode.nvim?+

claudecode.nvim is a Neovim plugin that integrates Claude Code (Anthropic's AI coding assistant) into Neovim. It reverse-engineers the WebSocket-based MCP protocol used by the official VS Code extension to provide the same AI-powered coding features in Neovim.

How do I install claudecode.nvim?+

Install via lazy.nvim with 'coder/claudecode.nvim' and add 'folke/snacks.nvim' as a dependency. You must also have the Claude Code CLI installed separately from Anthropic. The plugin auto-configures everything else on first launch.

What are the prerequisites?+

You need Neovim >= 0.8.0, the Claude Code CLI installed from Anthropic, and the snacks.nvim plugin. No API keys are configured in the plugin itself—authentication is handled by the Claude Code CLI.

Which Neovim versions and terminal providers are supported?+

Neovim 0.8.0 and later are supported. The plugin works with Snacks.nvim terminal, native Neovim terminal, external terminals (alacritty, kitty, etc.), or custom provider implementations.

Is claudecode.nvim free?+

The plugin itself is open-source and MIT licensed. However, using Claude Code requires a subscription to Anthropic's Claude service, which has its own pricing.

How do I configure it for local Claude installations?+

If you used 'claude migrate-installer' to create a local installation, set terminal_cmd = '~/.claude/local/claude' in your plugin opts. Check 'which claude' to verify your installation type.

How do I install claudecode.nvim?+

Open the source repository on GitHub and follow its README. claudecode.nvim is a plugin — MCP Agents Market links you directly to the official repo.

Is claudecode.nvim free?+

claudecode.nvim is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches