CmdCal
Sign in

Spreadsheet generation API

Generate real Excel workbooks from structured data.

CmdCal XLSX turns application data, template-driven reporting, and agent output into native `.xlsx` files without imperative workbook spaghetti.

[01] Why it exists

Replace exporter code that keeps getting more fragile.

The point is not to produce cells somehow. The point is to ship workbooks that are usable, styled, inspectable, and safe to automate.

Declarative generation

Describe the workbook, not every workbook mutation

Define sheets, rows, tables, validations, formulas, and print behavior as data. Keep the business logic in your application instead of scattering it through imperative workbook calls.

  • Structured JSON in
  • Deterministic OOXML out
  • Typed workbook validation before render
1contract across app, API, and agents

Operational trust

Validate and repair instead of hoping Excel opens it cleanly

CmdCal includes workbook-quality inspection, conservative repair, and explicit findings so teams can review risky artifacts before they reach users.

  • Workbook validation
  • Conservative repair logs
  • Preflight signals for large workloads
0silent workbook mutations

Production workflows

Templates, large workbooks, and MCP-compatible automation

Move past toy exports with template inspection, table-aware assembly, formula support, and agent tooling that can generate, validate, and repair workbook artifacts.

  • Template-backed assembly
  • Native tables and filters
  • MCP spreadsheet tooling
3high-value workflow layers in one engine

[02] Comparison

CmdCal XLSX vs imperative workbook libraries.

The important distinction is not language preference. It is whether the spreadsheet system behaves like infrastructure or like a bag of workbook mutations.

CapabilityCmdCal XLSXExcelJSSheetJS
Primary modelDeclarative workbook ASTImperative workbook mutationLow-level workbook utilities
Template workflowTemplate inspection and clean assemblyManual workbook mutationManual workbook mutation
Quality layerPreflight, validate, repairNone built inNone built in
Agent fitJSON contract + MCP toolsCustom wrappers requiredCustom wrappers required
Large-workbook planningRender planning and metricsDIY instrumentationDIY instrumentation

[04] Fit

Where CmdCal XLSX is the right tool.

This is strongest when the workbook is part of a product, a recurring report flow, or an agent pipeline, not a one-off office macro.

CapabilityUse caseFit
Customer-facing exports from app dataCustomer-facing exports from app dataStrong fit
Template-backed operational reportsTemplate-backed operational reportsStrong fit
Agent-generated spreadsheets with validationAgent-generated spreadsheets with validationStrong fit
Hand-authored desktop spreadsheet workflowsHand-authored desktop spreadsheet workflowsLower fit
Teams expecting silent best-effort repairTeams expecting silent best-effort repairPoor fit

Ship your first workbook flow.

Start with the quickstart, then move into validation, templates, and agent workflows once the core export shape is proven.

Read XLSX docs