OfficeCLI vs mcp-server-excel
Office document automation compared
OfficeCLI and mcp-server-excel let agents and scripts work with office files through command-line or MCP interfaces. OfficeCLI edits Word, Excel, and PowerPoint files directly, while mcp-server-excel automates the installed Microsoft Excel application through its COM API.

OfficeCLI: Create and Edit Office Files from the Command Line
OfficeCLI is a cross-platform CLI for AI agents and developers to create, read, edit, and validate Word, Excel, and PowerPoint files. It combines structured commands, JSON output, and built-in document previews in a self-contained binary.

mcp-server-excel: Automate Microsoft Excel with AI
mcp-server-excel lets AI assistants and coding agents automate the real Microsoft Excel application through MCP or a CLI. It suits Windows users who need workbook operations that file parsers cannot perform, such as refreshing Power Query or running VBA.
| OfficeCLI | mcp-server-excel | |
|---|---|---|
| Language | C# | C# |
| License | Apache-2.0 | MIT |
| Stars | 31.5k | 802 |
| Forks | 2.1k | 90 |
| Last analyzed | Oct 3, 2026 | Oct 3, 2026 |
Key differences
- OfficeCLI covers Word, Excel, and PowerPoint; mcp-server-excel focuses on Excel workbooks.
- OfficeCLI works with document files and offers rendering and previews; mcp-server-excel operates the real Excel application and can refresh Power Query or run VBA.
- OfficeCLI is cross-platform at runtime and does not require Office; mcp-server-excel requires Windows, Excel 2016 or later, and an interactive desktop session.
- OfficeCLI is licensed under Apache-2.0, while mcp-server-excel uses the MIT license.
- OfficeCLI lists 31.5k stars and 2.1k forks; mcp-server-excel lists 802 stars and 90 forks.
Choose OfficeCLI if you…
- need to create, inspect, or edit Word, Excel, and PowerPoint files from one CLI.
- want headless document automation, JSON operations, or built-in previews without installing Office.
- need cross-platform workflows or batch processing of office files.
Choose mcp-server-excel if you…
- need to automate the installed Excel application on Windows.
- want Excel-specific capabilities such as refreshing Power Query, running VBA, or working with DAX and Power Pivot.
- need to preserve workbook features while operating on workbooks in real Excel.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.