Local MCP for Word, Excel, PowerPoint & PDF on macOS β formulas, slides, DOCX, PDF ops. No network.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
truepath-office-mcp)Let your AI read and edit Office documents locally. Files never leave your Mac.
An MCP server that lets your AI agent β Claude Desktop, Claude Code, Codex, Cursor, Windsurf, or any MCP client β process Word (DOCX), Excel (XLSX), PowerPoint (PPTX) and PDF files on your machine: evaluate spreadsheet formulas, read & write workbooks and slide decks, extract structured DOCX content, and merge / split / protect PDFs.
Built and maintained by Joy Truepath Pte. Ltd., the
team behind the TruePath Office
Mac app (on the Mac App Store). The
engine here (TruePathCore) is the same headless, Foundation-only, zero-
dependency core that ships inside the app β open-sourced for transparency and
standalone use.
xcode-select --install or swift.orgThis produces two binaries under .build/release/:
truepath-office-mcp β the MCP stdio servertruepath β a standalone CLI for the same engineGet the server's absolute path for the config snippets below:
Use the absolute path printed above wherever you see /path/to/....
Claude Desktop β ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Code
Codex β ~/.codex/config.toml
Cursor / Windsurf β MCP settings (see each IDE's docs for the file location)
Restart the host, then ask your agent something like: "Use truepath-office to read the body text of ~/Documents/report.docx."
| Tool | Description | Key parameters |
|---|---|---|
evaluate_formula | Evaluate a spreadsheet formula | formula, data (2D array) |
load_workbook | Load an XLSX file | path |
save_workbook | Save an XLSX file | path, sheets |
query_spreadsheet | Query a cell range | path, sheet?, range? |
load_presentation | Load PPTX slides | path |
save_presentation | Save PPTX slides | path, slides |
load_word_metadata | Load DOCX metadata | path |
read_word_body | Read DOCX body text | path |
extract_docx_structure | Parse DOCX into structured JSON (paragraphs / runs / formatting / tables / sections / headers / footers / footnotes) | path |
pdf_info | Page count & text info | path |
pdf_merge | Merge multiple PDFs | sources, output |
pdf_split | Split a PDF at a page number | path, page |
pdf_protect | Add password protection | path, password |
detect_document_type | Detect type from extension | extension |
open_in_office | Open a document in the TruePath Office Mac app for visual editing (GUI hand-off) β | path |
β open_in_office hands the file to the TruePath Office Mac app over its truepath-office:// URL scheme, so after reading or editing a document headlessly here you can finish it in the GUI. It requires the TruePath Office app v1.0.6 or newer (the version that registers the scheme). If the app isn't installed, the tool returns a link to get it rather than opening anything. macOS only. Every other tool is fully local and needs no app.
The same engine is available as a command-line tool:
Run truepath with no arguments for the full command list.
Each sub-package (TruePathCore/, TruePathMCP/, TruePathCLI/) keeps its own
Package.swift and test suite; cd <pkg> && swift test runs them in isolation.
MIT Β© Joy Truepath Pte. Ltd.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/truepath-office)<a href="https://allmcps.com/mcp/truepath-office"><img src="https://allmcps.com/api/badge/truepath-office?style=directory" alt="TruePath Office on AllMCPs" /></a>