Skip to main content
Glama

text-spreadsheet

Let a language model read a whole multi-sheet spreadsheet as text. The model calls one tool with the path of a file, or a folder of files, on your machine, and Excel, ODS, CSV, JSON, SQLite, Parquet, Arrow and MTSV come back as MTSV: one plain-text file where a tab separates fields, a line break separates records, and a form feed separates sheets.

A language model reads text, so a binary workbook is a dead end — without pandas or openpyxl in the loop, it cannot see inside an .xlsx at all. This converts the whole file, every sheet, in one call, so the model reads a spreadsheet the way it reads any other text file.

Install

The Python implementation, in an environment of its own:

pipx install text-spreadsheet

Then tell your host to launch text-spreadsheet, with no arguments. Most hosts read a configuration file that maps a name to a command; some write that file for you from their own command line. It is one entry, once — after that the tool is in every session.

Released on PyPI as text-spreadsheet and in the MCP registry as io.github.demos-ra/text-spreadsheet.

See python/README.md for the tool, the addresses and filters it takes, and what it keeps. Its version is the version field of python/pyproject.toml, and versions follow Semantic Versioning.

Related MCP server: tablebridge

Layout

Path

Contents

server.json

the entry that lists this server in the MCP registry

python/

Python implementation of the server

Each language folder holds one implementation of the same server. This repository holds no format code: every conversion is MTSV's, and what a spreadsheet holds that MTSV does not is reported as MTSV reports it.

Help

Report a problem or ask a question in the issue tracker. text-spreadsheet is maintained by Demos Ra.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables efficient reading, analyzing, and querying of Excel, CSV, and JSON files with support for chunked processing, column/field filtering, and streaming for large datasets. Supports multiple transport protocols (stdio, HTTP, SSE) for flexible integration.
    10 npm
    4
    ISC
  • A
    license
    A
    quality
    C
    maintenance
    Turns a folder of CSV, Parquet, and JSON files into a single SQL-queryable source for AI agents, supporting JOINs across files with read-only sandboxed access.
    6
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Query local CSV, Parquet, JSON and TSV files with real SQL via DuckDB. Gives your AI coding tool ground-truth data access instead of hallucinated answers.
    4
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Converts PDFs, Office files, spreadsheets, emails, audio, and more to Markdown locally, enabling AI assistants to read and process them without cloud upload.
    MIT