xiongchenghou/vba-mcp-server
MCP server for direct Excel VBA code read/write. Let AI assistants (Claude, etc.) access and modify VBA modules without manual export/import.
Platform-specific configuration:
{
"mcpServers": {
"vba-mcp-server": {
"command": "npx",
"args": [
"-y",
"vba-mcp-server"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Let AI read and write your Excel VBA code directly — no manual export/import needed.
> An MCP (Model Context Protocol) server that gives Claude (and other AI assistants) the ability to directly access and modify VBA code inside Excel workbooks (.xlsm, .xlsb, .xls, .xla, .xlam).
---
If you've ever worked with Excel VBA and AI coding assistants, you know the pain:
VBA MCP Server eliminates this entirely. Claude can now read, write, create, delete, and backup VBA modules directly — just like it works with regular source code files.
---
.xlsm files in a directory tree---
| Requirement | Details | |------------|---------| | OS | Windows (uses COM/Win32 API) | | Excel | Microsoft Excel (local installation) | | Python | 3.10 or later | | Trust Setting | See Excel Configuration below |
---
pip install vba-mcp-serverThen add to your MCP config:
{
"mcpServers": {
"vba-mcp-server": {
"command": "vba-mcp-server",
"args": []
Loading reviews...