repowiserepowise

App

xinatian / mroffice

MR Office — the open-source editors of the AI office suite closest to Microsoft Office: documents, spreadsheets, presentations, PDF and code in the browser. Copilot in every editor edits real Word, Excel and PowerPoint files with you; an MCP server lets Claude, ChatGPT, Cursor and Codex create and edit them; embed it in your app with one line.

TypeScriptAGPL-3.0

github.com/xinatian/mrofficeIndexed

What is mroffice?

mroffice is an open-source set of browser editors for documents, spreadsheets, presentations, PDF and code, published as the source code of the MR Office suite. It is aimed at web developers who embed these editors in their own apps, at AI apps that drive them through an MCP server, and at teams that build them into their own products. The core idea is one shared set of editor packages that the browser playground, the desktop app and the MCP server all load, each for a different caller. The main language is TypeScript. To install it, run claude mcp add mroffice -- npx -y mroffice-mcp. Its code health is 4.8 out of 10 (Needs_work), ranked #267 of 279 ranked repos. The last commit to mroffice was on Nov 26, 2026, and 2 people have contributed.

As of commit 77a57b8, indexed Nov 28, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsmroffice.md

Repo facts: type, license, health, rank, contributors
mroffice facts
TypeApp
LicenseAGPL-3.0
Code health4.8 / 10 (Needs_work)
Health rank#267 of 279 ranked repos
Last commitNov 26, 2026
Contributors2
Bus factor1
Size4,232 files, 1,576,154 lines

Ask about mroffice

Answers come from mroffice's README and source, with the files they cite. Two free answers a day without an account.

Install mroffice

Commands copied from the README

  1. 1Add the MCP server to Claude Code
    claude mcp add mroffice -- npx -y mroffice-mcp

Full install notes on GitHub

Get this map for your own codebase

  • A dependency graph, git history, docs and decisions
  • Your coding agent asks it directly instead of grepping around
  • In Claude Code: answers 47% faster, 51.2% fewer output tokens
Index your repo free

Ask about this code in your agent

This connects Repowise to mroffice's code. It does not install mroffice. To install mroffice, use the install steps.

Useful if you want to change or fork mroffice: your agent can ask how it is put together and get answers that cite its files.

Explore mroffice

Code health

4.8out of 10Needs work

Hotspots average 2.3, the place fixes pay off most.

On the leaderboards:#72 of 72 TypeScript repos

xinatian/mroffice FAQ

What is mroffice?

mroffice is an open-source set of browser editors for documents, spreadsheets, presentations, PDF and code, taken from the MR Office suite. The editors can run in a browser playground, in a desktop app, or be driven by AI apps through an MCP server.

How does mroffice work?

mroffice packages each editor as npm packages that share controls from packages/core. Host apps open the editors, and AI clients call the MCP server in apps/mcp to create, edit and export files.

How do I install mroffice?

For Claude Code, run the command claude mcp add mroffice -- npx -y mroffice-mcp, which starts the MCP server through npx. Codex users run the matching codex mcp add command with the same package. See the install steps

What language is mroffice written in?

mroffice is written in TypeScript, and its packages and apps are published through npm. Its code also includes some JavaScript files.

How is the mroffice code organized?

The code is split into a packages directory with the editors and shared code, an apps directory with the desktop, playground and MCP programs, and a scripts directory that packages the editors for npm.

Who is mroffice for?

mroffice is for web developers who embed the editors in their own apps, for AI apps that need to create and edit Office files, and for teams that build the editors into their own products.

What license does mroffice use?

mroffice is licensed under AGPL-3.0.

About this page

Get a page like this for your own codebase

Repowise built this map of xinatian/mroffice from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

Key features of mroffice

  • Documents, spreadsheets, presentations, PDF and code editors that run in the browser.
  • An MCP server that lets AI apps create, open, edit, read back and export Word, Excel and PowerPoint files.
  • A copilot in each editor that edits the file itself and previews each change before it is applied.
  • An embed option that opens the editors inside your own web app using a session token signed by your server.

How xinatian/mroffice works

The repository is split into packages, which hold the editors and shared code, and apps, which hold the programs that run them. packages/core supplies the shared Office-style controls, fonts, charts and text helpers that the editors draw their screens with. packages/docs holds the document editor, a paged word processor that opens and saves a local file in the browser, and the slides, sheets and PDF packages import its DocumentEditor from it. apps/playground opens every editor in the browser, and apps/desktop/src/entry.ts starts the desktop app for Windows and macOS. apps/mcp/src/cli.ts is the entry point of the MCP server that AI clients call to create, open, edit, read back and export documents. The scripts directory packages the editors for npm and writes their readme files, runtime helpers and type declarations at build time.

The codebase has 4,232 files and 69,766 symbols in 3 modules, led by TypeScript and JavaScript. Code health is 4.8 out of 10, rated needs work.

Featured answer

Read the answer

mroffice is the open-source source code of the MR Office suite, a set of browser editors for documents, spreadsheets, presentations, PDF and code, mostly written in TypeScript. The core idea is one shared set of editor packages that the browser playground, the desktop app and the MCP server all load, each for a different caller. The packages folder holds the editors and shared code: packages/core supplies shared controls, fonts, charts and text helpers, and packages/docs holds the document editor that the slides, sheets and PDF packages import their DocumentEditor from. The apps folder holds the programs that run them: apps/playground opens every editor in the browser, apps/desktop/src/entry.ts starts the desktop app for Windows and macOS, and apps/mcp/src/cli.ts is the MCP server entry point that AI clients call to create, open, edit, read and export documents. The scripts directory packages the editors for npm and generates their readme files, runtime helpers and type declarations at build time. To start reading, begin with packages/docs for the document editor, then apps/playground for a quick browser view of every editor, then packages/core for the shared controls.

Repowise maps public repos from their source. Not affiliated with xinatian. What is Repowise?