sheet2json-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SHEET2JSON_DATA_DIR | No | The only folder files can be read from. | ./data |
| SHEET2JSON_OUTPUT_DIR | No | Where validated JSON is written. | ./output |
| SHEET2JSON_SCHEMA_DIR | No | Folder with `*.schema.json` files. | built-in `schemas/` |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Converts spreadsheets (CSV/XLSX) into validated JSON using fixed schemas. Workflow: list_files -> inspect_file -> convert_file. Never invent a schema; if no schema fits, tell the user. Report conversion errors to the user instead of correcting data yourself.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_schemasA | List the target schemas data can be converted into, with their fields and which are required. |
| list_filesA | List the CSV and Excel files available in the data folder. |
| inspect_fileA | Show the sheets, column headers and first rows of a file, and which schemas fit it best. Args: path: File path relative to the data folder, as returned by list_files. sheet: Excel sheet name. Defaults to the first sheet. Ignored for CSV. sample_rows: Number of example rows to return (1-20). |
| convert_fileA | Convert a spreadsheet into JSON records that match one of the predefined schemas. Every row is either converted and validated, or listed in Args: path: File path relative to the data folder. schema: Name of the target schema (see list_schemas). sheet: Excel sheet name. Defaults to the first sheet. decimal_separator: "." (1,234.5) or "," (1.234,5 - common in Danish files). write_output: Save the result as JSON in the output folder. Only allowed when there are no errors, so partial data never ends up downstream. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool maps to a distinct step in the workflow: listing schemas, listing files, inspecting a file, and converting. There is no overlap in purpose, and the natural pipeline order makes selection unambiguous.
All four tools follow a consistent snake_case verb_noun pattern (list_schemas, list_files, inspect_file, convert_file). The convention is predictable and easy to reason about.
Four tools is a tight, focused surface that matches the bounded spreadsheet-to-JSON scope. It sits at the minimal end, with arguably room for a small output-retrieval tool, but nothing feels padded.
The core discover-inspect-convert lifecycle is fully covered, including validation and error reporting. The main gap is that converted output written via write_output cannot be listed or read back with any provided tool, leaving a minor dead end.