프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

xlsx-tools-mcp

제작자: ruriazz버전 0.3.2i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.ruriazz/xlsx-tools-mcp

설치

개요

제작자가 쓴 설명(영어 원문)

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

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 문서, 시트 및 사무 업무

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: XLSX_MCP_FILES, XLSX_MCP_RECALC_TIMEOUT, XLSX_MCP_LOCK_TIMEOUT, XLSX_MCP_ALLOWED_DIRS, XLSX_MCP_AUTO_BACKUP, XLSX_MCP_BACKUP_DIR

필요한 것

  • PyPIPython의 uv 설치(uvx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "xlsx-tools": {
      "command": "uvx",
      "args": [
        "xlsx-tools-mcp"
      ],
      "env": {
        "XLSX_MCP_FILES": "your-value",
        "XLSX_MCP_RECALC_TIMEOUT": "your-value",
        "XLSX_MCP_LOCK_TIMEOUT": "your-value",
        "XLSX_MCP_ALLOWED_DIRS": "your-value",
        "XLSX_MCP_AUTO_BACKUP": "your-value",
        "XLSX_MCP_BACKUP_DIR": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add xlsx-tools --env XLSX_MCP_FILES=your-value --env XLSX_MCP_RECALC_TIMEOUT=your-value --env XLSX_MCP_LOCK_TIMEOUT=your-value --env XLSX_MCP_ALLOWED_DIRS=your-value --env XLSX_MCP_AUTO_BACKUP=your-value --env XLSX_MCP_BACKUP_DIR=your-value -- uvx xlsx-tools-mcp

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "xlsx-tools": {
      "command": "uvx",
      "args": [
        "xlsx-tools-mcp"
      ],
      "env": {
        "XLSX_MCP_FILES": "your-value",
        "XLSX_MCP_RECALC_TIMEOUT": "your-value",
        "XLSX_MCP_LOCK_TIMEOUT": "your-value",
        "XLSX_MCP_ALLOWED_DIRS": "your-value",
        "XLSX_MCP_AUTO_BACKUP": "your-value",
        "XLSX_MCP_BACKUP_DIR": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "xlsx-tools": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "xlsx-tools-mcp"
      ],
      "env": {
        "XLSX_MCP_FILES": "your-value",
        "XLSX_MCP_RECALC_TIMEOUT": "your-value",
        "XLSX_MCP_LOCK_TIMEOUT": "your-value",
        "XLSX_MCP_ALLOWED_DIRS": "your-value",
        "XLSX_MCP_AUTO_BACKUP": "your-value",
        "XLSX_MCP_BACKUP_DIR": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • XLSX_MCP_FILES env
    Comma or semicolon-separated alias=path pairs of workbooks to preload at startup
  • XLSX_MCP_RECALC_TIMEOUT env
    Timeout in seconds for the LibreOffice recalculation pass (default 60)
  • XLSX_MCP_LOCK_TIMEOUT env
    Timeout in seconds to acquire the per-file lock (default 10)
  • XLSX_MCP_ALLOWED_DIRS env
    Comma or semicolon-separated list of allowed directories to restrict file access (supports case-insensitivity on Windows)
  • XLSX_MCP_AUTO_BACKUP env
    Enable automatic backup creation before workbook mutations (default true)
  • XLSX_MCP_BACKUP_DIR env
    Optional custom directory to store backup files instead of beside the target file

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 ruriazz 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

문서, 시트 및 사무 업무 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 3538개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 3538개 중 60%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 3538개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

xlsx-tools-mcp, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.3.2)은 22일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Agent-Native Calendar

제작자: BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

클라우드에서 실행★ 7,620MIT2개월 전 업데이트
설치

Excel MCP Server

제작자: haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

내 컴퓨터에서 실행★ 4,276MIT7일 전 업데이트
설치

MCP Server for Excel

제작자: sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

내 컴퓨터에서 실행★ 847MIT4일 전 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

xlsx-tools-mcp

An MCP server for reading and writing Excel (.xlsx) files with high accuracy, while preserving the file's existing structure, styles, and formulas.


Overview

xlsx-tools-mcp exposes 29 Model Context Protocol (MCP) tools that give an LLM agent accurate, structure-preserving read and write access to Excel .xlsx files. It runs as a standard stdio MCP server: you install it and register it with an MCP client (Claude Code, OpenCode, etc.), and the client's agent can list sheets, read cell ranges, search values, aggregate data, write cells/formulas, manage sheets/rows/columns, apply styles, and force formula recalculation.

It is built around the principle that editing an existing workbook should not destroy what it doesn't touch.

Features
  • Structure-preserving writes via openpyxl — writes load the existing workbook and save it back, preserving styles, merged cells, comments, and any aspect the edit doesn't touch.
  • Never-stale formula results via LibreOffice recalculation — openpyxl writes formula *strings* but never evaluates them. After every value/formula write the server runs a headless LibreOffice pass to recompute real results, then returns errors_found — any Excel error values (#REF!, #DIV/0!, #N/A, …) produced by the recalculation.
  • Fast reads via python-calamine — a Rust-backed parser for accurate, fast type inference, with an automatic openpyxl fallback when you need formulas/styles/comments or when calamine can't parse the file.
  • pandas-based grouping/aggregation & querying — aggregate_sheet and query_sheet perform operations without destroying source structure, equipped with AST expression validation to block code injection.
  • Native Excel objects — create formal Excel Tables (create_table) with autofilter and styles, and native charts (create_chart for bar, line, pie, scatter).
  • Sheet lifecycle & formatting — rename sheets (rename_sheet), duplicate sheets with styles intact (copy_sheet), clear ranges (clear_range), and auto-fit column widths (autofit_columns).
  • Cross-platform reliability (Windows, macOS, Linux) — case-insensitive path confinement, comma or semicolon ; environment delimiters, safe atomic file replacement with transient lock retry (WinError 32 / antivirus defense), and silent headless recalculation without window flicker.
  • Per-file locking — concurrent tool calls (or other processes) touching the same workbook are serialized via a sibling .lock file (filelock), so writes never interleave and corrupt the file.
  • Path confinement — XLSX_MCP_ALLOWED_DIRS (comma or semicolon-separated) restricts all reads and writes to specific directories. If set, any attempt to access a file outside these boundaries raises AccessDeniedError. Case-insensitive path comparisons and multi-drive paths on Windows are supported.
  • Auto-backup & restore — Write tools automatically create a .bak sibling file before modifying the workbook if backup=True (which defaults to XLSX_MCP_AUTO_BACKUP=true). Use restore_backup to atomically revert changes.
  • Formula injection guard — write_cells and append_rows reject formulas containing WEBSERVICE, HYPERLINK, INDIRECT, RTD, CALL, REGISTER, or DDE commands (|) by default to prevent data exfiltration or malicious links. Pass allow_external_formulas=True to bypass this check.
  • XML-bomb protection — the defusedxml package is an automatic dependency; openpyxl detects it and uses its hardened XML parser, so hostile xlsx XML can't expand into resource exhaustion.
  • Preload files at startup — set XLSX_MCP_FILES to preload one or more workbooks (comma or semicolon-separated); tools can then be called with path omitted or with a short alias instead of a full filesystem path.

Download Stats

Live via pypistats.org, non-mirror downloads. These count download events, not unique users or installs — one user can trigger many downloads (CI, reinstalls, Docker rebuilds, mirrors).


Architecture

┌──────────────────────── Supervisor (MCP transport, stdio)

│ src/xlsx_tools_mcp/server.py 29 MCP tools + instructions │ src/xlsx_tools_mcp/settings.py env vars, preloaded files, path resolution │ src/xlsx_tools_mcp/locking.py per-file .lock serialization │ src/xlsx_tools_mcp/errors.py domain error types │ src/xlsx_tools_mcp/recalc.py LibreOffice headless recalc + error scanning │ ├─ Read path │ src/xlsx_tools_mcp/io/reader.py calamine primary → openpyxl fallback │ src/xlsx_tools_mcp/io/transform.py pandas aggregation on read results │ └─ Write path src/xlsx_tools_mcp/io/writer.py openpyxl → LibreOffice recalc → scan errors

The io layer (io/) is deliberately decoupled from the MCP transport (server.py). Each MCP tool is a thin wrapper that resolves the target path, takes the per-file lock, and calls one io-layer function. This keeps the core logic independent of MCP, so it can be tested directly (see tests/).

The recalculation tradeoff

After a write that touches cell values or formulas, the server runs soffice --headless --convert-to xlsx on the file so every formula gets a real computed value. This round-trip recomputes formulas but re-exports the whole workbook — it is a tradeoff, not a guarantee of bit-perfect preservation. Features that openpyxl would otherwise preserve may not survive identically: pivot tables, charts, data validation, some formats, and some defined names.

If you're working on a structurally complex workbook where that risk matters, you can pass recalculate=False on the value/formula-writing tools (write_cells, append_rows, insert_rows, delete_rows, insert_columns, delete_columns) to save with openpyxl only and skip the round-trip entirely.


Requirements

  • Python ≥ 3.10
  • LibreOffice — *optional but recommended*. Needed only for formula recalculation. Without it, writes still succeed (saved via openpyxl) but formulas are not recomputed and a warning is returned in the message field.

Install LibreOffice:

# macOS

brew install --cask libreoffice

Debian / Ubuntu

sudo apt-get install -y libreoffice-calc

Windows

winget install TheDocumentFoundation.LibreOffice

The server finds LibreOffice by checking soffice / libreoffice on PATH, the standard macOS install location (/Applications/LibreOffice.app/Contents/MacOS/soffice), and standard Windows paths (%ProgramFiles%\LibreOffice\program\soffice.exe, etc.). On Windows, headless recalculation runs silently without window flicker (CREATE_NO_WINDOW) and with isolated user profiles.


Installation

The server speaks stdio transport (standard MCP): after installation it waits for an MCP client to connect and call tools. You don't usually run it yourself; you register it with a client.

1. From PyPI via uvx (recommended — no clone)
uvx xlsx-tools-mcp

uvx fetches and runs the published package without polluting your project. This is the simplest way to power up an MCP client (see configuration snippets below).

2. From source
git clone https://github.com/ruriazz/xlsx-tools-mcp.git

cd xlsx-tools-mcp uv sync

run the server (useful for local dev / debugging):

uv run xlsx-tools-mcp

3. Via pip
pip install xlsx-tools-mcp

This installs the console entry point, so you can run the server directly:

xlsx-tools-mcp

Configuration for MCP clients

The simplest registration for every client uses uvx xlsx-tools-mcp (no clone, always the published version).

Tip for Windows: In JSON client configuration files (.mcp.json, opencode.json), use forward slashes (e.g. "C:/path/to/data.xlsx") or escaped backslashes (e.g. "C:\\\\path\\\\to\\\\data.xlsx") to prevent JSON escape sequence errors.

Claude Code
claude mcp add xlsx-tools-mcp -- uvx xlsx-tools-mcp

Or via .mcp.json in your project:

{

"mcpServers": { "xlsx-tools-mcp": { "command": "uvx", "args": ["xlsx-tools-mcp"] } } }

OpenCode

In opencode.json (project) or ~/.config/opencode/opencode.json (global):

{

"mcp": { "xlsx-tools-mcp": { "type": "local", "command": ["uvx", "xlsx-tools-mcp"], "enabled": true } } }

When running from a source clone

If you cloned the repo instead of installing from PyPI, point the client at your local checkout by swapping uvx xlsx-tools-mcp for the dynamic uv run form (use the absolute path to the clone):

Claude Code `.mcp.json`:

{

"mcpServers": { "xlsx-tools-mcp": { "command": "uv", "args": ["--directory", "/absolute/path/to/xlsx-reader", "run", "xlsx-tools-mcp"] } } }

OpenCode:

{

"mcp": { "xlsx-tools-mcp": { "type": "local", "command": ["uv", "--directory", "/absolute/path/to/xlsx-reader", "run", "xlsx-tools-mcp"], "enabled": true } } }

Replace /absolute/path/to/xlsx-reader with the actual location of your clone.


Preloading files (XLSX_MCP_FILES)

Set the XLSX_MCP_FILES environment variable in the MCP server config `env` section (not your interactive shell — the server is launched by the client) to preload workbooks at startup. Format: comma- or semicolon-separated alias=absolute/path entries, or bare absolute paths:

XLSX_MCP_FILES=name=/abs/path/to/name.xlsx,report=/data/report.xlsx

Bare paths get an alias defaulting to the filename:

XLSX_MCP_FILES=/abs/path/to/sales.xlsx

With alias/filename as the alias:

  • One file configured → every tool can be called with path omitted entirely.
  • Multiple files configured → pass the alias (or filename) as path.
  • list_configured_files() returns the alias → absolute-path mapping.
  • Raw absolute and relative paths still work for files you didn't preload.

Claude Code — `.mcp.json` with preloading:

{

"mcpServers": { "xlsx-tools-mcp": { "command": "uvx", "args": ["xlsx-tools-mcp"], "env": { "XLSX_MCP_FILES": "report=/data/report.xlsx,sales=/data/sales.xlsx" } } } }

OpenCode with preloading:

{

"mcp": { "xlsx-tools-mcp": { "type": "local", "command": ["uvx", "xlsx-tools-mcp"], "env": { "XLSX_MCP_FILES": "report=/data/report.xlsx,sales=/data/sales.xlsx" }, "enabled": true } } }


Tool reference

All 29 tools. Unless noted, path accepts a filesystem path, a preloaded alias/filename, or may be omitted when exactly one file is preloaded. create_workbook is the exception — its path is required because a new file is never preloaded.

Response shape (all write tools): every write tool returns {"saved": bool, "recalculated": bool, "errors_found": list, "message": str}. When non-empty, errors_found is a list of {"sheet": "...", "cell": "B2", "error": "#DIV/0!"}.

Inspect / Read
ToolDescription

| list_configured_files() | List files preloaded at startup via XLSX_MCP_FILES, as an alias → absolute-pa

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기