Skip to main content
MCP server CX Codex

MR Office — Claude Code MCP server: edit documents and sheets

MR Office is a Claude Code MCP server that embeds document, spreadsheet, and PDF editors into chat. Users can tweak files manually before the assistant continues.

AGPL-3.0 ★ 3,920 updated 2026-11-24

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http office https://mcp.mroffice.ai/mcp
Open on GitHub

What MR Office does

The server generates documents from Markdown and spreadsheets from CSV files, serving an editor interface at 127.0.0.1:3410. When used in clients supporting MCP Apps, editing happens inline with continuous autosave. The assistant inspects revisions via get_document and can take page pictures with render_page.

All created files remain on the local machine inside the temporary directory. The web UI assets load from https://demo.mroffice.ai. To generate page previews, the system requires either Google Chrome, Microsoft Edge, or a headless browser via npx playwright-core install chromium-headless-shell.

Working with Word, Excel, and PowerPoint files relies on the MR Office engine and requires an account. The server prompts for browser login using OAuth 2.1 on the first run, or authentication can be completed upfront with npx -y mroffice-mcp login.

What it helps with

  • editing documents and spreadsheets
  • opening Markdown, HTML, CSV, and PDF files from URLs or raw strings
  • applying manual adjustments to generated documents in the browser
  • exporting finalized revisions to PDF, CSV, HTML, or Markdown

Example prompts for the agent

  • Create a project budget spreadsheet and open it in the editor
  • Open the document specification.md and capture a picture of page 1
  • Read back my manual edits from the document and update the summary

How to install MR Office

1Platform CLI: remote server

claude mcp add --transport http office https://mcp.mroffice.ai/mcp

2Platform CLI

claude mcp add --env MROFFICE_MCP_DATA_DIR=<MROFFICE_MCP_DATA_DIR> --env MROFFICE_MCP_PORT=<MROFFICE_MCP_PORT> --transport stdio mcp -- npx -y mroffice-mcp

Replace <…> with your own values

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about MR Office

How to install MR Office in Claude Code?

Run the setup command in your terminal: claude mcp add --transport http office https://mcp.mroffice.ai/mcp.

What does MR Office do?

It launches visual document, spreadsheet, and PDF editors so you can inspect and modify generated files directly during the conversation.

What is required to run MR Office?

You need Node.js 22 or newer. Page rendering requires Chrome, Edge, or Chromium headless shell, while Office file support requires an MR Office account.

Similar MCP servers

All MCP servers for Office documents →

Project sponsors

Companies that keep this analytics open