iOfficeAI · 2026-07-08 · major
OfficeCLI 1.0.132 — open-source Word/Excel/PowerPoint CLI built for AI agents
OfficeCLI is a single-binary tool that lets AI agents create, read, and edit Word, Excel, and PowerPoint files without Office installed. Version 1.0.132 ships with a built-in MCP server, HTML rendering, and 350+ Excel formulas.
Single-binary command-line tool that lets AI agents build Word, Excel, and PowerPoint files without installing Office.
Key specs
| GitHub stars | 12,500+ |
|---|---|
| Excel functions | 350+ |
Quick facts
| Maker | iOfficeAI |
|---|---|
| Version | 1.0.132 |
| License | Apache-2.0 |
| Platforms | macOS, Linux, Windows (x64 + ARM64) |
| Install | brew install officecli |
| Agent hookup | Built-in MCP server (Claude Code, Cursor) |
What is it?
OfficeCLI is an open-source command-line tool from iOfficeAI that reads, edits, and creates Microsoft Word, Excel, and PowerPoint files. It runs as a single binary with an embedded rendering engine on macOS, Linux, and Windows, so Office does not need to be installed. Version 1.0.132 landed on July 8 with more than 12,500 GitHub stars.
How does it work?
Agents drive OfficeCLI through its built-in Model Context Protocol server or as plain CLI commands. Path-based element access such as `/slide[1]/shape[2]` gives predictable addressing without XML knowledge, a 350-function Excel engine auto-evaluates formulas on write, and an HTML/PNG render pipeline lets agents visually inspect the output. Structured JSON errors help agents self-correct.
Why does it matter?
Office automation used to require Windows and a real Office install, which blocked headless Linux and container workflows. Because OfficeCLI is one binary with no Office dependency, agents like Claude Code and Cursor can generate business documents anywhere — CI pipelines, cloud sandboxes, or a developer laptop — as part of a normal tool call.
Who is it for?
developers building AI agents that produce reports, spreadsheets, and slide decks
Frequently asked questions
- How much does OfficeCLI cost?
- OfficeCLI is free and open-source under the Apache 2.0 license. There is no paid tier and no vendor account is required — the single-binary distribution works standalone on macOS, Linux, and Windows without any subscription or telemetry.
- Do I need Microsoft Office installed to use OfficeCLI?
- No. OfficeCLI ships as a self-contained binary with an embedded .NET runtime and rendering engine. It reads and writes native .docx, .xlsx, and .pptx files directly, so Word, Excel, and PowerPoint do not need to be installed on the machine running the tool.
- Which AI agents can call OfficeCLI?
- OfficeCLI includes a built-in Model Context Protocol server exposed via `officecli mcp claude` and `officecli mcp cursor`, plugging straight into Claude Code, Cursor, and any MCP-compatible client. On first run OfficeCLI also auto-installs a SKILL.md file so agents learn the command syntax.
- How do agents check what OfficeCLI produced?
- The `view` command renders any document to HTML or PNG so an agent can inspect its own output, and `--json` returns structured error codes with suggested fixes. Agents feed both back into their reasoning loop to catch layout bugs, text overflow, or formula errors before returning the file.
Try it
brew install officecli