Skip to main content
Glama
Excel MCP Server
by negokaz

Excel MCP-сервер

Версия НПМ значок кузнеца

Сервер Model Context Protocol (MCP), который считывает и записывает данные MS Excel.

Функции

  • Чтение/запись текстовых значений

  • Чтение/запись формул

  • Создать новые листы

🪟Только для Windows:

  • Редактирование в реальном времени

  • Захват изображения экрана с листа

Более подробную информацию смотрите в разделе «Инструменты» .

Related MCP server: MCP Sheet Parser

Требования

  • Node.js 20.x или более поздняя версия

Поддерживаемые форматы файлов

  • xlsx (книга Excel)

  • xlsm (книга с поддержкой макросов Excel)

  • xltx (шаблон Excel)

  • xltm (шаблон Excel с поддержкой макросов)

Установка

Установка через NPM

excel-mcp-server устанавливается автоматически путем добавления следующей конфигурации в конфигурацию серверов MCP.

Для Windows:

{
    "mcpServers": {
        "excel": {
            "command": "cmd",
            "args": ["/c", "npx", "--yes", "@negokaz/excel-mcp-server"],
            "env": {
                "EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
            }
        }
    }
}

Для других платформ:

{
    "mcpServers": {
        "excel": {
            "command": "npx",
            "args": ["--yes", "@negokaz/excel-mcp-server"],
            "env": {
                "EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
            }
        }
    }
}

Установка через Smithery

Чтобы автоматически установить Excel MCP Server для Claude Desktop через Smithery :

npx -y @smithery/cli install @negokaz/excel-mcp-server --client claude

excel_describe_sheets

Вывести список всех данных листов указанного файла Excel.

Аргументы:

  • fileAbsolutePath

    • Абсолютный путь к файлу Excel

excel_read_sheet

Считывание значений из таблицы Excel с разбивкой на страницы.

Аргументы:

  • fileAbsolutePath

    • Абсолютный путь к файлу Excel

  • sheetName

    • Имя листа в файле Excel

  • range

    • Диапазон ячеек для чтения в таблице Excel (например, «A1:C10»). [по умолчанию: первый диапазон разбиения на страницы]

  • knownPagingRanges

    • Список уже прочитанных диапазонов страниц

  • showFormula

    • Показывать формулу вместо значения

excel_screen_capture

[Только для Windows] Сделайте снимок экрана листа Excel с разбивкой на страницы.

Аргументы:

  • fileAbsolutePath

    • Абсолютный путь к файлу Excel

  • sheetName

    • Имя листа в файле Excel

  • range

    • Диапазон ячеек для чтения в таблице Excel (например, «A1:C10»). [по умолчанию: первый диапазон разбиения на страницы]

  • knownPagingRanges

    • Список уже прочитанных диапазонов страниц

excel_write_to_sheet

Запишите значения в таблицу Excel.

Аргументы:

  • fileAbsolutePath

    • Абсолютный путь к файлу Excel

  • sheetName

    • Имя листа в файле Excel

  • newSheet

    • Создайте новый лист, если значение true, в противном случае запишите на существующий лист.

  • range

    • Диапазон ячеек для чтения на листе Excel (например, «A1:C10»).

  • values

    • Значения для записи в таблицу Excel. Если значение — это формула, оно должно начинаться с "="

excel_create_table

Создайте таблицу на листе Excel

Аргументы:

  • fileAbsolutePath

    • Абсолютный путь к файлу Excel

  • sheetName

    • Имя листа, на котором создана таблица

  • range

    • Диапазон должен быть таблицей (например, «A1:C10»)

  • tableName

    • Имя таблицы, которая будет создана

excel_copy_sheet

Копировать существующий лист на новый лист

Аргументы:

  • fileAbsolutePath

    • Абсолютный путь к файлу Excel

  • srcSheetName

    • Имя исходного листа в файле Excel

  • dstSheetName

    • Имя листа для копирования

Вы можете изменить поведение сервера MCP с помощью следующих переменных среды:

EXCEL_MCP_PAGING_CELLS_LIMIT

Максимальное количество ячеек, которые можно прочитать за одну операцию постраничного просмотра.
[по умолчанию: 4000]

Лицензия

Авторские права (c) 2025 Казуки Негоро

excel-mcp-server выпущен под лицензией MIT

Available Tools

6 tools
excel_copy_sheetB
Destructive

Copy existing sheet to a new sheet

Inputs: dstSheetName (required), fileAbsolutePath (required), srcSheetName (required).

excel_create_tableA
Destructive

Create a table in the Excel sheet

Inputs: fileAbsolutePath (required), sheetName (required), tableName (required), range.

excel_describe_sheetsB
Destructive

List all sheet information of specified Excel file

Inputs: fileAbsolutePath (required).

excel_format_rangeB
Destructive

Format cells in the Excel sheet with style information

Inputs: fileAbsolutePath (required), range (required), sheetName (required), styles (required).

excel_read_sheetB
Destructive

Read values from Excel sheet with pagination.

Inputs: fileAbsolutePath (required), sheetName (required), range, showFormula, +1 more.

excel_write_to_sheetC
Destructive

Write values to the Excel sheet

Inputs: fileAbsolutePath (required), newSheet (required), range (required), sheetName (required), +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific Excel operations: copying sheets, creating tables, describing sheets, formatting ranges, reading data, and writing data. There is no overlap or ambiguity between these functions, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tool names follow a consistent 'excel_verb_noun' pattern (e.g., excel_copy_sheet, excel_create_table), using snake_case throughout. This predictable naming convention enhances readability and reduces cognitive load for agents.

    Tool Count4/5

    With 6 tools, the server is well-scoped for basic Excel operations, covering key tasks like reading, writing, formatting, and sheet management. It could benefit from additional tools for advanced features (e.g., formulas, charts), but the current set is reasonable and focused.

    Completeness4/5

    The tools provide solid coverage for core Excel workflows: reading and writing data, sheet management, formatting, and table creation. Minor gaps exist, such as lacking tools for formulas, charts, or cell manipulation (e.g., delete, merge), but agents can handle common tasks effectively with this surface.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server designed for AI assistants to directly process spreadsheet files, enabling them to read, display, modify, and save various table formats like CSV and Excel.
      3
      3
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI agents to freely operate Excel spreadsheets, providing tools for workbook creation, cell manipulation, formatting, formula handling, and data export.
      11
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to automate Microsoft Excel tasks such as reading/writing cells, formatting, creating charts, and managing sheets through natural language using the Model Context Protocol.
      1
      Apache 2.0