excel
excel-mcp-server-ts
Excel 模型上下文协议(MCP)服务器 —— TypeScript 版本。让 MCP 客户端(Claude Desktop、Claude Code 及其他支持 MCP 的主机)能够以编程方式创建和操作 Excel 工作簿:工作表、单元格数据、格式设置、计算、图表和数据透视表。基于 ExcelJS 构建,无需安装 Excel。
功能特性
工作簿和工作表管理
读取和写入单元格数据(
src/data.ts、src/cellUtils.ts)单元格格式设置(
src/formatting.ts)公式和计算(
src/calculations.ts)图表(
src/chart.ts)和数据透视表(src/pivot.ts)
Related MCP server: mcp-xlsx-server
安装与构建
npm install
npm run build # tsc -> dist/运行
npm start # node dist/cli.js
# or during development:
npm run dev # ts-node src/cli.ts与 MCP 客户端配合使用
claude_desktop_config.json(或任何 MCP 主机配置)的示例条目:
{
"mcpServers": {
"excel": {
"command": "node",
"args": ["<path-to-repo>/dist/cli.js"]
}
}
}项目结构
src/
cli.ts entry point (bin: excel-mcp)
server.ts MCP server wiring
data.ts cell/range data operations
formatting.ts styles and formats
calculations.ts formulas
chart.ts charts
pivot.ts pivot tables
cellUtils.ts helpers
excel_files/ sample workbook for local testing许可证
ISC
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
The Excel engine for AI agents: read, check and edit Excel models over MCP.
GrapeCity Software MCP for GcExcel docs, examples, and product assistance.
Excel analytics: inspect, query (JSON rows), charts, and JSON-to-xlsx workbook writing.
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Related MCP Servers
- AlicenseCqualityBmaintenanceAutomates Microsoft Excel spreadsheet creation and editing via MCP tools for any MCP-compatible client.3715 PyPIMIT
- AlicenseAqualityDmaintenanceMCP server for reading and writing Excel (xlsx) files using SheetJS, providing tools to list sheets, read data, create files, add sheets, and update cells.513 npmMIT
- AlicenseAqualityDmaintenanceEnables reading and writing Excel workbooks (.xlsx) through MCP. Supports listing sheets, tables, pivot tables, reading cell data, exporting to CSV/text/Markdown, and creating/modifying Excel files.14GPL 3.0
- FlicenseNot gradedqualityDmaintenanceProvides full read and write access to Excel workbooks (sheets, cell ranges, tables, formulas, formatting, and cross-workbook references) via MCP, running locally or as an HTTP/SSE service.-