xlsx-audit-mcp

v0.1.0
io.github.arose26/xlsx-audit-mcp Checked 2 days ago Published 3 months ago

Audit Excel workbooks: formula dependency tracing, circular references, risk smells.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

workbook_overview Workbook overview

Structure of an .xlsx workbook: sheets with dimensions and formula counts, defined names, external workbook links, merged cells. The map you need before tracing or auditing.

ParameterTypeDescription
path *stringPath to an .xlsx workbook

list_formulas List formulas

Formulas with addresses and cached values. Filter with `contains` (e.g. 'INDIRECT', 'VLOOKUP') and/or `sheet`.

ParameterTypeDescription
path *stringPath to an .xlsx workbook
containsstringCase-insensitive substring of the formula text
limitintegerMax results
sheetstringOnly this sheet

trace_cell Trace a cell

Audit one cell: its formula and cached value, precedents (cells and ranges it reads), and dependents (formulas that read it, directly or via a range). Address like 'Summary!B14'; unqualified addresses use the first sheet.

ParameterTypeDescription
cell *stringCell address, e.g. B14 or 'Summary!B14'
path *stringPath to an .xlsx workbook
max_dependentsinteger

audit_workbook Audit the workbook

Risk report across the whole model: circular references (with example chains), volatile functions (INDIRECT/OFFSET/NOW/RAND...), hardcoded constants inside formulas, external workbook links, merged cells, very long formulas.

ParameterTypeDescription
path *stringPath to an .xlsx workbook