mcp-libreoffice-calc
An MCP server that enables spreadsheet operations on LibreOffice Calc workbooks through UNO, including reading, writing, formatting, and hyperlink management.
README
MCP LibreOffice Calc
MCP server for controlling LibreOffice Calc workbooks through UNO.
This project focuses on reliable spreadsheet operations against an already-open workbook, or a workbook opened explicitly by the server. It avoids silent file rewrites outside LibreOffice and provides practical tools for writing cells, ranges, hyperlinks, and reusable visual templates.
Demo

The demo shows the create_gpu_purchase_dashboard_live tool rebuilding the dashboard from scratch through UNO: creating the sheet, styling and filling each section live, and adding native Calc charts, so every change is visible in LibreOffice.
A higher-quality version is available at assets/demo.mp4.
Available Tools
libreoffice_status: check the UNO connection and list reachable Calc workbooks.open_calc: open a Calc or Excel workbook through LibreOffice.ensure_calc_document: reuse an already-open workbook, or open it explicitly if missing.list_calc_documents: list Calc workbooks reachable through UNO.list_sheets: list workbook sheets.add_sheet: add a sheet if it does not already exist.remove_sheet: remove a sheet, while refusing to delete the last sheet.activate_sheet: activate a sheet and select a cell for live visual workflows.read_cell: read a cell value and formula.write_cell: write one cell directly.write_range: write a 2D table from a starting cell.set_hyperlink: add a Ctrl-click hyperlink to a Calc cell.set_internal_hyperlink: add a Ctrl-click hyperlink to another sheet/cell.link_url_range: convert plain-text URLs in a range into Ctrl-click hyperlinks.apply_calc_template: apply a visual template, includingpc_nostalgia.create_gpu_purchase_dashboard_live: build the GPU purchase dashboard through UNO for live demos, including native Calc charts.auto_fit_sheets: adjust column widths, row heights, and wrapping.save_document: save the workbook.
Build the live GPU purchase dashboard, including charts:
create_gpu_purchase_dashboard_live(
path="/path/to/workbook.xlsx",
dashboard_sheet="Dashboard_live",
recreate=true,
pause_seconds=0.25
)
Manual Start
cd /home/maxime/.local/share/mcp-libreoffice-calc
uv run python src/main.py
The server starts or joins a LibreOffice UNO listener on 127.0.0.1:2002.
Code Configuration
Example ~/.code/config.toml entry:
[mcp_servers.libreoffice_calc]
command = "uv"
args = ["run", "python", "/home/maxime/.local/share/mcp-libreoffice-calc/src/main.py"]
cwd = "/home/maxime/.local/share/mcp-libreoffice-calc"
[mcp_servers.libreoffice_calc.env]
PYTHONPATH = "/home/maxime/.local/share/mcp-libreoffice-calc/src:/usr/lib/python3.14/site-packages"
Notes
LibreOffice must be reachable through UNO to control an already-open workbook. The recommended flow is to call ensure_calc_document once, then use add_sheet, write_cell, write_range, set_hyperlink, or link_url_range.
MCP servers load tool definitions at process startup. Restart or reload your MCP client after changing server code or configuration.
Files copied from the original base project remain covered by their original license. The main server in src/ has been rewritten for this focused Calc workflow.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。