MCP Catalogs
Homeexstruct screenshot

exstruct

by harumiWeb·144·Score 48

ExStruct is a Python package that converts Excel files to structured JSON with MCP integration for AI agents.

ai-llmproductivitydeveloper-tools
22
Forks
1
Open issues
this month
Last commit
2d ago
Indexed

Overview

ExStruct reads Excel workbooks into structured data and provides extraction APIs, editing CLI, and an MCP server for integrations. It supports multiple output modes (light, libreoffice, standard, verbose) and can extract cells, shapes, charts, SmartArt, tables, formulas, and hyperlinks. The project offers both CLI and Python interfaces with patch-based editing workflows, making it suitable for LLM/RAG pipelines and automation scenarios.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Extracting structured data from Excel for RAG systems
you:Editing Excel files through AI agents with patch workflows
you:Converting complex Excel files to JSON for LLM processing
you:What platforms does ExStruct support?
you:How do I install ExStruct with optional dependencies?

When to choose this

Choose ExStruct when working with Excel data in LLM/RAG pipelines or when AI agents need to read/write Excel files with structured output.

When NOT to choose this

Avoid if you need complex Excel macros support or advanced formatting that isn't preserved in the JSON extraction process.

Tools this server exposes

9 tools extracted from the README
  • exstruct_extract

    Extracts data from an Excel workbook

  • exstruct_capture_sheet_images

    Captures images from Excel sheets

  • exstruct_make

    Creates a new Excel workbook

  • exstruct_patch

    Applies editing patches to a workbook

  • exstruct_read_json_chunk

    Reads extracted JSON chunks from a workbook

  • exstruct_read_range

    Reads cells from a specified range

  • exstruct_read_cells

    Reads data cell by cell from a workbook

  • exstruct_read_formulas

    Reads cell formulas from a workbook

  • exstruct_validate_input

    Validates input workbook data

Comparable tools

excel-py-mcpopenpyxlxlwings

Installation

Install the package with pip:

pip install exstruct[mcp]

For Claude Desktop integration, add to claude_desktop_config.json:

{
  "mcpServers": {
    "exstruct": {
      "command": "exstruct-mcp",
      "args": ["--root", "/path/to/your/data", "--on-conflict", "rename"]
    }
  }
}

Alternatively, run directly with uvx:

uvx --from 'exstruct[mcp]' exstruct-mcp --root /path/to/your/data

FAQ

What platforms does ExStruct support?
ExStruct works on Windows with Excel COM, and on Linux/macOS through direct OOXML parsing or with LibreOffice runtime.
How do I install ExStruct with optional dependencies?
Use `pip install exstruct[yaml,toon,render]` to install with YAML support, TOON format, and rendering capabilities.

Compare exstruct with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.