Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Vim MCP
Vim MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/7/2026, 8:34:21 PM

Vim MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository3 GitHub StarsTotal stargazers on GitHub for the source repository (3 stars).Visit Website

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

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "vim-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "vim-mcp"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

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:

List and select Vim instances

You can (finally) exit Vim!

List and select Vim instances

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:

Code
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.

Code
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:

vim
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

bash
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:
bash
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):
Terminal
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):

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

If npm link failed:

config.json
{
  "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:
vim
" Delete or comment out this line:
" Plug 'iggredible/vim-mcp'
  1. Clean up the plugin files:
vim
:PlugClean
  1. Remove the global vim-mcp command (if installed):
Terminal
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):
bash
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):
bash
vim file1.txt    # First instance
vim file2.txt    # Second instance (in another terminal)
  1. In Claude Code, list available Vim instances:
Code
list vim instances
  1. If multiple instances are found, select one:
Code
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"
  2. Control Vim:

    • "Split into two windows vertically"
    • "execute vim command "
    • "HELP ME EXIT VIM!!!"
  3. Search Vim help:

    • "Search vim help for working with channels"
    • "How do I use vim's quickfix list?"
    • "Show me help on vim registers"
  4. 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"
  5. 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:

Code
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!

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • Claude Code Explorer MCP logoClaude Code Explorer MCP

    Explore the Claude Code CLI source β€” browse tools, commands, search code, and more.

    πŸ’» Developer Tools0 views
    Compare vs Claude Code Explorer MCP β†’
  • HeyClaude β€” Claude & AI workflow directory logoHeyClaude β€” Claude & AI workflow directory

    Search the HeyClaude directory of Claude Code agents, MCP servers, skills, and tools.

    πŸ’» Developer Tools0 views
    Compare vs HeyClaude β€” Claude & AI workflow directory β†’
  • C
    Claude Code Ultimate Guide

    Search the Claude Code Ultimate Guide and machine-readable references from any MCP client.

    πŸ’» Developer Tools0 views
    Compare vs Claude Code Ultimate Guide β†’
  • Codealive MCP logoCodealive MCP

    Semantic code search and analysis from CodeAlive for AI assistants and agents.

    πŸ’» Developer Tools0 views
    Compare vs Codealive MCP β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Vim MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "vim-mcp": { "command": "npx", "args": ["-y", "vim-mcp"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewVim MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/vim-mcp?style=directory)](https://allmcps.com/mcp/vim-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/vim-mcp"><img src="https://allmcps.com/api/badge/vim-mcp?style=directory" alt="Vim MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars3
GitHub Star CountTotal stargazers on GitHub representing community popularity (3 stars).
31Quality signal: Emerging Β· 31/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools11/30
Adoption & activity2/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Vim MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code