excel-mcp-server
A Model Context Protocol server for Excel file manipulation
Creating, reading and modifying Excel workbooks from an agent on a machine with no Microsoft Excel installed.
You need absolute file paths over the SSE or streamable HTTP transports; those require EXCEL_FILES_PATH and reject absolute paths and directory traversal.
About excel-mcp-server
A Model Context Protocol (MCP) server that lets you manipulate Excel files without needing Microsoft Excel installed. Create, read, and modify Excel workbooks with your AI agent.
When running the server with the SSE or Streamable HTTP protocols, you must set the EXCEL_FILES_PATH environment variable on the server side. This variable tells the server where to read and write Excel files. - If not set, it defaults to ./excel_files. - With these transports, tool filepath values must be relative to that directory (e.g. reports/q1.xlsx); absolute paths and directory traversal are rejected.
You can also set the FASTMCP_PORT environment variable to control the port the server listens on (default is 8017 if not set). - Example (Windows PowerShell):
excel-mcp-server is an open-source project written primarily in Python, with 4.2k stars on GitHub. It was last updated in September 2026.
Add excel-mcp-server to your MCP client
Generated from the launch command in the project's README. Your client starts the server on demand.
Claude Code
claude mcp add excel-mcp-server -- uvx excel-mcp-server stdioCursor
{
"mcpServers": {
"excel-mcp-server": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}VS Code
{
"servers": {
"excel-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}Claude Desktop
{
"mcpServers": {
"excel-mcp-server": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}Codex
[mcp_servers.excel-mcp-server]
command = "uvx"
args = ["excel-mcp-server", "stdio"]excel-mcp-server vs. the alternatives
All 163 alternatives →| Record | Stars | Pricing | ||
|---|---|---|---|---|
| excel-mcp-serverthis listing | 4.2k | Python | MIT | Open source |
| MCP Reference Servers | 91k | TypeScript | MIT AND Apache-2.0 | Open source |
| context7 | 62k | TypeScript | MIT | Open source |
| chrome-devtools-mcp | 53k | TypeScript | Apache-2.0 | Open source |
| Playwright MCP | 38k | TypeScript | Apache-2.0 | Open source |
| github-mcp-server | 33k | Go | MIT | Open source |
