Bilig WorkPaper
About
WorkPaper MCP server for editing formula workbooks, recalculating cells, and persisting JSON-backed workbook state.
Details
- Author
- proompteng
- Categories
- Developer Tools, Other
Jump to
Setup
Install Bilig WorkPaper in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/proompteng/bilig
Follow the installation instructions in the repository README, then restart your MCP client.
WorkPaper MCP server for editing formula workbooks, recalculating cells, and persisting JSON-backed workbook state.
Run workbook-shaped business rules inside Node.
Bilig gives services, queue workers, tests, MCP servers, and tool integrations a typed WorkPaper object: write inputs, recalculate formulas, read outputs, persist JSON, restore, and verify. It fits pricing models, quote approval, payout checks, import validation, forecasts, and formula-backed workflow steps.
Run the no-project service check from any Node project:
npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door workpaper-service --json
{ "schemaVersion": "bilig-evaluator.v1", "door": "workpaper-service", "verified": true, "evidence": { "editedCell": "Inputs!B2", "dependentCell": "Summary!B2", "before": 24000, "after": 38400, "afterRestore": 38400, "persistedDocumentBytes": 999 } }
For TypeScript services that should own the workbook model:
npm create @bilig/workpaper@latest pricing-workpaper cd pricing-workpaper npm install npm run smoke
For MCP clients or other tool integrations, run the same proof loop through the MCP evaluator before adding host-specific config:
npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json
Project site:https://proompteng.github.io/bilig/
If you are not sure which one fits, start with the thing that owns state. Use WorkPaper when your service or tool should own the workbook model. Use file diagnostics only when import/export compatibility is the actual contract.
Good fits: pricing, quote approval, payout checks, import validation, forecasts, CI fixtures, formula-backed workflow steps, and tool integrations that need exact cell addresses plus readback. Bad fits: manual spreadsheet editing, Office macros, desktop Excel automation, or one-off arithmetic where a workbook would be ceremony.
Run the WorkPaper service proof at the top of this README first. It is the shortest proof that Bilig gives backend code a workbook object it can change, recalculate, read back, save, and restore without driving Excel, LibreOffice, Google Sheets, or a browser grid.
If an MCP client or tool integration owns the workflow, run the MCP door:
npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json
- Runs locally in Node or in your GitHub Actions runner; no hosted workbook upload is required.
- Does not claim Excel parity. Start withwhere Bilig is not Excel-compatible yetbefore using it for irreversible workflows.
- File import/export diagnostics are available when an imported file is the contract, but they are a separate path from service-owned WorkPaper state.
Advanced adapters are still available when the boundary is already specific:SheetJS,ExcelJS,external workbooks,MCP/tool integrations,@bilig/workbookwhen a runtime needs transport-neutral plan data and command receipts, andruntime provenance.
npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json
That evaluator starts the published WorkPaper tool server, discovers tools, edits an input, reads the dependent formula, exports JSON, restarts, restores, and returnsverified: true. Usellms-install.mdwhen a host wants one install file, and use thetool-host evaluator matrixwhen the host matters more than the package boundary.
The published package also carriesAGENTS.mdandSKILL.mdso hosts inspectingnode_modules/@bilig/workpapercan find the same proof locally. Cloned checkouts keep host-specific config indexed inagent rule chooser:CLAUDE.md,.claude/skills/bilig-workpaper/SKILL.md,.claude/commands/bilig-workpaper-proof.md,.cursor/rules/bilig-workpaper.mdc,.devin/rules/bilig-workpaper.md,.windsurf/rules/bilig-workpaper.md,.clinerules/bilig-workpaper.md,.continue/rules/bilig-workpaper.md,.zed/settings.json,opencode.jsonc, and.opencode/agents/bilig-workpaper.md. The public manifest isdocs/.well-known/agent.json.
npx --yes skills@latest add https://bilig.proompteng.ai --list npx --yes skills@latest add proompteng/bilig --skill bilig-workpaper --list
Run one evaluator first. Then use the recipe that matches the platform boundary:
- Open WebUI WorkPaper MCP:https://proompteng.github.io/bilig/open-webui-workpaper-mcp.html.
- OpenAI Agents SDK with direct tools, stdio MCP, orMCPServerStreamableHttp:https://proompteng.github.io/bilig/openai-agents-sdk-workpaper-tool.html.
- ChatGPT Apps WorkPaper MCP:https://proompteng.github.io/bilig/chatgpt-apps-workpaper-mcp.html.
- n8n self-hosted workflows can use the owned community node package:@bilig/n8n-nodes-workpaper.
Reduced workbook already in hand? If the blocker is an import, formula, or persistence gap, generate the fixture report:
npm exec --package @bilig/workpaper@latest -- bilig-formula-clinic ./reduced.xlsx --cells "Summary!B7,Inputs!B2"
Handing a workbook task to an MCP client or host integration? Start with the[host handoff guidebefore opening Excel, LibreOffice, Google Sheets, or a screenshot UI. That section keeps the host handoff prompt for clients that require copy-paste instructions. To prove the package-owned MCP loop without cloning the repo:
npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door workpaper-service --json npm exec --yes --package @bilig/workpaper@latest -- bilig-evaluate --door agent-mcp --json npm exec --package @bilig/workpaper@latest -- bilig-mcp-challenge --json
…
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





