1. Conduid
  2. Developer Tools
  3. Libreoffice MCP Ubuntu
MCP server · Developer Tools

Libreoffice MCP Ubuntu

LibreOffice MCP Server for Claude Code - FastMCP bridge to control LibreOffice Writer

Unclaimed last commit 10 months ago devtools
34Low

Scored 6 months ago · breakdown

About Libreoffice MCP Ubuntu

Libreoffice MCP Ubuntu is an MCP server published by jwingnut in the Developer Tools category: libreOffice MCP Server for Claude Code - FastMCP bridge to control LibreOffice Writer.

The repository has 4 stars and 5 forks, with the last commit 10 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/jwingnut/libreoffice-mcp-ubuntu

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (9)

commentslist, add

Parameters not published.

cursorgoto_paragraph, goto_position, position, context

Parameters not published.

documentcreate, info, list, content, status

Parameters not published.

savesave, export

Parameters not published.

searchfind, replace, replace_all

Parameters not published.

selectionparagraph, range, delete, replace

Parameters not published.

structureoutline, paragraph, range, count

Parameters not published.

textinsert, format

Parameters not published.

track_changesstatus, enable, disable, list, accept, reject, accept_all, reject_all

Parameters not published.

Ask AI

✦

Ask AI about Libreoffice MCP Ubuntu

Powered by Claude · Grounded in docs

I know everything about Libreoffice MCP Ubuntu. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

LibreOffice MCP Server (Ubuntu)

FastMCP server that provides Claude Code with tools to control LibreOffice Writer through an HTTP API bridge.

Architecture

Claude Code (Ubuntu VM)
    │
    └── LibreOffice MCP Server (this)
            │
            │ HTTP requests (localhost:8765)
            ▼
        LibreOffice Writer
            │
            └── MCP Extension (HTTP API)

Components

1. MCP Server (libreoffice_mcp_server.py)

FastMCP server providing 9 consolidated tools for document manipulation:

Tool Actions Description
document create, info, list, content, status Document management
structure outline, paragraph, range, count Navigate document structure
cursor goto_paragraph, goto_position, position, context Cursor navigation
selection paragraph, range, delete, replace Text selection and manipulation
search find, replace, replace_all Find and replace (Track Changes aware)
track_changes status, enable, disable, list, accept, reject, accept_all, reject_all Revision tracking
comments list, add Comment management
save save, export Save and export documents
text insert, format Insert and format text

2. LibreOffice Extension (libreoffice-mcp-extension.oxt)

LibreOffice extension that provides an HTTP API on port 8765 for the MCP server to connect to.

Setup

1. Install the LibreOffice Extension

# Install via LibreOffice
unopkg add libreoffice-mcp-extension.oxt

Or: Tools → Extension Manager → Add → Select the .oxt file

2. Create Virtual Environment

uv venv
source .venv/bin/activate
uv pip install fastmcp httpx

3. Configure Claude Code

Add to .mcp.json:

{
  "mcpServers": {
    "libreoffice": {
      "command": "/home/vboxuser/projects/libreoffice-mcp/run_libreoffice_mcp.sh",
      "args": []
    }
  }
}

Usage

  1. Start LibreOffice Writer
  2. Start the MCP Server in LibreOffice: Tools → MCP Server → Start MCP Server
  3. Use Claude Code with LibreOffice tools

Example Commands

# Check connection
document(action="status")

# Create new document
document(action="create", doc_type="writer")

# Get document content
document(action="content")

# Insert text at cursor
text(action="insert", content="Hello, World!")

# Find and replace
search(action="replace_all", old="foo", new="bar")

# Enable track changes
track_changes(action="enable")

# Save document
save(action="save", file_path="/path/to/document.odt")

Integration with Zotero

This MCP server works alongside the Zotero MCP server for a complete academic writing workflow:

  1. LibreOffice MCP - Document editing and formatting
  2. Zotero MCP - Citation management with scannable cite markers
  3. Zotero ODF Plugin - Converts markers to live citations

Files

  • libreoffice_mcp_server.py - MCP server (FastMCP)
  • libreoffice-mcp-extension.oxt - LibreOffice extension
  • run_libreoffice_mcp.sh - Wrapper script for Claude Code

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Libreoffice MCP Ubuntu

How do I install Libreoffice MCP Ubuntu?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Libreoffice MCP Ubuntu safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Libreoffice MCP Ubuntu still maintained?

The last commit was 10 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.