MCP-Neovim-Server is a proof-of-concept that connects Claude Desktop (or any client) to Neovim via the Model Context Protocol (MCP) and Neovim’s NodeJS client library. It uses Vim’s native editing power and the model's knowledge of Vim to add a lightweight AI text assistant for coding or general use. Feedback and issues on github welcome.
I can give a bit of background: I'm an individual, not a company, and not pushing a product. In the fall of last year, I started messing around with a neovim sidekick type application using langchain and tools, mainly to have a fun way to get help learning new vim stuff. Realizing that Claude (even Haiku, which I was experimenting with at the time) knew how to use vim and I was already using libraries for it to "see" my screen, then why not give it the ability to enter commands?
Then MCP came along and got added to Claude desktop, and I converted my project to be an MCP server. I worked out issues with commands and multiple buffers. I've been able to use it to one-shot small projects. With search, I can now use it to gather notes on things. It's easy to have a context "memory space" that is just in neovim, similar to what people do with Obsidian or Notion. It is exciting to see MCP as a whole getting hyped and being added to more projects, in particular mature clients and server connection improvements. Cheers, Derek