MCP server for accurate, structure-preserving read/write access to Excel (.xlsx) files
Connect Runs on your machine
claude mcp add xlsx-tools-mcp -e XLSX_MCP_FILES=<XLSX_MCP_FILES> -e XLSX_MCP_RECALC_TIMEOUT=<XLSX_MCP_RECALC_TIMEOUT> -e XLSX_MCP_LOCK_TIMEOUT=<XLSX_MCP_LOCK_TIMEOUT> -e XLSX_MCP_ALLOWED_DIRS=<XLSX_MCP_ALLOWED_DIRS> -e XLSX_MCP_AUTO_BACKUP=<XLSX_MCP_AUTO_BACKUP> -e XLSX_MCP_BACKUP_DIR=<XLSX_MCP_BACKUP_DIR> -- uvx xlsx-tools-mcp==0.3.2
{
"mcpServers": {
"xlsx-tools-mcp": {
"command": "uvx",
"args": [
"xlsx-tools-mcp==0.3.2"
],
"env": {
"XLSX_MCP_FILES": "<XLSX_MCP_FILES>",
"XLSX_MCP_RECALC_TIMEOUT": "<XLSX_MCP_RECALC_TIMEOUT>",
"XLSX_MCP_LOCK_TIMEOUT": "<XLSX_MCP_LOCK_TIMEOUT>",
"XLSX_MCP_ALLOWED_DIRS": "<XLSX_MCP_ALLOWED_DIRS>",
"XLSX_MCP_AUTO_BACKUP": "<XLSX_MCP_AUTO_BACKUP>",
"XLSX_MCP_BACKUP_DIR": "<XLSX_MCP_BACKUP_DIR>"
}
}
}
}
{
"mcpServers": {
"xlsx-tools-mcp": {
"command": "uvx",
"args": [
"xlsx-tools-mcp==0.3.2"
],
"env": {
"XLSX_MCP_FILES": "<XLSX_MCP_FILES>",
"XLSX_MCP_RECALC_TIMEOUT": "<XLSX_MCP_RECALC_TIMEOUT>",
"XLSX_MCP_LOCK_TIMEOUT": "<XLSX_MCP_LOCK_TIMEOUT>",
"XLSX_MCP_ALLOWED_DIRS": "<XLSX_MCP_ALLOWED_DIRS>",
"XLSX_MCP_AUTO_BACKUP": "<XLSX_MCP_AUTO_BACKUP>",
"XLSX_MCP_BACKUP_DIR": "<XLSX_MCP_BACKUP_DIR>"
}
}
}
}
{
"servers": {
"xlsx-tools-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"xlsx-tools-mcp==0.3.2"
],
"env": {
"XLSX_MCP_FILES": "<XLSX_MCP_FILES>",
"XLSX_MCP_RECALC_TIMEOUT": "<XLSX_MCP_RECALC_TIMEOUT>",
"XLSX_MCP_LOCK_TIMEOUT": "<XLSX_MCP_LOCK_TIMEOUT>",
"XLSX_MCP_ALLOWED_DIRS": "<XLSX_MCP_ALLOWED_DIRS>",
"XLSX_MCP_AUTO_BACKUP": "<XLSX_MCP_AUTO_BACKUP>",
"XLSX_MCP_BACKUP_DIR": "<XLSX_MCP_BACKUP_DIR>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
XLSX_MCP_FILESOptional | Comma or semicolon-separated alias=path pairs of workbooks to preload at startup |
XLSX_MCP_RECALC_TIMEOUTOptional | Timeout in seconds for the LibreOffice recalculation pass (default 60) |
XLSX_MCP_LOCK_TIMEOUTOptional | Timeout in seconds to acquire the per-file lock (default 10) |
XLSX_MCP_ALLOWED_DIRSOptional | Comma or semicolon-separated list of allowed directories to restrict file access (supports case-insensitivity on Windows) |
XLSX_MCP_AUTO_BACKUPOptional | Enable automatic backup creation before workbook mutations (default true) |
XLSX_MCP_BACKUP_DIROptional | Optional custom directory to store backup files instead of beside the target file |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 17 Oct 2026 |
| Last updated | 17 Oct 2026 |
| Registry name | io.github.ruriazz/xlsx-tools-mcp |
More productivity servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
