excel-cli — плагин для GitHub Copilot: работа с Excel из терминала
Агент создаёт и редактирует книги Microsoft Excel — формулы, Power Query, сводные таблицы, диаграммы и VBA — запуская команды excelcli в терминале.
MIT ★ 2 обновлён 2026-10-23
copilot plugin install excel-cli@awesome-copilotЧто делает excel-cli
Плагин даёт доступ к 424 операциям в 33 категориях: создание книг, редактирование диапазонов и таблиц, обновление запросов Power Query, выполнение DAX-запросов к модели данных, построение сводных таблиц и диаграмм, запуск VBA и управление подключениями. Агент вызывает excelcli, который управляет настоящим приложением Excel — все вычисления и функции книги обрабатывает сам Excel.
Требует Windows с установленным Excel 2016 или новее, Node.js 18 или новее и интерактивный сеанс рабочего стола. Код M и DAX остаётся на компьютере, если не включить флаги --format-m-code или --format-dax — они отправляют код на powerqueryformatter.com и daxformatter.com.
Плагин доступен в двух маркетплейсах: Awesome Copilot (встроенный в Copilot) и прямой репозиторий sbroenne/mcp-server-excel-plugins. Ставить надо из одного — обе копии вместе конфликтуют.
Какие задачи решает
- Создать книгу Excel с таблицей, формулами и форматированием
- Обновить запросы Power Query и сохранить результат
- Построить сводную таблицу и диаграмму по данным
- Выполнить DAX-запрос к модели данных
- Запустить VBA-макрос из книги
Примеры запросов агенту
- Создай трекер продаж с колонками Дата, Товар, Количество, Цена и Сумма
- Обнови запросы Power Query в
sales.xlsxи сохрани - Построй сводную таблицу по выручке регионов и добавь диаграмму
Как установить excel-cli
Команда из источника
copilot plugin install excel-cli@awesome-copilotПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы об excel-cli
Как установить excel-cli в GitHub Copilot?
Запусти copilot plugin install excel-cli@awesome-copilot в PowerShell. Плагин сразу готов к работе, отдельно ставить CLI не нужно.
Что делает excel-cli?
Даёт агенту 424 команды для создания и редактирования книг Microsoft Excel: формулы, Power Query, сводные таблицы, диаграммы и VBA. Работает через настоящее приложение Excel.
Какие требования у excel-cli?
Windows с Excel 2016 или новее, Node.js 18 или новее и активный сеанс рабочего стола. PowerShell 5.1 не подходит — нужна версия 7.4 или выше, если запускаешь через bin\start-cli.ps1.
Исходный текст
excel-cli · MIT
# Excel CLI Plugin **Let your coding agent create and update Microsoft Excel workbooks from the terminal.** Your agent runs `excelcli` commands and reads built-in help when needed. ExcelMcp operates the actual Excel application, so Excel handles calculations and workbook features. ## Requirements - GitHub Copilot CLI or Claude Code - Windows with desktop Excel 2016 or later - Node.js 18 or later with `npx` - PowerShell 7.4 or later (`pwsh`) when using `bin\start-cli.ps1`; Windows PowerShell 5.1 is not supported ExcelMcp runs in an interactive desktop session. ## What you can ask your agent to do | Request | Result | | --- | --- | | "Create a sales tracker with Date, Product, Quantity, Unit Price, and Total columns." | A workbook with a table and formulas. | | "Create a PivotTable showing revenue by region, then add a chart." | A summary and chart built in Excel. | | "Refresh the Power Query queries in this workbook and save it." | Updated query results saved in the workbook. | | "Put this data into a worksheet and format the totals." | Formatted data ready to read. | ## Features The CLI provides 33 feature command categories with 424 operations. - **Workbooks and data:** create, open, save, and close workbooks; edit ranges, tables, and formulas. - **Analysis:** refresh Power Query, query the Data Model with DAX, and build PivotTables and slicers. - **Reports:** create and format charts, worksheets, and conditional formatting. - **Automation:** manage connections, run VBA, and automate Excel windows. - **Protected workbooks:** detect IRM/AIP protection and open Excel visibly for sign-in. - **Sessions:** keep a workbook open across commands so the agent can work step by step. See the [complete feature reference](https://excelmcpserver.dev/features/). ## Privacy M and DAX code stays on your computer by default. If you set `--format-m-code` or `--format-dax` to `true`, the corresponding code is sent to powerqueryformatter.com or daxformatter.com. Only turn it on when you want to send code to those services. ## Support - [Documentation](https://excelmcpserver.dev/) - [Issues](https://github.com/sbroenne/mcp-server-excel/issues) - MIT License ## Install Install from [Awesome Copilot](https://github.com/github/awesome-copilot), the default marketplace in current Copilot clients: ```powershell copilot plugin install excel-cli@awesome-copilot ``` Or use the direct marketplace: ```powershell copilot plugin marketplace add sbroenne/mcp-server-excel-plugins copilot plugin install excel-cli@mcp-server-excel-plugins ``` Choose one marketplace for this plugin; do not install both copies. For Claude Code, use the direct marketplace: ```powershell claude plugin marketplace add sbroenne/mcp-server-excel-plugins claude plugin install excel-cli@mcp-server-excel-plugins ``` The plugin launches `excelcli` automatically; no separate installation or PATH change is needed. To use the CLI without this plugin, follow the [CLI installation guide](https://excelmcpserver.dev/installation-cli/).
© Stefan Brönner · MIT · sbroenne/mcp-server-excel-plugins