---
slug: "officecli"
name: "OfficeCLI"
effect: "CLI that lets agents create, read and edit Word, Excel and PowerPoint files without Office installed"
category: "devtool"
tier: "rising"
url: "https://officecli.ai"
github: "iOfficeAI/OfficeCLI"
pricing: "open-source"
license: "Apache-2.0"
tags: ["office", "docx", "xlsx", "pptx", "cli", "mcp", "document-automation"]
platforms: ["claude-code", "cursor", "codex", "windsurf", "vscode", "macos", "linux", "windows"]
install_kind: "cli"
date_added: "2026-10-15"
rank: 12
rising_score: 53
stars: 32041
star_velocity: 149.6
velocity_basis: "since creation"
created_at: "2026-03-15T07:39:12Z"
pushed_at: "2026-10-13T02:29:44Z"
signals_status: "ok"
signals_fetched_at: "2026-10-15T12:37:55.298Z"
page: "https://agenttooldrop.com/tools/officecli"
---

# OfficeCLI

CLI that lets agents create, read and edit Word, Excel and PowerPoint files without Office installed

Category: Devtools. Tier: new and rising, rank 12 by new and rising score (53 of 100). Pricing: Open source. License: Apache-2.0.

Platforms: claude-code, cursor, codex, windsurf, vscode, macos, linux, windows.

## Why you would want it

OfficeCLI is a single binary that creates, reads and modifies .docx, .xlsx and .pptx files from the command line, with no Office installation needed. Every command supports --json output and elements are addressed by paths such as /slide[1]/shape[2], so an agent does not have to handle OOXML namespaces. It can render documents to HTML or PNG so an agent can look at its output and fix layout, and it evaluates Excel formulas on write. It also ships template merge for {{key}} placeholders, a dump command that turns a document into replayable batch JSON, and a built-in MCP server.

## Best for

- Agent-generated decks, reports and spreadsheets
- Batch edits and template fill in CI
- Extracting document content to JSON

## Use it when

You want an agent to produce or edit Word, Excel or PowerPoint files from a shell or over MCP, including in headless or Docker environments with no Office install.

## Skip it if

You are wary of piping a script into your shell; the README's one-line installer is curl into bash, and a package manager or manual download is also listed. The install step also writes a skill file into every agent config it detects, checks for updates in the background by default, and view screenshot pipes rendered HTML through a headless browser while watch starts a local HTTP server. The README's claims of being the first and best, its fidelity claims and its comparison table are the project's own and were not checked here, so test your own documents first. The raw XML commands can rewrite document parts directly.

## Editor note

Other install routes (curl or PowerShell script, Scoop, npm, manual binaries, Python and Node SDKs) are listed in the README.

## Install

Install with Homebrew:

```sh
brew install officecli
```

Source: https://github.com/iOfficeAI/OfficeCLI#installation

## Live signals

Fetched 2026-10-15T12:37:55.298Z (status: ok).

- Repository: iOfficeAI/OfficeCLI
- Repository created: 2026-03-15
- Stars: 32,041 (GitHub's count; it cannot be authenticated)
- Stars per day, since repo creation: 149.6 (an average over the repo's life, not a growth rate)
- Forks: 2,184
- Open issues and PRs: 91
- License (GitHub): Apache-2.0
- Last push: 2026-10-13
- Latest release: v1.0.157 (2026-10-12)

## Links

- Website: https://officecli.ai
- GitHub: https://github.com/iOfficeAI/OfficeCLI
- Install instructions verified at: https://github.com/iOfficeAI/OfficeCLI#installation
- Source for this entry: https://github.com/iOfficeAI/OfficeCLI#readme
- AgentToolDrop page: https://agenttooldrop.com/tools/officecli
- Full catalog (JSON): https://agenttooldrop.com/tools.json
