A Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.
A Model Context Protocol (MCP) server that reads and writes MS Excel data.
🪟Windows only:
For more details, see the tools section.
excel-mcp-server is automatically installed by adding the following configuration to the MCP servers configuration.
For Windows:
{ "mcpServers": { "excel": { "command": "cmd", "args": ["/c", "npx", "--yes", "@negokaz/excel-mcp-server"], "env": { "EXCEL_MCP_PAGING_CELLS_LIMIT": "4000" } } } }
For other platforms:
{ "mcpServers": { "excel": { "command": "npx", "args": ["--yes", "@negokaz/excel-mcp-server"], "env": { "EXCEL_MCP_PAGING_CELLS_LIMIT": "4000" } } } }
To install Excel MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @negokaz/excel-mcp-server --client claude
Tools
excel_describe_sheets
List all sheet information of specified Excel file.
Arguments:
fileAbsolutePath
excel_read_sheet
Read values from Excel sheet with pagination.
Arguments:
fileAbsolutePath
sheetName
range
knownPagingRanges
showFormula
excel_screen_capture
[Windows only] Take a screenshot of the Excel sheet with pagination.
Arguments:
fileAbsolutePath
sheetName
range
knownPagingRanges
excel_write_to_sheet
Write values to the Excel sheet.
Arguments:
fileAbsolutePath
sheetName
newSheet
range
values
excel_create_table
Create a table in the Excel sheet
Arguments:
fileAbsolutePath
sheetName
range
tableName
excel_copy_sheet
Copy existing sheet to a new sheet
Arguments:
fileAbsolutePath
srcSheetName
dstSheetName
Configuration
You can change the MCP Server behaviors by the following environment variables:
EXCEL_MCP_PAGING_CELLS_LIMIT
The maximum number of cells to read in a single paging operation.
[default: 4000]
Copyright (c) 2025 Kazuki Negoro
excel-mcp-server is released under the MIT License
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!