Open-source AI office suite that edits real Word, Excel and PowerPoint files.
Microsoft Office のオープンソース代替
Open-source AI office suite that edits real Word, Excel and PowerPoint files. MR Office ships document, spreadsheet, presentation, PDF and code editors that run in the browser or as a desktop app for Windows and macOS. A Copilot in each editor can work on those files with you, and an MCP server lets Claude, ChatGPT, Cursor and Codex create and edit them. You can also embed the editors in another app.
READMEGitHub の XinaTian/MROffice
MR Office is an AI office suite for real files: Word, Excel, PowerPoint and PDF, on the web and in a free desktop app, with an AI beside every document and live co-editing. This repository publishes the source code of its editors: the same editors MR Office runs, which you can build, run and embed on your own.
For comparison, ONLYOFFICE Docs Developer Edition is listed from about US$6,000 a year for 250 simultaneous connections on servers you run yourself (reseller list price, November 2026); Univer Pro's price is not published. Pricing and limits →
In MR Office the AI works on the document itself, not on text pasted into a chat. It reads the file, makes the change in the file's own objects, and shows you what it touched before you keep it.
Try the AI in MR Office, free →
Claude, ChatGPT, Cursor, Codex, VS Code and any other MCP client can create, open, edit, read back, picture and export documents and spreadsheets through MR Office's MCP server (create_document, open_document, update_document, get_document, render_page, export_document to docx, xlsx, pptx, pdf, md, html or csv). In apps that show MCP Apps the editor appears right in the conversation; elsewhere the tools answer with a link to the same editor and a picture of the page. You and the AI edit the same document: the assistant reads your edits back before it goes on, and an update made on top of edits it has not seen is refused rather than lost.
# Claude Code
claude mcp add mroffice -- npx -y mroffice-mcp
# Codex
codex mcp add mroffice -- npx -y mroffice-mcp
Claude Desktop, Cursor and other apps that take a JSON configuration:
{ "mcpServers": { "mroffice": { "command": "npx", "args": ["-y", "mroffice-mcp"] } } }
No install: connect the hosted endpoint https://mcp.mroffice.ai/mcp and sign in with your MR Office account. Word, Excel and PowerPoint files go through MR Office's Office engine as your own account; the MCP server's source is in apps/mcp. MCP guide →
Everything for developers is at MR Office Developers — self-serve, no application: sign in with any MR Office account and start.
MR Office hosts the editors; your server signs a short-lived session token and your page opens the editor. It edits real Word, Excel, PowerPoint and PDF files (.docx, .xlsx, .pptx, .pdf), with the full formula engine, co-editing, uploads, every export format, printing, the automation API (document object model, macros, plugins) and saves sent back to your server in a signed callback. All of it is in the Free plan: 1,000 sessions a month on localhost, 100 on your own domains, up to 2 apps, no card needed. As a hosted service, it puts no AGPL obligations on your own app.
npx mroffice-embed init (or create an app in the developer console): one "Allow" in the browser, and the app's keys are written to .env.local / .env.createSessionToken from mroffice-embed/server; the secret key never leaves the server.open() from mroffice-embed (or the script https://mroffice.ai/embed/v1/embed.js).// server: GET /api/mroffice/session (check who is signed in first)
import { createSessionToken } from "mroffice-embed/server";
const token = await createSessionToken({
appId: process.env.MROFFICE_APP_ID,
secretKey: process.env.MROFFICE_SECRET_KEY, // mro_sk_..., server only
file: { key: "contract-42", name: "contract.docx", url: signedUrlToTheFile },
user: { id: user.id, name: user.name },
mode: "edit",
});
// page
import { open } from "mroffice-embed";
open({ container: "#editor", token: () => fetch("/api/mroffice/session").then((r) => r.json()).then((b) => b.token) });
Embed guide · The guide as Markdown (for AI agents) · Pricing and limits · Developer console · Live demo
The MCP server above is also how your own AI features can open, read, edit and export documents in the real MR Office editor: the hosted endpoint https://mcp.mroffice.ai/mcp (OAuth sign-in, no key) or npx -y mroffice-mcp on your own computer. MCP guide →
MR Office is an OAuth 2.1 authorization server (PKCE, client ID metadata documents, dynamic registration): your app can sign people in with their MR Office account and act with the scopes they allow. OAuth guide →
The five editors in this repository can be built into your own product under the AGPL-3.0: if people use a modified version over a network, you must offer them its complete source code, and keep the "MR Office" attribution (NOTICE.md). They open their own formats, CSV, HTML, Markdown and PDF; Word, Excel and PowerPoint files come with the hosted embed above, Free plan included. A commercial license is available from [email protected]. Open-source guide →
The editors are on npm as React components: npm i mroffice-docs mroffice-core (and mroffice-sheets, mroffice-slides, mroffice-pdf, mroffice-code); each package's README shows how to embed it.
What each editor does in this repository:
Formulas with functions (SUM, IF, VLOOKUP and hundreds more), Word, Excel and PowerPoint files, charts, SmartArt and the automation API are free to use: in the free MR Office desktop app, and in your own app through the hosted embed's Free plan. Files keep every formula, chart and SmartArt intact in the open-source editors too.
▶ Try the live demo — no install
The five editors are in packages/ (@mrnote/docs, sheets, slides, pdf, code, sharing @mrnote/core) and run together in apps/playground:
npm install
npm run fonts # the open substitutes for Office's fonts
npm run build
npm run preview # http://localhost:5178
npm run dev starts a development server at the same address, and npm run smoke checks a build. Each package's README lists what it does in detail and shows how to embed it.
apps/desktop holds MR Office Editors: the source of the MR Office desktop app's shell (Electron), under an identity of its own. With the free MR Office component from Releases, it is the MR Office desktop app, with Word, Excel, PowerPoint and PDF files, sign-in and AI. Without the component, it runs the open-source editors on their own, which open .mrdoc, .mrsheet and .mrslides files, CSV, HTML, Markdown and PDF. The shell and the editors are AGPL source code; the component is a free download from Releases. After npm run build, start it with:
npm run desktop
The MR Office desktop app is free, has these editors and the full service, and works offline on your own computer. It also brings:
flowchart LR
subgraph OSS["Open source · AGPL-3.0"]
direction LR
core["@mrnote/core"] --> E["The five editors<br/>Documents · Spreadsheets · Presentations · PDF · Code"]
E --> PG["apps/playground<br/>Browser"]
E --> DS["apps/desktop<br/>Desktop shell"]
MCP["apps/mcp<br/>MCP server for AI apps"]
end
COMP["MR Office component: Word, Excel and PowerPoint files · free"] -.-> DS
Open source under the GNU Affero General Public License v3.0 (LICENSE), with the additional terms in NOTICE.md: keep the "MR Office" attribution and link to https://mroffice.ai, and no rights to the MR Office name or logo. A commercial license is available from [email protected]. Third-party software and data are listed in THIRD_PARTY_NOTICES.md. Contributions: see CONTRIBUTING.md.
Website and the full product: https://mroffice.ai · Questions and feedback: [email protected]
With installers for Windows and macOS plus a web app; very new and still moving quickly.
GitHub からの最終更新:4 時間前
GitHub の数値は1日に数回更新されます。
ここに掲載されている Microsoft Office のオープンソース代替を、すべて並べています。列をクリックすると並べ替えられます。
WordCraft | 1.9万 | +324 | Apache-2.0 | 5 時間前 | – |
|---|---|---|---|---|---|
GridCraft | 7921 | +145 | Apache-2.0 | 6 時間前 | – |
MR Officeこのプロジェクト | 5992 | +1596 | AGPL-3.0 | 3 日前 | – |
ONLYOFFICE Desktop Editors | 5842 | +45 | AGPL-3.0 | 17 日前 | – |
DeckCraft | 5020 | +75 | Apache-2.0 | 6 時間前 | – |
ElixirOffice | 938 | +135 | AGPL-3.0 | 4 日前 | – |
ログイン または アカウントを作成 するとコメントできます。
まだコメントはありません。最初のコメントを書いてみませんか。
アピールしましょう。順位と評価が載ったライブカードで、自動的に更新されます。
小さいほうがよければ、次を追加: ?style=flat