Excel MCP Server
Productivitystdiossehttp-streaming
MCP server for reading and writing Excel workbooks without needing Microsoft Excel installed. Lets AI agents create workbooks and worksheets, read and write cell ranges, apply formulas and formatting, and build charts and pivot tables programmatically. Useful for automating spreadsheet generation, reporting, and data entry from an assistant.
连接
将此配置添加到 .claude/mcp.json
传输方式:
{
"mcpServers": {
"excel": {
"command": "uvx",
"args": [
"excel-mcp-server",
"stdio"
]
}
}
}工具 (3)
read_data_from_excel
Read cell values from a range in an Excel worksheet.
{
"type": "object",
"required": [
"filepath",
"sheet_name"
],
"properties": {
"filepath": {
"type": "string",
"description": "Path to the Excel workbook"
},
"cell_range": {
"type": "string",
"description": "Range to read (e.g. A1:D20)"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
}
}
}write_data_to_excel
Write values to a range in an Excel worksheet, creating the file if needed.
{
"type": "object",
"required": [
"filepath",
"sheet_name",
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "array"
},
"description": "Two-dimensional array of values to write"
},
"filepath": {
"type": "string",
"description": "Path to the Excel workbook"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
}
}
}apply_formula
Apply an Excel formula to a specific cell.
{
"type": "object",
"required": [
"filepath",
"sheet_name",
"cell",
"formula"
],
"properties": {
"cell": {
"type": "string",
"description": "Target cell (e.g. E2)"
},
"formula": {
"type": "string",
"description": "Excel formula to apply (e.g. =SUM(A2:D2))"
},
"filepath": {
"type": "string",
"description": "Path to the Excel workbook"
},
"sheet_name": {
"type": "string",
"description": "Name of the worksheet"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 星标
- 0
- 最后更新
- 2026年7月12日