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 47 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.2

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.2
File Size Uploaded Provenance Actions
dcc_mcp_excel-0.1.2.tar.gz 56.6 kB With provenance Details for dcc_mcp_excel-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 99.5 kB

Release files / dcc_mcp_excel-0.1.2.tar.gz

Download URL dcc_mcp_excel-0.1.2.tar.gz
Size 56.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6d23d389bfc93c1d35751d5d674e576b56aeb1387baa16a60ec14d3dbbe73389
BLAKE2b-256 checksum
How to use checksums
cc369da29fed36608159d6a71d1472814529c4409f8bf5ac707686e5fdea9a7b
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 13, 2026.

Transparency log

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

Download URL dcc_mcp_excel-0.1.2-py3-none-any.whl
Size 42.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1fb92f8e49ce7518cf5ddd40f218fb9585d32936515990e406a12111a6fd090b
BLAKE2b-256 checksum
How to use checksums
10b28c4e6f642efcb520fd3bbdefa412ad658f43ebd70984263be55d1d74aa5b
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 13, 2026.

Transparency log

Security for dcc-mcp-excel 0.1.2

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.2.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 13, 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