WorkbookAPI
Turn an Excel model into a calculation tool for your AI assistant. Checks the workbook against Excel's saved values on your machine, with no account; calculates scenarios through the WorkbookAPI hosted API with an API key (14-day free trial).
Documentation
The assistant needs the model's math.
An analyst may ask an assistant for a payback period, quote, or forecast. An agent developer needs a calculation tool. Pasting the workbook into a prompt does not check the answer against its formulas.
Why the usual options hurt
Asking an assistant to rewrite formulas creates a second model to maintain. Running Excel on a server adds maintenance. Asking an analyst to calculate each answer by hand limits the assistant's usefulness.
How it works with WorkbookAPI
Drop the model into the free browser check. See which formulas compute exactly like Excel before connecting any agent.
Recalculate and save in Excel first. The check compares against saved results for the current inputs. A match does not prove every possible agent request will be correct.
The hosted API and bulk scenarios are live. After the browser check, upload your workbook separately to the server. Start free trial or read the API docs. Publish a web form from the dashboard, then share its link or embed it.
Your agent sends explicit inputs and uses the returned model outputs in its answer. The analyst keeps the model in Excel. Upload a new workbook version to update the calculation the agent calls.
Illustration: an assistant answering a payback question
The assistant would ask the model to calculate simple payback using stated assumptions.
- Inputs: $20,000 setup cost, $5,000 annual savings, and no recurring costs.
- Outputs: A four-year simple payback period.
This illustrates a tool call you can build with the hosted API. Correct units and assumptions still matter.
What is not supported
Macros (VBA), Get Data queries (Power Query), PivotTables, What-If Analysis data tables and links to other workbooks are not supported. The report flags them.
FAQ
Can an AI agent get exact numbers from my Excel model?
The hosted API returns calculated model outputs instead of asking the assistant to estimate them. Check the workbook first, and verify the agent's inputs, units, and interpretation.
Is there a WorkbookAPI MCP server today?
Yes. workbookapi-mcp runs on your computer. Checking a workbook and finding its inputs and outputs happen there, with no account, and the file stays on your machine. To calculate, the assistant uploads the workbook to the hosted API and runs scenarios with your API key. Install it with npx -y workbookapi-mcp (in Claude Code: claude mcp add workbookapi -- npx -y workbookapi-mcp); see /docs/.
Does a matching check make the assistant's answer correct?
No. It checks formula results against saved Excel results for one input set. The model's assumptions and the agent's choice of inputs still need review.
Does my model leave my browser during the check?
No. The workbook never leaves your browser during the check. Only anonymous totals are counted, never values, formulas, or file names.
Read the privacy policy.