Back to directory

excel-parser

An open-source Python library that parses Excel workbooks into citation-ready, token-counted JSON chunks for language models, retrieval-augmented-generation pipelines and AI agent frameworks, preserving cells, formulas, merged regions, tables and charts.

Visit website (opens in a new tab)knowledgestack.github.io
excel-parser

excel-parser converts an .xlsx file into a structured, typed JSON representation that keeps information a large language model would otherwise lose by reading a spreadsheet directly: cell values, formulas, merged regions, tables, charts, conditional formatting and dependency graphs. Each output chunk is tied back to an exact sheet-and-range reference so an answer generated from it can cite the source cells, and chunks are sized by token count for direct use in LangChain, LangGraph, CrewAI, the OpenAI Agents SDK, or any MCP-aware client such as Claude Desktop, Cursor, Windsurf or Zed.

On a public benchmark of hundreds of real-world spreadsheet tasks, the project reports parsing thousands of files with a small number of timeouts and no errors, and a close but favorable comparison against another spreadsheet parser on retrieval recall at several cutoffs, with faster median parse times per file.

It is written in Python and released under the MIT license.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.