excel-mcp-server
by haris-musa·★ 3,831·综合分 58
一个功能强大的MCP服务器,让AI代理无需安装Microsoft Excel即可操作Excel文件。
概述
excel-mcp-server通过模型上下文协议提供了全面的Excel操作功能。它允许AI代理创建、读取、更新和修改Excel工作簿,具有公式、格式设置、图表、数据透视表和数据验证等丰富功能。服务器支持多种传输方式(stdio、SSE和可流式HTTP),既可作为本地服务运行,也可作为远程服务使用,适用于多种部署场景。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要 AI 代理操作 Excel 文件而无需安装 Excel,或者在自动化系统中处理基于 Excel 的数据处理工作流时,选择此服务器。
什么时候不要选它
如果需要处理 Excel VBA 宏、复杂的 Excel 加载项,或者需要进行超出 Python 库高效处理能力的大规模 Excel 文件处理,请避免使用。
此 server 暴露的工具
从 README 抽取出 12 个工具read_excel_fileRead data from an Excel workbook
create_workbookCreate a new Excel workbook
write_to_cellWrite data to a specific cell in a worksheet
add_formulaAdd a formula to a cell in a worksheet
create_chartCreate a chart from worksheet data
create_pivot_tableCreate a pivot table from worksheet data
format_cellsApply formatting to cells in a worksheet
create_tableCreate an Excel table from data
add_worksheetAdd a new worksheet to a workbook
rename_worksheetRename an existing worksheet
delete_worksheetDelete a worksheet from a workbook
save_workbookSave changes to an Excel workbook
说明:Tool names inferred from feature descriptions in the README since it references a separate TOOLS.md file that wasn't provided
可对比工具
安装
通过pip安装:
pip install excel-mcp-server对于Claude Desktop,添加到config.json:
{
"mcpServers": {
"excel": {
"command": "uvx",
"args": ["excel-mcp-server", "stdio"]
}
}
}作为远程服务器运行:
EXCEL_FILES_PATH=/文件路径 uvx excel-mcp-server streamable-httpFAQ
- 使用此服务器需要安装Microsoft Excel吗?
- 不需要,此服务器无需在系统上安装Microsoft Excel即可操作Excel文件。
- 支持哪些传输方式?
- 服务器支持三种传输方式:stdio(本地使用)、SSE(已弃用)和可流式HTTP(推荐用于远程连接)。
excel-mcp-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。