Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.
PopNx MCPMCP servers for people who use AI · explained in plain words

Vim MCP

by iggredibleversion 0.1.2i★ 3iRuns on your computer
Registry nameio.github.iggredible/vim-mcp

How to install

What it does

Connect Claude Code to Vim/Neovim - query state, execute commands, search help, record macros

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Search & AI memory

Install

Pick the AI app you use, then copy the settings.

Passed 1/2 checks · Runs on your computer

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "vim": {
          "command": "npx",
          "args": [
            "-y",
            "vim-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Vim MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Vim MCP or shows a Vim MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Vim MCP yet

Vim MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Vim MCP

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Search & AI memory that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user vim -- npx -y vim-mcp
  4. Type /mcp in Claude Code

    You should see Vim MCP listed as connected

  5. Try it

    Use Vim MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Vim MCP or shows a Vim MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Vim MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Vim MCP or shows a Vim MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

  1. Install Node.js

    One time only; it works for every server that needs Node.js

    Open the Node.js download page ↗

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Vim MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Vim MCP or shows a Vim MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Vim MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user vim -- npx -y vim-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "vim": {
      "command": "npx",
      "args": [
        "-y",
        "vim-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "vim": {
      "command": "npx",
      "args": [
        "-y",
        "vim-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "vim": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "vim-mcp"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
43/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
0.1.2
Published to registryi
Sep 27, 2025
Code last changedi
Sep 27, 2025
Maker
iggredible
Packages
npm: vim-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 12, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account iggredible, which owns the repo

  • ✕ Fail

    Still maintained

    No code changes for over a year, or the repo is archived

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in with Google to post

User reviews

No reviews yet

Sign in with Google to write a review

Compared with others in Search & AI memoryi

  • More stars than 85% of the other 5974 servers in this category
  • Published to the registry more recently than 0% of the other 5974 servers in this category
  • Basic checks equal to or better than 11% of the other 5974 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Vim MCP safe?

It passed 1 of 2 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 14 months ago, and the latest version (0.1.2) reached the registry 14 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Context7, Codebase Memory, Ruflo

Others in the same category

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Context7

Feeds AI the latest docs for libraries and frameworks before it answers, so code it writes does not use outdated, removed functions.

by upstashWidely used↓ 1.2M/wk★ 64.6KUpdated 3 days ago

Computer or cloud

Codebase Memory

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

by DeusDataWidely used↓ 16.8K/wk★ 48.5KUpdated 26 days ago

Runs on your computer

Ruflo

Agent teams, swarms, memory and hooks for Claude Code and Codex, served over MCP.

by ruvnetWidely used↓ 74.3K/wk★ 81.5K Stars for the whole repoUpdated yesterday

Runs on your computer

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

vim-mcp

Simple MCP (Model Context Protocol) integration for Vim and Claude Code.

Features

  • Connect Claude Code to one of your Vim instances
  • Query Vim state (buffers, windows, cursor position, etc.)
  • Execute Vim commands from Claude using natural language

How it works:

  1. The MCP server starts a Unix socket server at /tmp/vim-mcp-server.sock
  2. Each Vim instance connects to the server as a Unix socket client
  3. Vim sends registration and state updates to the server
  4. The server maintains active connections to all Vim instances
  5. Claude Code communicates with the MCP server via Model Context Protocol
Demo

List and select Vim instance:

You can (finally) exit Vim!

For more, check out the demo wiki page

Why would anyone need this?

Ok, I get what it does, but why do we need this?

If you're trying to do basic Vim operations like typing "split the window in half" (24 keystrokes) vs running :sp / :vs (3 keystrokes), then you're better off without it. Where vim-mcp shines is when the number of keystrokes is unknown; when you can only describe what you want to do but don't know exactly how to do it. Things like complex regex/macros/lookups, help semantic search, etc. - it's faster to tell AI what you're trying to accomplish than trial-and-error. I think the word I'm looking for is circumlocution?

Here's one scenario where it may be useful:

Suppose you want to perform a complex Vim command that would otherwise take a long time to construct. Claude can easily do it if you can describe what you want to do. Maybe you want to substitute "(test foobar)" with square brackets ONLY IF they come after a 3rd-level Markdown header. That's not something I can easily cook up in seconds... but Claude can!

With vim-mcp, I can prompt Claude:

In README.md, substitute the set of parentheses `(SOME TEXT)` with square brackets `[SOME TEXT]`, where SOME TEXT says "test foobar"; do this if the strings come after a 3rd-level header markdown.

And that's it! When I did it, Claude came up with the g command and executed it for me.

vim-mcp - vim_execute (MCP)(command: "g/^### /,/^#\\{1,3\\} \\|^$/s/(test foobar)/[test foobar]/g")

⎿  Command executed successfully: g/^### /,/^#\{1,3\} \|^$/s/(test foobar)/[test foobar]/g

Bonus: the executed commands are stored in the command history so you can go back and re-execute them or modify them.

What if you later decide, "Hey, I actually don't want to substitute them with square brackets [], I want to substitute them with curly brackets {} instead!" You can just access the command history (q:, :history, or : then press up/down) and make the necessary modifications.

So I did :, then pressed the up arrow a few times until I saw the command that vim-mcp executed, and changed it to :g/^### /,/^#\{1,3\} \|^$/s/(test foobar)/{test foobar}/g. Done!

Overview

For a detailed overview, see vim-mcp overview.

Tools and Resources

Tools:

  1. list_vim_instances
  2. select_vim_instance
  3. get_vim_state
  4. vim_execute
  5. exit_vim
  6. vim_search_help
  7. vim_record_macro

Resources:

  1. vim://instances - List of all available Vim instances
  2. vim://state - Current state of the selected Vim instance
  3. vim://buffers - List of all buffers in the selected Vim instance
  4. vim://tabs - List of all tabs in the selected Vim instance

Installation

Prerequisites
  • Vim 8+ with +channel feature OR Neovim 0.5+
  • Node.js 18+
  • Unix domain socket support (Linux/macOS)
  • File system write access to /tmp directory
  • claude code / claude desktop or similar tools that support MCP
Install the Vim Plugin

Using vim-plug:

Plug 'iggredible/vim-mcp'
Install the MCP Server

The MCP server is a Node project. You need to install the dependencies.

Option 1: Using the Install Script
cd ~/.vim/plugged/vim-mcp  # Or wherever your plugin is installed

./install.sh

The install script will automatically:

  • Check prerequisites (Node.js and Vim versions)
  • Install Node.js dependencies
  • Attempt global installation of the vim-mcp command
  • Show you the correct Claude Code configuration
Option 2: Manual Installation

If you prefer to install manually or the install.sh script doesn't work:

  1. Install Node.js dependencies:
cd ~/.vim/plugged/vim-mcp/server

npm install

npm install will also run chmod +x bin/vim-mcp

  1. (Optional) Install globally for system-wide vim-mcp command (inside the /server directory):
npm link

If this fails due to permissions or other reasons, you can skip global installation and use the full path in your config.

Configure Claude Code

After installation, add one of these configurations to your Claude configuration file:

If global install succeeded (if vim-mcp command is available):

  "mcpServers": {

"vim-mcp": { "command": "vim-mcp", "args": [] }, }

If npm link failed:

{

"mcpServers": { "vim-mcp": { "command": "node", "args": ["/some/path/.vim/plugged/vim-mcp/server/bin/vim-mcp"] } } }

Uninstall

To remove vim-mcp:

  1. Remove the plugin from your .vimrc:
" Delete or comment out this line:

" Plug 'iggredible/vim-mcp'

  1. Clean up the plugin files:
:PlugClean
  1. Remove the global vim-mcp command (if installed):
npm unlink vim-mcp
  1. Remove from Claude Code configuration:

Edit the Claude config file and remove the vim-mcp section from mcpServers

  1. Clean up temporary files (optional):
rm -f /tmp/vim-mcp-server.sock

rm -f /tmp/vim-mcp-registry.json rm -f /tmp/vim-mcp-preference.txt

  1. Restart Vim and Claude Code to ensure all connections are cleared.

Quick Start

Step-by-Step Connection Process
  1. Open Vim instances (the plugin connects automatically):
vim file1.txt    # First instance

vim file2.txt # Second instance (in another terminal)

  1. In Claude Code, list available Vim instances:
list vim instances
  1. If multiple instances are found, select one:
select vim instance file1-vim-12345
Things you can prompt

From the client (claude code), you can:

  1. Manage instances:
  • "List vim instances"
  • "Connect to the first one pls"
  • "Select the one with README.md open"
  1. Control Vim:
  • "Split into two windows vertically"
  • "execute vim command "
  • "HELP ME EXIT VIM!!!"
  1. Search Vim help:
  • "Search vim help for working with channels"
  • "How do I use vim's quickfix list?"
  • "Show me help on vim registers"
  1. Record macros:
  • "Record a macro that uppercases the first word and moves down 2 lines"
  • "Create a macro to duplicate the current line and comment it out"
  • "Make a macro that finds the next TODO and marks it as DONE"
  1. Query about Vim:
  • "How many buffers do I have?"
  • "What buffers are open?"
  • "What is my cursor position?"
  • "Show me the current buffer content"
  • "How many lines are in the active buffer?"
  • "What language is the file written in?"
  • "What windows are open?"
  • "What is the realistic 10-year target price for BTC?" (*jk*)
vim-mcp can help you exit Vim!!

You can FINALLY exit Vim! Rejoice! The exit_vim tool provides safe exit functionality with three modes:

  • Default (check): Checks for unsaved changes and warns you before exiting
  • Save and exit: Saves all modified buffers and exits (exit vim save_and_exit)
  • Force exit: Exits without saving, discarding changes (exit vim force_exit)

Examples:

exit vim                   # Safe exit - warns about unsaved changes

exit vim save_and_exit # Save all files and exit exit vim force_exit # Exit without saving (discard changes) GET ME OUTTA HERE # You're free! Successfully exited Vim (there were no unsaved changes).

*Note: this is a joke tool because many people have a hard time exiting Vim*.

Vim Commands

The plugin connects automatically when Vim opens. However, you can do these from inside Vim:

  • :VimMCPStatus - Check connection status
  • :VimMCPConnect - Manually connect to server
  • :VimMCPDisconnect - Disconnect from server
  • :VimMCPReconnect - Reconnect to server

Contributing

I'm still figuring out how to make this to be more useful. If you have ideas, please feel free to submit a PR!