xlsx_read
Read an Excel file by server path and convert it to markdown, JSON, or SQL. Returns all sheets by default; optionally filter by sheet name.
Instructions
xfa — read an .xlsx file by path and return a rendered markdown/JSON/SQL representation.
The path resolves on the SERVER's filesystem. In a LOCAL-CLI deployment (npx xlsx-for-ai-mcp) the server IS the user's machine, so /Users/..., /home/..., or ~-prefixed paths work directly. In a remote/hosted deployment the server runs on a different host — ingest user-provided files via the upload-handle flow first, then use xlsx_read_handle.
DEFAULT returns ALL sheets — do not re-call per-sheet. Pass sheet="" only to filter. format="md" (markdown table, default), "json", or "sql". Synonyms: "markdown"→"md", "text"→"md".
USE WHEN: the user gives a path the SERVER can reach (LOCAL CLI absolute or ~-prefixed; remote: a path on the hosted machine).
DO NOT USE WHEN: a paperclip/attach upload in a different agent (use that agent's built-in xlsx skill). Or user-provided files on a remote/hosted deployment (use xlsx_read_handle). Or in-memory bytes the agent already has.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_b64 | Yes | ||
| options | No |