Skip to main content

dcc-mcp-excel

Excel adapter for the DCC-MCP ecosystem — the thin application layer over dcc-mcp-office: structured workbook generation from production data, headless XLSX compilation and read-back verification.

Status: v0.1.0 — headless path live. The compile pipeline runs end to end without Excel installed: Workbook IR (office-ir/1.0) → headless Open XML compile (openpyxl) → write-then-read-back verification → structural report. Skill scripts execute through the dcc-mcp gateway.

Two grades of capability, and the difference is evidence:

Grade What it means Examples
verified CI-green on a Linux runner, no Office installed workbook compile, read-back, grid/formula/named-range/validation/conditional-format writes
host_limited Requires desktop Excel (COM); the artifact is valid but the value only materializes when Excel opens it native recalculation, chart and pivot rendering, PDF export

Run dcc-mcp-excel capabilities (or the excel-capabilities skill) for the full graded list.

Part of the DCC-MCP host matrix

dcc-mcp-excel — Excel adapter for DCC-MCP — headless Workbook IR to XLSX compile with read-back verification over the dcc-mcp-office runtime.

It is one of 39 host adapters in the DCC-MCP catalog. Every adapter speaks the same MCP protocol and builds on the same core runtime contract; each one exposes the tools its own host needs on top of that.

This block is generated from the catalog entry in dcc-mcp-catalog.yml. Re-run the generator after changing the catalog.

Why headless first

The dcc-mcp-office shared core already ships a CI-green headless xlsx writer (skills/office-generate-production-dashboard). Building the adapter on that path means the 1.0 gate — host matrix, preflight self-check, write-then-read-back — is verifiable in CI on a plain Linux runner instead of depending on a licensed desktop Office install.

Desktop Excel stays the path for the things only Excel can do: evaluate a formula, render a chart, refresh a pivot, paginate a PDF. Those are declared and graded host_limited, never claimed as verified.

Install

pip install "dcc-mcp-excel"
# headless compilation needs the openpyxl extra:
pip install "dcc-mcp-excel[headless]"

See install.md for the verified live route.

Skill packs

  • excel-workbook — compile a Workbook IR into an editable XLSX, then reopen it and verify every cell against the source IR; validate an IR; inventory an existing workbook.
  • excel-capabilities — the graded capability report plus the host matrix and the start-up preflight self-check.

Agent usage (via dcc-mcp-cli / gateway)

  1. Start the registered adapter (the launcher binds the bundled skill packs and script runtime to the official dcc-mcp-server): dcc-mcp-excel serve
  2. Run a skill script directly (gateway execute_script contract — stdin JSON or CLI flags):
    python src/dcc_mcp_excel/skills/excel-workbook/scripts/generate_workbook.py \
      --input examples/shot_list.json --out out
    
  3. Validate the packs with the official linter:
    dcc-mcp-cli lint src/dcc_mcp_excel/skills --warnings-as-errors --non-interactive
    

From production tracking to a spreadsheet

dcc-mcp-fpt reads Flow Production Tracking; this adapter turns what it returns into something you can send. tests/test_e2e.py pins that chain with a real find_entities payload: entities → Workbook IR → XLSX → read-back.

Development

pip install -e ".[dev]"
pytest
ruff check src tests

License

MIT

Metadata

Release files for dcc-mcp-excel 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcc-mcp-excel 0.1.1
File Size Uploaded Provenance Actions
dcc_mcp_excel-0.1.1.tar.gz 56.5 kB With provenance Details for dcc_mcp_excel-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dcc-mcp-excel 0.1.1
File Interpreter ABI Platform Actions
dcc_mcp_excel-0.1.1-py3-none-any.whl Python 3 none any Details for dcc_mcp_excel-0.1.1-py3-none-any.whl

Total release size: 99.4 kB

Release files / dcc_mcp_excel-0.1.1.tar.gz

Download URL dcc_mcp_excel-0.1.1.tar.gz
Size 56.5 kB
Tags Source
SHA-256 checksum
How to use checksums
44b7210cf605068bd8c175ccd21ac1d48d106fba0134e13efb5225c2445b2100
BLAKE2b-256 checksum
How to use checksums
8cf09ac1c58a98550d13c89a2d674fa18f03006f2351e08cb829d210fb7c003e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Release files / dcc_mcp_excel-0.1.1-py3-none-any.whl

Download URL dcc_mcp_excel-0.1.1-py3-none-any.whl
Size 42.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c3528bdb6b2f0b0f754743eb3ab474feae02645ac69d6e3eea3af4f66000a80
BLAKE2b-256 checksum
How to use checksums
4d404c3c2613d96d2768b2fe17a7469011aa24c0cceb206a1a70c3f9648f8666
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

Security for dcc-mcp-excel 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dcc_mcp_excel-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page