Excel
STDIO读写微软Excel文件的MCP服务器
读写微软Excel文件的MCP服务器
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
excel_describe_sheetsList all sheet information of specified Excel file.
Arguments:
fileAbsolutePath
excel_read_sheetRead values from Excel sheet with pagination.
Arguments:
fileAbsolutePath
sheetName
range
showFormula
showStyle
excel_screen_capture[Windows only] Take a screenshot of the Excel sheet with pagination.
Arguments:
fileAbsolutePath
sheetName
range
excel_write_to_sheetWrite values to the Excel sheet.
Arguments:
fileAbsolutePath
sheetName
newSheet
range
values
excel_create_tableCreate a table in the Excel sheet
Arguments:
fileAbsolutePath
sheetName
range
tableName
excel_copy_sheetCopy existing sheet to a new sheet
Arguments:
fileAbsolutePath
srcSheetName
dstSheetName
excel_format_rangeFormat cells in the Excel sheet with style information
Arguments:
fileAbsolutePath
sheetName
range
styles
border: Array of border styles (type, color, style)font: Font styling (bold, italic, underline, size, strike, color, vertAlign)fill: Fill/background styling (type, pattern, color, shading)numFmt: Custom number format stringdecimalPlaces: Number of decimal places (0-30)You can change the MCP Server behaviors by the following environment variables:
EXCEL_MCP_PAGING_CELLS_LIMITThe 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