ExcelMCP
ExcelMCP
Живой интеллектуальный слой для работы с Excel, предназначенный для AI-агентов. Укажите папку OneDrive, и ваш агент сможет задавать вопросы об этих таблицах на обычном английском языке, опираясь на текущие данные.
Решаемая проблема
Большинство интеграций с электронными таблицами работают по принципу копирования ваших данных в другое место. Они загружают книгу, разбивают на фрагменты, встраивают значения ячеек и сохраняют всё в векторной базе данных. С этого момента ваш агент отвечает на вопросы, основываясь на снимке данных. Кто-то обновляет складскую ведомость в 9 утра, а агент всё ещё цитирует данные за вторник.
ExcelMCP разделяет проблему на две части.
Структура кэшируется. Имена файлов, имена листов, заголовки столбцов, расположение строки заголовка, какие столбцы содержат даты, как листы связаны между собой — плюс небольшая выборка уникальных меток для каждого столбца с низкой кардинальностью, что позволяет правильно маршрутизировать запросы между сотнями почти одинаковых листов. Это редко меняется, хранить дёшево, и именно это нужно агенту, чтобы знать что запрашивать. (Выборка меток — единственное место, где структура касается значений; точные границы описаны в разделе Что попадает на диск.)
Данные никогда не кэшируются. Каждый вызов инструмента, возвращающий число, обращается к Microsoft Graph API и получает данные в реальном времени. Нет кэша данных, который мог бы устареть, нет задачи синхронизации, которая могла бы отстать, и ни один ответ никогда не обслуживается с диска.
Каждый ответ содержит временную метку metadata.fetched_at и флаг is_cached: false, чтобы модель могла видеть, что она смотрит на свежие данные.
Related MCP server: Microsoft 365 MCP Server
Как это работает
Вопрос на естественном языке встраивается, сопоставляется с описаниями листов по косинусному сходству, затем переранжируется по лексическому совпадению с именами столбцов и выборочными значениями — это позволяет сохранять осмысленность маршрутизации, когда двадцать книг используют одну схему. Эти листы (и только они) загружаются в реальном времени. Фильтрация и агрегация затем выполняются в pandas на только что загруженном фрейме. Вопросы с одним значением обходят конвейер строк целиком: lookup читает один ключевой столбец и одну строку и возвращает ячейку с её происхождением.
Требования
Python 3.10 или новее
Учётная запись Microsoft 365 с OneDrive
uv, или обычный pip, если предпочитаете
Установка
Из корня репозитория:
git clone https://github.com/Karunya-Muddana/ExcelMCP.git
cd ExcelMCP
uv sync # install dependencies
uv build # build the wheel
pip install dist/excelmcp-0.3.0-py3-none-any.whlИли установка прямо из исходников без сборки:
pip install .Нет этапа компиляции и не нужно собирать нативные расширения. Векторный поиск работает на основе косинусного сканирования NumPy, а не hnswlib, специально для того, чтобы pip install работал на машине без набора инструментов C++.
Настройка
Запустите мастер один раз:
excelmcp-setupОн проводит через четыре шага:
Вход через Microsoft device-flow. Вы получаете код, вставляете его в браузер, кэш токенов сохраняется в
~/.excelmcp/token.jsonс правами0600.Выбор папки OneDrive для индексации, например
/ERP.Сканирование всех
.xlsxв этой папке для построения графа структуры и встраиваний.Обнаружение уже установленных на вашем компьютере AI-агентов и запись конфигурации для выбранных.
Агенты, которые можно настроить автоматически
Агент | Файл конфигурации |
Claude Code |
|
Claude Desktop |
|
Cursor |
|
Windsurf |
|
Gemini CLI |
|
Codex CLI |
|
VS Code (Copilot) | VS Code user |
Cline | extension |
Continue |
|
Goose |
|
Zed |
|
Hermes |
|
Существующие файлы конфигурации резервируются перед изменением. Если вашего агента нет в списке, мастер выводит точный блок JSON или TOML, который нужно вставить самостоятельно.
Другие команды мастера
excelmcp-setup list-agents # show what was detected
excelmcp-setup install --only cursor # register with one agent, skip the rescan
excelmcp-setup doctor # diagnose a broken install
excelmcp-setup uninstall # remove ExcelMCP from every agent config
excelmcp-setup --folder /ERP --yes # fully non-interactive
excelmcp-setup --dry-run # print the changes, write nothingИнструменты, доступные агенту
Инструмент | Сеть | Что делает |
| нет | Полная структура рабочей области: файлы, листы, столбцы, области таблиц, связи, варианты именования, возраст сканирования. Мгновенно. |
| нет | То же, сужено до одного файла, с приблизительным количеством строк на момент последнего сканирования. Мгновенно. |
| тяжёлая | Повторный обход OneDrive и перестроение структуры, выборочных значений, связей, встраиваний. |
| живая | Вопрос на естественном языке, маршрутизированный по векторному сходству плюс лексический переранжирование. |
| живая | Один вызов → одно значение ячейки с происхождением (файл/лист/ячейка) и сигналом уверенности. |
| живая | Одна адресованная ячейка за один запрос к Graph. |
| живая | Загрузить один лист, вернуть строки, соответствующие условиям. |
| живая | Загрузить один лист, сгруппировать и свернуть его, с |
| живая | Загрузить соответствующие листы из каждого файла, объединить в итог. |
| живая | Объединить два листа по ключевым столбцам, предложенным из известных связей. |
| живая | Знаковая сумма по типам транзакций — чистый остаток за один вызов. |
Два инструмента структуры бесплатны и мгновенны, так как читают локальный граф. Всё, что помечено как «живая», обращается к API при каждом вызове.
Использование
После регистрации сервера вы в основном просто общаетесь с агентом обычным образом. Под капотом он выполняет такие вызовы.
Сначала ориентировка. Агент всегда должен делать это перед тем, как угадывать имя столбца, поскольку никакие две компании не называют вещи одинаково:
get_workspace_graph(folder_path="/ERP")Задать вопрос, не зная, где находится ответ:
query("what are the top 10 products by sales value", folder_path="/ERP")Отфильтровать известный лист:
filter_sheet(
file_name="Inventory.xlsx",
sheet="Stock",
conditions={"Status": "Low", "Quantity": "<50"},
folder_path="/ERP",
sort_by="Quantity",
limit=100,
)Поддерживаемые операторы условий, все объединяются по И:
Форма | Значение |
| Точное совпадение — без учёта регистра и пробелов; передайте |
| Содержит, буквальная подстрока, не регулярное выражение |
| Больше чем (также |
| Граница даты, ISO-8601, работает с обнаруженными столбцами дат |
| Любое из перечисленных значений |
| Включительный диапазон, числовой или дата |
| Комбинированные границы |
| Проверка на null — пустые и пустые строки считаются null |
Несуществующее имя столбца или оператор вызывает ошибку, а не молча возвращает ноль строк, что является типом отказа, при котором агент уверенно сообщает неверную информацию. Когда условия законно не дают совпадений, ответ содержит zero_match_diagnostics — что каждое условие совпало само по себе, плюс до двадцати значений, фактически присутствующих в проблемном столбце — так что почти совпадение исправляется, а не сообщается как «нет данных».
Запросить одно число за один вызов:
lookup(query="contracted rate for Titanium Dioxide under the BESTEX contract",
folder_path="/Contracts")Ответ возвращается с происхождением — файл, лист, адрес ячейки, совпавшая строка — и полем уверенности. Несколько совпадающих строк возвращают ambiguous со всеми строками; листы, которые не согласуются, возвращают conflict со всеми версиями и без значения; опечатка в ключе возвращает нечёткие предложения. Инструмент никогда не возвращает голое число.
Группировка и свертка внутри одного файла:
aggregate(
file_name="Sales.xlsx",
sheet="Q1",
group_by="Region",
value_col="Revenue",
operation="sum",
folder_path="/ERP",
)Общий итог по одному листу во всех файлах рабочей области:
cross_file_aggregate(
sheet="Q1",
value_col="Revenue",
operation="sum",
folder_path="/ERP",
conditions={"Status": "Closed"},
)cross_file_aggregate возвращает разбивку по файлам вместе с общим итогом, а также skipped_files, когда файл не удалось прочитать, и unmatched_files — с кандидатами did_you_mean — для каждого файла, который не содержит точного имени листа. Таким образом, частичный итог виден как частичный, а не молча неверный, включая случай, когда лист называется Sales в одних файлах и Sales 2024 в других. Проверьте sheet_name_variants в get_workspace_graph перед агрегацией, чтобы увидеть эту фрагментацию заранее.
Руководство для агента
Установка сервера — это только половина дела. Папка agents/ охватывает другую половину: как подсказывать агенту, у которого есть эти инструменты, как подключать его к каждому хосту и что автоматизировать после того, как всё заработает.
Готовый системный промпт для пользовательских агентов, субагентов, | |
Промпты для копирования, сгруппированные по задачам: ориентация, прямые ответы, анализ, проверка, отчёты, качество данных. Завершается набором анти-промптов — формулировок, которые выглядят разумно, но стабильно приводят к неверным ответам. | |
Первая сессия, доказывающая, что цепочка работает от начала до конца, включая то, как самостоятельно убедиться, что данные действительно живые. | |
Что записывается в конфигурации каждого из двенадцати поддерживаемых хостов, как это проверить, особенности каждого хоста и как запустить сервер программно вообще без хоста. | |
Какой инструмент выбрать, как семантическая маршрутизация на самом деле выбирает лист, что нельзя выразить синтаксисом условий, и какие формы данных приводят к уверенным неверным ответам. | |
Расшифровка симптомов: от проблем с PATH и ошибок 403 до искажённых имён столбцов и удвоенных итогов. | |
Четыре готовых к запуску по расписанию процедуры: ежедневная проверка запасов, еженедельная сводка продаж, сверка на конец месяца, аудит качества данных. Каждая включает промпт, расписание и типичные проблемы. |
Встроенные ограничения сервера
Сервер поставляется с набором правил работы в инструкциях MCP, которые модель-хост читает перед первым вызовом. Они существуют, потому что именно так LLM ошибается в вопросах по электронным таблицам:
Никогда не предполагайте имя файла, листа или столбца. Узнавайте его из графа.
Никогда не суммируйте числа из разных файлов в уме. Вызывайте
cross_file_aggregateи позволяйте инструменту сделать это.Никогда не используйте
openpyxl,pandas.read_excelили локальную файловую систему. Файлы находятся не на этой машине.Никогда не суммируйте столбец количества в данных транзакционного типа «сырыми» — используйте
deriveс явным указанием типов транзакций.Столбцы с датами поступают в виде строк ISO-8601, уже преобразованных из серийных номеров сервером. Никогда не выполняйте арифметику с серийными номерами вручную.
Для получения одного значения вызывайте
lookupи ссылайтесь на возвращаемый источник; выводите результатыambiguousиconflictвместо выбора значения.Проверяйте поля
truncatedиtotal_matched, прежде чем утверждать, что результат полон.
Хосты, игнорирующие инструкции сервера, и пользовательские агенты, которые вы создаёте сами, должны иметь это указано в собственном промпте. См. agents/system-prompt.md.
Конфигурация
Переменная | По умолчанию | Назначение |
| встроенный | Идентификатор клиента приложения Azure AD |
|
| Арендатор. Используйте |
| не задан | Папка, используемая, когда вызов инструмента опускает |
|
| Максимальное количество одновременных запросов к Microsoft Graph по всем путям кода. |
Встроенный идентификатор клиента — это публичный клиент, используемый для потока с кодом устройства. Он не содержит секрета, виден в каждом запросе аутентификации по замыслу и безопасен для хранения в этом репозитории. Замените его на собственную регистрацию приложения, если хотите, чтобы экран согласия отображал название вашей организации.
Что попадает на диск
~/.excelmcp/
token.json MSAL token cache. Auth material only, written 0600.
graph.json Structure graph: item IDs, sheet names, column headers,
used-range dimensions, date column types, per-sheet
table regions, inferred and formula-declared
relationships — and sampled values (see below).
vectors.npy Embedded sheet descriptions for semantic routing.
metadata.json Labels and lexical terms tying each embedding to a sheet.
relationships.yaml Optional, written by you: declared join relationships.Честная версия утверждения об отсутствии кэша по состоянию на 0.3.0. Ни одна строка ваших данных, ни одна ячейка сетки и ни одно запрашиваемое значение не сохраняется на диске — каждый ответ всегда поступает из живого запроса. Есть одно намеренное исключение: graph.json хранит выборочные значения — до 50 различных текстовых меток на столбец с низкой кардинальностью (имена клиентов, статусы, названия материалов, единицы измерения), захваченные во время сканирования. Они существуют, чтобы сотни структурно идентичных листов были различимы при маршрутизации вопроса, чтобы lookup мог найти, на каком листе содержится «BESTEX», не загружая всё, и чтобы можно было выводить взаимосвязи на основе пересечения значений, а не предполагать их по именам столбцов. Это доказательства для маршрутизации, а не кэш данных: ничто никогда не отвечает на вопрос на их основе, и сканирование рабочего пространства полностью обновляет их. Граф также хранит на каждый лист отпечаток структуры (заголовки столбцов и адрес используемого диапазона) исключительно для обнаружения изменений, а также — новое в 0.3.0 — карту областей: диапазоны строк каждого тела таблицы на листе, полученные из диапазонов, на которые ссылаются собственные формулы SUM/COUNT/AVERAGE листа, плюс адреса, которые читает любая межлистовая формула. Это номера строк и адреса ячеек, а не содержимое; для их получения не считывается ни одно значение. Метка области (label), если присутствует, является вторым намеренным исключением наряду с выборочными значениями: несколько слов, прочитанных из ячейки-баннера раздела непосредственно над областью («NAPHTHALENE», «OLEUM 65%»), сохраняются, чтобы модель могла назвать, какую таблицу она имеет в виду, вместо того чтобы гадать по номерам строк. Это структурные метаданные, описывающие макет листа, а не данные строк — то же различие, которое уже проводят выборочные значения. Если что-то из этого превышает то, что вы хотите хранить на диске, не сканируйте эту папку; если хотите проверить границу, graph.json мал и читаем, так что посмотрите.
В Windows os.chmod переключает только бит «только для чтения», поэтому режим 0600 там является наилучшим усилием, а реальная защита — это ACL по умолчанию для каждого пользователя на %USERPROFILE%. В macOS и Linux режим применяется к временному файлу до записи в него какого-либо содержимого, поэтому токен никогда не существует даже кратковременно как доступный для чтения всем.
Тесты
# offline unit tests, no network and no credentials required
pytest tests/test_unit.py
# live integration tests against a workspace you have already scanned, opt in
EXCELMCP_TEST_FOLDER=/ERP pytest tests/test_live_integration.py -vНабор интеграционных тестов пропускает себя, когда EXCELMCP_TEST_FOLDER не задан, поэтому простой запуск pytest остаётся офлайн.
Структура проекта
agents/ prompts, host guides, and schedulable routines
auth.py MSAL device flow, token cache, proactive refresh
graph_client.py Graph API wrapper, 429 backoff, shared concurrency gate
structure.py Structure discovery, value sampling, relationship inference
embeddings.py FastEmbed vectors, NumPy cosine search, lexical rerank
query_engine.py Conditions, live fetch, aggregation, joins, derive
lookup.py Single-cell lookup pipeline and get_cell
ranges.py A1-notation range arithmetic
main.py FastMCP tool definitions and server entry point
cli.py Setup wizard, agent detection, config writing
agents.py Per agent config formats and file locations
storage.py Atomic writes, stderr logging, config directory handlingУчастие в разработке
Приветствуются issues и pull request'ы. Если вы добавляете поддержку другого агента, agents.py — единственный файл, который вам нужно трогать: добавьте AgentSpec с путём к конфигурации, формой записи и подсказкой для обнаружения.
Лицензия
MIT. См. LICENSE.
Available Tools
11 toolsaggregateA
Fetches a sheet LIVE and runs a grouped aggregation. Operations: sum, count, mean, min, max. group_by is one column name or a list of them. conditions filters rows before aggregating (same grammar as filter_sheet, including the object form). having filters the AGGREGATED rows afterwards, e.g. having={"Revenue": ">1000"} keeps only groups whose aggregate exceeds 1000. SINGLE FILE ONLY. For totals across multiple files you MUST use cross_file_aggregate instead — never use this tool and then manually add results across files. Get column names from get_workspace_graph first. Returns rows plus a truncated flag. If conditions matched zero rows, zero_match_diagnostics shows what each condition matched alone and the values actually present — correct the condition and retry.
Inputs: sheet (required), group_by (required), file_name (required), operation (required), +4 more. Returns: object
cross_file_aggregateA
MANDATORY for any total spanning more than one file. Fetches relevant sheets from ALL files in PARALLEL, applies filter conditions, returns the aggregate total.
WHEN YOU MUST CALL THIS:
Any total, sum, count, or average across multiple files
Any cross-file comparison or consolidation
Verifying a total you calculated from individual files
NEVER calculate cross-file totals by:
Adding individual filter_sheet results in your head
Using Python to sum numbers from separate tool calls
Guessing based on partial data
Always call this AND show per-file breakdown so the user can verify both agree. If they differ, flag it.
ONLY files whose sheet is named EXACTLY sheet are
included in the total. Files without that exact sheet
are listed in unmatched_files, with their actual sheet
names and did_you_mean candidates — they are NEVER
silently included. If the response has a warning,
skipped_files, or unmatched_files, surface that to the
user: the total may be incomplete. Check
sheet_name_variants in get_workspace_graph first to see
naming fragmentation before aggregating.
Inputs: sheet (required), operation (required), value_col (required), conditions, +1 more. Returns: object
deriveA
Computes a NET value over transaction types in one call: sum of sign * groupwise_sum(quantity_col) across the given components. This is how a stock figure like receipts + purchases − consumption − returns becomes ONE call with the arithmetic done in pandas, instead of five filter_sheet calls added up in your head (which RULE 3 forbids).
components is a list of {"conditions": {...same grammar as filter_sheet...}, "sign": 1 or -1, "label": "receipts"} conditions (optional) pre-filters the sheet before any component applies. The response includes a per-component breakdown with rows_matched. A component that matched ZERO rows is flagged and warned about — check the spelling of the transaction type before trusting the net.
Inputs: sheet (required), group_by (required), file_name (required), components (required), +3 more. Returns: object
filter_sheetA
Fetches a specific sheet LIVE from OneDrive and returns rows matching the given conditions. Always live — no cache. Use when you already know which file and sheet to query. Get column names from get_workspace_graph first.
Condition formats (string form): Exact match: {"ColumnName": "value"} Contains: {"ColumnName": "~value"} (literal, not regex) Comparisons: {"ColumnName": ">100"} (also >=, <, <=) Date bounds: {"Batch Date": ">=2026-01-01"} (ISO-8601)
Condition formats (object form, combinable): IN list: {"Status": {"in": ["Closed", "Shipped"]}} Range: {"Qty": {"between": [10, 500]}} Date range: {"Batch Date": {">=": "2026-01-01", "<": "2026-04-01"}} Null check: {"Notes": {"is_null": false}} Contains: {"Name": {"contains": "oxide"}}
Multiple conditions are ANDed together; multiple operators inside one object are ANDed too. An unknown column name or operator is an error, not an empty result.
MATCHING IS NORMALISED, NOT STRICT: exact string matches ignore case and surrounding whitespace ("closed" matches "Closed "), because Excel cells carry stray whitespace constantly. Pass exact_case=true for byte-for-byte matching. Contains (~) is case-insensitive. If zero rows match, the response includes zero_match_diagnostics showing what each condition matched on its own and the values actually present in the column — use it to correct a near-miss and retry instead of concluding the data does not exist. At most 1000 rows are returned; check the truncated and total_matched fields in the response.
Inputs: sheet (required), file_name (required), conditions (required), limit, +3 more. Returns: object
get_cellA
Reads EXACTLY ONE cell, LIVE, by address. One Graph request, tiny payload, no ambiguity. Use when the location is already known — follow-up questions, scheduled routines, anything where lookup or filter_sheet already established the address earlier. address is A1 notation ("B7") or the name of a workbook-scoped named range that resolves to one cell. Serial dates arrive converted to ISO-8601; check resolved_type. A multi-cell address is an error — use filter_sheet for ranges.
Inputs: sheet (required), address (required), file_name (required), folder_path. Returns: object
get_workspace_graphA
Returns the cached file structure — all filenames, sheet
names, column headers, and cross-sheet relationships
(inferred at scan time from matching column names plus
overlapping sampled values, merged with any the user
declared in ~/.excelmcp/relationships.yaml; each carries
a confidence score and its evidence).
INSTANT — makes no API call. Reads from local graph.json.
ALWAYS call this first at session start to orient yourself.
Shows you exactly which files exist, what sheets they have,
and what columns are in each sheet. The structure varies
for every company — never assume, always discover.
Also returns sheet_name_variants: groups of sheet names
that differ only in case or whitespace across files —
check it before any cross-file operation, because those
match by exact sheet name.
Each sheet carries a regions list: the table bodies found
in it, derived from the sheet's own SUM/COUNT formulas, in
absolute sheet rows. A sheet with more than one region holds
several separate tables (also listed in multi_region_sheets),
so a plain aggregate over it adds up blocks that were never
meant to be summed — read its unclaimed_rows and check which
region you mean before totalling anything.
layout_confidence is "unconfirmed" wherever the region map
came from formulas alone and nothing has verified it.
Use this before any filter_sheet call when unsure which
file or column to query.
Inputs: folder_path. Returns: object
inspect_fileA
Returns structural metadata for one specific file — sheet names, column headers, and each sheet's approx_row_count AS OF THE LAST SCAN (this tool makes no API call, so the count is not live; treat it as an order-of-magnitude hint, not a current figure). INSTANT — reads from cached graph.json. Use before filter_sheet when you need to confirm the exact column names available in a specific file.
Inputs: file_name (required), folder_path. Returns: object
join_sheetsA
Joins two sheets LIVE on key columns and returns the merged rows, with filter_sheet's truncation contract (total_matched, truncated, limit). Omit left_on/right_on to let the server pick keys from the workspace's known relationships — it uses a declared or high-confidence inferred relationship and REFUSES with the candidate list when confidence is low, rather than guessing. The keys actually used and their source are in data.keys. Key matching is normalised (case, whitespace, 45 vs 45.0); null keys never join. join_type: inner, left, right, outer. Colliding column names get _left/_right suffixes. Use this instead of stitching filter_sheet results together yourself.
Inputs: left_file (required), left_sheet (required), right_file (required), right_sheet (required), +5 more. Returns: object
lookupA
ONE-CALL semantic lookup: finds a single cell value anywhere in the workspace and returns it WITH PROVENANCE (file, sheet, cell address, the matched row) and a confidence signal. Reads only the key column and the matched row — never whole sheets.
Two ways to call it:
Natural language: lookup(query="contracted rate for Titanium Dioxide under the BESTEX contract"). The server resolves the key value against values sampled at scan time and picks the return column lexically. Works best when the query contains a literal value that appears in the data (a client, a material).
Explicit: lookup(key_column="Material", key_value= "Titanium Dioxide", return_column="Contracted Rate"). Use this when the query form reports it could not parse, or for values too rare to be sampled. scope={"file": ..., "sheet": ...} narrows the search.
READ confidence BEFORE using the value: "high" — single row matched; corroborating sheets (if any) agree. provenance.corroborated_by lists them. "ambiguous" — the key matched SEVERAL ROWS. value is null; every row is in alternatives. Never pick one silently. "conflict" — several sheets DISAGREE. value is null; every version is in alternatives. Surface the conflict to the user. found=false — key not found; suggestions holds fuzzy near-misses (retry with exact spelling), or ambiguity explains why routing failed. NEVER present a value from this tool without citing provenance.file, provenance.sheet and provenance.cell.
Inputs: query, scope, key_value, key_column, +2 more. Returns: object
queryA
Natural language question with automatic RAG routing. Embeds your question, retrieves candidate sheets by vector similarity, reranks them by lexical overlap with column names and sampled values, fetches the winners LIVE from OneDrive, and returns results. Use for exploratory questions when you do not know which specific file or sheet contains the answer. n_results controls how many sheets are fetched (default 5); min_score drops weak matches. CHECK data.routing: when routing_ambiguous is true the top candidates scored within a tie margin and the choice between them is effectively arbitrary — confirm with inspect_file or ask the user instead of trusting one. Including a distinctive literal value in the question (a client name, a material) strongly improves routing. Response metadata.fetched_at confirms this is live data. For known file/sheet combinations use filter_sheet instead.
Inputs: question (required), min_score, n_results, folder_path. Returns: object
scan_workspaceA
Rescans the OneDrive folder and rebuilds the structure index and embeddings. SLOW — makes many API calls. ONLY call when: new .xlsx files have been added to OneDrive, or existing sheet names or column headers have changed. DO NOT call this at session start. DO NOT call this before every query. The workspace is already indexed from setup. Use get_workspace_graph for instant structure access.
Inputs: folder_path. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct operation: structure discovery, metadata inspection, rescanning, natural-language query, filtered row fetch, grouped aggregation, cross-file totals, joins, signed net calculations, single-cell address reads, and semantic cell lookup. The descriptions include explicit guidance on when to use each tool and warn against alternatives (e.g., aggregate vs. cross_file_aggregate). There is no meaningful overlap or ambiguity between tool purposes.
All tool names follow a consistent verb_noun pattern in snake_case: get_workspace_graph, inspect_file, scan_workspace, filter_sheet, join_sheets, get_cell, etc. Short verb-only names like query, aggregate, derive, and lookup are also consistent in style and fit the pattern of using a single verb when the object is implied. No camelCase or mixing of conventions.
With 11 tools, the server is well-scoped for an Excel workspace analysis tool. Each tool serves a clear and necessary purpose, covering discovery, querying, aggregation, joining, and cell-level access. The count is comfortably within the 3-15 range and does not feel bloated or sparse.
The tool surface covers the full read/analysis lifecycle: workspace structure discovery (get_workspace_graph, inspect_file, scan_workspace), flexible data retrieval (query, filter_sheet, get_cell, lookup), grouped aggregation (aggregate), multi-file totals (cross_file_aggregate), complex net computations (derive), and joins (join_sheets). There are no obvious missing operations for the apparent purpose of reading and analyzing Excel data.
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Teable is an AI spreadsheet for business that combines a familiar spreadsheet interface with a structured database. Its remote MCP server lets AI agents inspect project and table structure, read and update records, and access the Teable API through OAuth with existing project permissions. Website: [teable.ai](https://teable.ai)
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.61,051MIT
- AlicenseBqualityAmaintenanceA Model Context Protocol server that enables interaction with Microsoft 365 services (Excel, Calendar, Mail, OneDrive, Teams, etc.) through the Graph API, allowing AI assistants to manage Microsoft 365 resources via natural language.20392,247 npm1,163MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI agents to create, read, and modify Excel workbooks without requiring Microsoft Excel installation.MIT
- AlicenseBqualityDmaintenanceA 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.11ISC