# Nelson MCP — LibreOffice

A LibreOffice extension that runs an MCP HTTP server inside the office suite. Agents read and edit your open Writer, Calc, Draw and Impress files.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 34
- Author: quazardous
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/quazardous/nelson-mcp
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/nelson-mcp-libreoffice

## What it does

Nelson MCP is a LibreOffice extension that turns the suite into an MCP server. An HTTP service starts inside LibreOffice and speaks the Model Context Protocol, so an external AI client connects at `http://localhost:8766/mcp`. There is no copying text into a chat window and no exporting a file first — the agent works against the document you already have open.

The tool set is large, 145 across the board, but a client only sees what fits the active document type: 97 with Writer, 50 with Calc. Reading content, editing text, styles, tables, charts, headers and footers, search, track changes. Calc also gets `=PROMPT()`, which calls an LLM from a cell. Settings live under **Tools > Options > Nelson** — port, bind address, access token.

By default the server binds to `localhost`, which is all a client on your own machine needs. Anyone who can reach Nelson, though, can read and edit every open document and open any file your account can read. That is why it will not listen beyond localhost or start a tunnel until a token is set. The token goes in **Options > Nelson MCP > HTTP > Access Token** and takes effect without a restart.

## Requirements
- A remote (HTTP) option exists: the address is in the README

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- read an open Writer document and summarize its content
- build a report step by step in an empty document
- fix styles and formatting in the file that is already open
- call an LLM from a Calc cell with `=PROMPT()`
- run an MCP server over an office document without exporting it

## Example prompts
- Read the open Writer document and list its headings
- Add a heading, a table of quarterly numbers and a footer to the empty report
- Call an LLM from a Calc cell with `=PROMPT()` and put the answer in the next cell

## Similar
- [Excel MCP Server](https://affpapa.org/en/nevibecode/mcp/excel-mcp-server.md) — MCP server · ★ 4259
- [kordoc](https://affpapa.org/en/nevibecode/mcp/kordoc.md) — MCP server · ★ 2726
- [Power BI Authoring MCP Server (Local)](https://affpapa.org/en/nevibecode/mcp/power-bi-authoring-mcp-server-local.md) — MCP server · ★ 1247
- [Microsoft 365 MCP Server](https://affpapa.org/en/nevibecode/mcp/microsoft-365-mcp-server.md) — MCP server · ★ 1074
- [anymd](https://affpapa.org/en/nevibecode/mcp/anymd.md) — MCP server · ★ 1051
- [Docling MCP](https://affpapa.org/en/nevibecode/mcp/docling-mcp.md) — MCP server · ★ 777

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
