exstruct
View on GitHubConversion from Excel to structured JSON (tables, shapes, charts) for LLM/RAG pipelines, and autonomous Excel reading/writing by AI agents via CLI and MCP integration.
Python library and CLI for extracting Excel workbooks into structured JSON and safely editing them with patch operations. Includes an MCP server for agent-driven workbook reading, creation, and updates.
Use Cases
Convert Excel workbooks into structured JSON for LLM or RAG pipelinesExtract tables, charts, shapes, formulas, and sheet dataLet AI agents read workbook ranges and formulas through MCPApply and validate patch-based workbook edits through a CLI or MCPPrepare spreadsheet contents for document analysis
Built With
- Language
- Python
- Frameworks
- MCP Python SDK · openpyxl · xlwings · Pydantic · pandas
Tags
Excel extraction · Excel automation · structured JSON · LLM data preprocessing · RAG preprocessing · MCP server · AI agents · workbook editing · CLI