formulon-mcp
by libraz
README.md
# formulon-mcp
[](https://github.com/libraz/formulon-mcp/actions)
[](https://www.npmjs.com/package/@libraz/formulon-mcp)
[](https://github.com/libraz/formulon-mcp/blob/main/LICENSE)
[](https://formulon.libraz.net/mcp/)
A local stdio MCP server for [Formulon](https://github.com/libraz/formulon). Agents can inspect and edit Excel workbooks, recalculate formulas, author printable documents, preview ranges, audit copied formulas, and create native Tables and PivotTables.
**[Full documentation](https://formulon.libraz.net/mcp/)** lives on the Formulon website. It covers tool inputs, responses, limits, and end-to-end examples.
## Quick start
Requires Node.js 22 or newer; see [`engines`](https://github.com/libraz/formulon-mcp/blob/main/package.json). Register the server with the bundled interactive installer:
```sh
npx -y @libraz/formulon-mcp init
```
Choose Claude Code, Codex CLI, or Claude Desktop, then the Excel locale and host (Windows or Mac) that new sessions evaluate with. The locale sets number and date text, `TEXT` formats, text comparison, and double-byte text functions; it defaults to the system locale. Review the configuration changes and restart the client. Ask the agent to evaluate `=SUM(10,20,30)` using Formulon; the result is `60`.
For scripted setup, pass the profile directly, for example `init --profile win-365-ja_JP`. A single session can still pick another profile when it is opened.
See [installation](https://formulon.libraz.net/mcp/install) for manual client configuration, local checkouts, and troubleshooting. Remove registration with `npx -y @libraz/formulon-mcp uninstall`.
## Guides
| Task | Documentation |
| --- | --- |
| Edit a workbook template and save a copy | [Workbook workflow](https://formulon.libraz.net/mcp/workflow) |
| Create an invoice with formulas and print settings | [Document authoring](https://formulon.libraz.net/mcp/authoring) |
| Reproduce a form and inspect its appearance | [Layout and previews](https://formulon.libraz.net/mcp/layout-preview) |
| Find overwritten or missing formulas | [Formula audit](https://formulon.libraz.net/mcp/formula-audit) |
| Summarize sales data | [Tables and pivots](https://formulon.libraz.net/mcp/tables-pivots) |
| Inspect tool inputs or discover a low-level method | [Tools](https://formulon.libraz.net/mcp/tools) · [Advanced API](https://formulon.libraz.net/mcp/advanced) |
Sessions live in memory and disappear when the server stops. Use explicit output paths and review load/save diagnostics. Preview rendering is approximate; formula audits report review candidates. See the [security model](https://formulon.libraz.net/mcp/security).
## Development
```sh
yarn install
yarn run check
yarn test
```
Tests build and exercise `dist/`. The calculation engine is maintained in the separate [Formulon repository](https://github.com/libraz/formulon).
## License
Apache-2.0. See [LICENSE](https://github.com/libraz/formulon-mcp/blob/main/LICENSE).
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo issues