A Model Context Protocol server for Excel file manipulation
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.
The server supports two transport modes: stdio and SSE.
Stdio transport is ideal for direct integration with tools like Cursor Desktop or local development, which can manipulate local files:
uvx excel-mcp-server stdio
SSE transport is perfect for remote connections, which manipulate remote files:
uvx excel-mcp-server sse
Stdio transport connection (for local integration):
{
"mcpServers": {
"excel-stdio": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}
SSE transport connection:
{
"mcpServers": {
"excel": {
"url": "http://localhost:8000/sse",
}
}
}
When running the server with the SSE protocol, 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.
./excel_files
.You can also set the FASTMCP_PORT
environment variable to control the port the server listens on (default is 8000
if not set).
$env:EXCEL_FILES_PATH="E:\MyExcelFiles"
$env:FASTMCP_PORT="8080"
uvx excel-mcp-server sse
EXCEL_FILES_PATH=/path/to/excel_files FASTMCP_PORT=8080 uvx excel-mcp-server sse
When using the stdio protocol, the file path is provided with each tool call, so you do not need to set EXCEL_FILES_PATH
on the server. The server will use the path sent by the client for each operation.
The server provides a comprehensive set of Excel manipulation tools. See TOOLS.md for complete documentation of all available tools.
MIT License - see LICENSE for details.
{ "mcpServers": { "excel-stdio": { "command": "uvx", "args": [ "excel-mcp-server", "stdio" ] } } }
Related projects feature coming soon
Will recommend related projects based on sub-categories