An MCP server inside LibreOffice: agents read and edit your open Writer and Calc documents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
A LibreOffice extension that turns your documents into an MCP server. External AI clients connect over HTTP and get full access to document tools β reading, editing, navigating, formatting, and more.
Works with any MCP-compatible client: Claude Code, OpenCode, Goose, ollmcp, etc.
Nelson MCP runs an HTTP server inside LibreOffice and speaks the Model Context Protocol. AI agents connect to it and use tools to interact with your open document β no copy-paste, no file export.
An agent writes a quarterly report into an empty Writer document, one tool call at a time:

The finished report: the content as Markdown, heading colours with style_set, a shaded table, a Page {page} of {pages} footer, and a comment on the hiring line. The Nelson MCP sidebar logs every call. Select a call to see its caller, status, duration and parameters.

Everything is set in Tools > Options > Nelson. For example, the HTTP page sets the port, the bind address and the access token:

=PROMPT() β call an LLM directly from a spreadsheet cell.oxt from the releases pagehttp://localhost:8766/mcp)Once installed, point your MCP client at the server:
Open a document in LibreOffice, then ask your AI client to read or edit it.
For AI agents: see QUICKSTART.md β a step-by-step guide for LLM agents on how to discover documents, navigate structure, and use tools effectively.
An agent doesn't have to stop and ask you to open Options. With the config API switched on, it reads and changes Nelson's settings itself, over the same HTTP server, and changes apply at once. For example, it can:
Switch it on in Tools > Options > Nelson > Http > Enable Config API, then:
Add -H 'Authorization: Bearer <token>' once an access token is set.
The API tunes how Nelson behaves. It can't undo what protects you. These settings are reserved to Options, and a request that touches one is refused with 403 and changes nothing:
http.*: the token, the address, allowed origins, SSL, and the config API switch itself;tunnel.* and debug.*;launcher.*: the commands Nelson runs;*.instances: the folders tools can reach, and the AI providers' endpoints and keys;core.force_track_changes.Secrets such as the token and API keys read back as ***.
Whoever can talk to Nelson can read and edit every document open in LibreOffice, and open any file your account can read. What stands between that and other people:
| Situation | Protection |
|---|---|
| Default: local only | The server binds to localhost. MCP clients on your machine need nothing. |
| Web pages in your browser | Refused. A page you visit cannot call localhost:8766: browser origins are rejected unless you list them in Allowed Browser Origins. |
| An access token is set | Every request must carry it β Authorization: Bearer <token>, or ?token=<token> for clients that cannot set a header. The built-in launchers pass it for you. |
| Reachable from the network, or through a tunnel | Nelson refuses to bind anywhere but localhost, and refuses to start a tunnel, until a token is set. |
Set the token in Options > Nelson MCP > HTTP > Access Token; it applies without a restart. The config API can't change it or any other protective setting (see above), but it still reads and changes the rest: keep it and the debug API off on any machine that is reachable from elsewhere.
Before exposing Nelson through a tunnel, read the warning at the top of
docs/howto/connect-chatgpt-tailscale.md.
Around 30 modules; the main ones:
| Module | Description |
|---|---|
core | Document access, config, events, formatting |
doc | Tools common to every document type β open, save, close, export, print, undo/redo, hyperlinks |
writer | Content editing, comments, styles, tables, images, headers/footers, change tracking |
writer.nav | Heading tree, bookmarks, proximity navigation |
writer.index | Full-text search with Snowball stemming |
calc | Cells, sheets, formulas, charts, conditional formatting, comments |
draw | Shapes, pages, slides, placeholders, master slides, transitions (Draw and Impress) |
images / documents | Image and document gallery providers (browse and reuse existing assets) |
ai_images | AI image generation and editing (Stable Diffusion, OpenAI, AI Horde) |
ai | AI text providers, behind the Calc =PROMPT() function |
launcher | Launch Claude Code, Gemini CLI or OpenCode from LibreOffice |
panel | Sidebar panels β MCP action log, running jobs |
batch | Multi-tool execution with variable chaining |
http | Shared HTTP server with optional SSL |
mcp | MCP JSON-RPC protocol handler |
tunnel | Tunnel manager (ngrok, Cloudflare, bore, Tailscale) |
Nelson ships a lot of tools, but a client never sees all of them, and most of the narrowing happens on its own. In order of how much they cut:
| Lever | What it does | Where |
|---|---|---|
| Document type | The tool list follows the active document β about 97 tools for Writer, 50 for Calc, out of 145. Automatic, and clients are notified when it changes | nothing to configure |
| Unconfigured features hide themselves | Gallery and AI-image tools disappear entirely until you configure a gallery or an image provider. Launchers and tunnels expose no tools at all | nothing to configure |
| Custom endpoints | Expose exactly the tools you choose on their own URL, e.g. 8 tools on /mcp/minimal. The surest way to keep a small model on the rails | Options > Nelson MCP > MCP |
| Presets | Ready-made endpoint tool lists: minimal, writer-edit, writer-read, calc, gallery | Options > Nelson MCP > MCP |
| Feature switches | Turn off the MCP server, the HTTP config API, or the debug API outright | Options, per module |
| Provider selection | Pick which tunnel, launcher or AI provider is used | Options, per module |
| Startup scanning | Stop the image and document folder indexes rescanning at startup | Options > gallery modules |
So a Calc user is already down to 48 tools without touching anything, and a custom endpoint takes that to whatever you like.
No reviews yet β be the first to share how this listing worked for you.
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/nelson-mcp-libreoffice)<a href="https://allmcps.com/mcp/nelson-mcp-libreoffice"><img src="https://allmcps.com/api/badge/nelson-mcp-libreoffice?style=directory" alt="Nelson MCP β LibreOffice on AllMCPs" /></a>