mcp-neovim-server

MCP.Pizza Chef: bigcodegen

Start Neovim with a listening socket and your assistant gains nineteen editing tools. It can see your open files, know where the cursor sits, run ordinary Vim commands, insert or replace lines, find and replace with patterns, search the whole project, record macros, and manage tabs, folds, and windows. Nothing leaves your computer, because it talks to the editor already running in front of you. Note that no code has landed since September 2025, so the project has gone quiet, though it is not archived.

Coding
Writing

Use This MCP server To

Ask for an edit and watch it land in my open file Search my whole project without leaving the editor Have it explain the file I am currently looking at Rename something across a file with find and replace Jump back to the file I was working in earlier

README

Neovim MCP Server

Connect Claude Desktop (or any Model Context Protocol client) to Neovim using MCP and the official neovim/node-client JavaScript library. This server leverages Vim's native text editing commands and workflows, which Claude already understands, to create a lightweight code or general purpose AI text assistance layer.

mcp-neovim-server MCP server

Features

  • Connects to your nvim instance if you expose a socket file, for example --listen /tmp/nvim, when starting nvim
  • Views your current buffers and manages buffer switching
  • Gets cursor location, mode, file name, marks, registers, and visual selections
  • Runs vim commands and optionally shell commands through vim
  • Can make edits using insert, replace, or replaceAll modes
  • Search and replace functionality with regex support
  • Project-wide grep search with quickfix integration
  • Comprehensive window management
  • Health monitoring and connection diagnostics

API

Resources

  • nvim://session: Current neovim text editor session
  • nvim://buffers: List of all open buffers in the current Neovim session with metadata including modified status, syntax, and window IDs

Tools

Core Tools

mcp-neovim-server FAQ

Is it still being updated?
Not lately. The last code change was September 2025. It still works and has not been archived, but the pace has slowed to a stop.
Does it work with regular Vim?
No. It needs Neovim started with a listening socket, so plain Vim will not work.
Which apps can use it?
Claude Desktop is the documented one; any app that supports MCP connections should also work.
Do I need a key or an account?
No. It talks to the editor already running on your own computer.
How hard is setup?
Easy. Drag the packaged file onto Claude Desktop, or paste a short snippet into its settings file.
Can I use this to have my assistant edit a file I already have open?
Yes. It writes into your live editing session rather than into a separate copy.
Can it run terminal commands?
Only if you switch that on. It is disabled by default for safety.