SuperAPI AI Directory

excel-mcp-server

Excel MCP Server is an open-source Model Context Protocol server that lets AI clients such as Claude, Cursor, VS Code Copilot, and Codex create, read, and edit Excel files, with support for charts, pivot tables, slicers, formulas, and more; it is based on openpyxl and does not require Microsoft Excel to be installed, and can run on Windows, macOS, and Linux.

Open website

About this tool

Purpose: As an MCP server, it connects Excel file manipulation capabilities to AI clients, letting models directly create, read, and edit workbooks without Excel installed locally.

Main capabilities: Supports column charts, bar charts, line charts, area charts, pie charts, doughnut charts, radar charts, scatter charts, bubble charts, and combination charts, secondary axes, trendlines, error bars, as well as Excel 2016 charts such as waterfall, histogram, Pareto, box plot, treemap, sunburst, and funnel charts; supports real pivot tables (grouping, calculated fields, show values as, layout, filters), slicers and timelines, and sparklines; built-in formula calculation engine (about 260 functions, validated against more than 2,500 real Excel formulas), supports dynamic arrays FILTER, SORT, UNIQUE, SEQUENCE, and LET; supports tables, conditional formatting, data validation, sorting and filtering, find and replace, removing duplicates, text to columns, fill series, paste special, font fill border, number formats, merged cells, frozen panes, grouping, print settings, worksheet protection, images, comments, and defined names; inserting and deleting rows and columns updates references just like Excel.

Usage: Requires uv; clients start the server via uvx excel-mcp-server stdio, and replace /path/to/workbooks with the folder that is allowed to be used. Claude Desktop can download excel-mcp-server.mcpb and open it to install; Claude Code, Cursor (~/.cursor/mcp.json), VS Code Copilot (.vscode/mcp.json), OpenAI Codex, Devin Desktop, etc. connect according to their respective mcpServers configuration. You can use --allow-dir to restrict accessible directories, or set EXCEL_FILES_PATH; remote use goes through Streamable HTTP, listening by default on http://127.0.0.1:8017/mcp,仅本机,跨机需设置令牌和主机并加 TLS reverse proxy.

Limitations: Legacy .xls and .csv are not supported; a single call processes at most 100,000 cells, and large reads are returned in pages; writing VBA requires explicitly enabling --allow-vba-write, and the server never runs macros; before writing formulas, it rejects functions that access the network or call external programs, Excel 4.0 macro functions, DDE links, and cross-workbook references; network UNC and Windows device paths are always rejected; version 2.0 tool and parameter names are incompatible with 1.x.