MCP directory
X

xlsx-tools-mcp

by github.com/ruriazz · v0.4.0 · updated Nov 22, 2026

MCP server for accurate, structure-preserving read/write access to Excel (.xlsx) files

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx xlsx-tools-mcp==0.4.0

Environment variables

  • XLSX_MCP_FILES

    Comma or semicolon-separated alias=path pairs of workbooks to preload at startup

  • XLSX_MCP_RECALC_TIMEOUT

    Timeout in seconds for the LibreOffice recalculation pass (default 60)

  • XLSX_MCP_LOCK_TIMEOUT

    Timeout in seconds to acquire the per-file lock (default 10)

  • XLSX_MCP_ALLOWED_DIRS

    Comma or semicolon-separated list of allowed directories to restrict file access (supports case-insensitivity on Windows)

  • XLSX_MCP_AUTO_BACKUP

    Enable automatic backup creation before workbook mutations (default true)

  • XLSX_MCP_BACKUP_DIR

    Optional custom directory to store backup files instead of beside the target file

  • XLSX_MCP_RECALC_MODE

    How formula results are written back after LibreOffice recalculates: inject (default, keeps the file's structure) or roundtrip

  • XLSX_MCP_MAX_PART_BYTES

    Largest uncompressed XML part the server will parse, in bytes (default 268435456)

  • XLSX_MCP_RIPPLE

    Report other formula results changed by a write (default true)

  • XLSX_MCP_RIPPLE_MAX_CELLS

    Skip the ripple report above this many formula cells (default 200000)

  • XLSX_MCP_CHANGE_LOG

    Keep a change log inside the workbook on a very hidden sheet (default false)

  • XLSX_MCP_CHANGE_LOG_MAX_ROWS

    Maximum change-log rows kept per workbook (default 10000)

  • XLSX_MCP_CHANGE_LOG_MAX_CELLS_PER_OP

    Maximum per-cell change-log entries per tool call (default 500)

More MCP servers