Run SQLite JOINs, CTEs & window queries over CSV/JSON data and build styled .xlsx workbooks.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Compiles 1–20 structured JSON datasets into a genuine Office Open XML (.xlsx) workbook with bold shaded headers, frozen top rows, auto-sized columns, numeric formatting, formula-injection protection, and live Excel summary formulas (SUM, AVERAGE, MIN, MAX, COUNT). Pricing: $0.003 USD per multi-sheet .xlsx workbook generation (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.
1 to 20 worksheets to compile into the multi-tab .xlsx archive.
Output .xlsx filename metadata (automatically suffixed with .xlsx if omitted).
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http sheet-sql https://sheet-sql.apikeg.com/mcp
Compiles 1–20 structured JSON datasets into a genuine Office Open XML (.xlsx) workbook with bold shaded headers, frozen top rows, auto-sized columns, numeric formatting, formula-injection protection, and live Excel summary formulas (SUM, AVERAGE, MIN, MAX, COUNT). Pricing: $0.003 USD per multi-sheet .xlsx workbook generation (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.
| Argument | Type | Description |
|---|---|---|
| sheets* | array | 1 to 20 worksheets to compile into the multi-tab .xlsx archive. |
| fileName | string | Output .xlsx filename metadata (automatically suffixed with .xlsx if omitted). |
{
"type": "object",
"required": [
"sheets"
],
"properties": {
"sheets": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"rows"
],
"properties": {
"name": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Worksheet tab name (sanitized and capped at Excel's 31-character limit)."
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"description": "Row object mapping column names to typed cell values (number, string, boolean, or null).",
"additionalProperties": true
},
"maxItems": 10000,
"minItems": 0,
"description": "Structured JSON rows to populate on this worksheet."
},
"columns": {
"type": "array",
"items": {
"type": "string",
"maxLength": 128,
"minLength": 1
},
"maxItems": 200,
"minItems": 1,
"description": "Optional explicit column order. If omitted, column keys are inferred from `rows` in insertion order."
},
"headers": {
"type": "object",
"description": "Optional human-friendly header display labels keyed by column name (e.g. { mrr_usd: 'MRR (USD)' }).",
"additionalProperties": {
"type": "string",
"maxLength": 128,
"minLength": 1
}
},
"freezeHeader": {
"type": "boolean",
"default": true,
"description": "Freeze top header row (`<pane ySplit=\"1\" state=\"frozen\"/>`)."
},
"summaryRowLabel": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Optional label placed in column A of the summary row (default 'Total')."
},
"allowCellFormulas": {
"type": "boolean",
"default": false,
"description": "When true, string cells starting with '=' (e.g. '=B2*C2') emit native OpenXML <f> formulas; when false, they stay literal strings to prevent formula injection."
},
"summaryRowFormulas": {
"type": "object",
"description": "Optional summary row formulas keyed by column name (e.g. { revenue: 'SUM', deal_size: 'AVERAGE' }).",
"additionalProperties": {
"enum": [
"SUM",
"AVERAGE",
"MIN",
"MAX",
"COUNT",
"COUNTA"
],
"type": "string",
"description": "Spreadsheet summary aggregation function (SUM, AVERAGE, MIN, MAX, COUNT, COUNTA)."
}
},
"coerceCurrencyNumbers": {
"type": "boolean",
"default": false,
"description": "Coerce currency-formatted string cells (e.g. '$1,250.50') into typed numeric Excel cells."
}
},
"description": "Worksheet definition for an OpenXML .xlsx workbook.",
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1,
"description": "1 to 20 worksheets to compile into the multi-tab .xlsx archive."
},
"fileName": {
"type": "string",
"default": "workbook.xlsx",
"maxLength": 128,
"minLength": 1,
"description": "Output .xlsx filename metadata (automatically suffixed with .xlsx if omitted)."
}
},
"additionalProperties": false
}Ingests 1–10 named RFC 4180 CSV/TSV or JSON row-array datasets into an ephemeral zero-retention SQLite sandbox, coerces currency columns (e.g. '$1,250.50' -> 1250.5), runs read-only SQL (JOIN, GROUP BY, CTEs, window functions), and returns typed rows, Markdown preview, inferred schemas, and optional .xlsx export. Pricing: $0.002 base (up to $0.01 max $0.002 base + $0.001 per 1,000 total input rows (capped at $0.01), x402 variable settlement). Pass ?dry_run=true on REST to validate schema free.
| Argument | Type | Description |
|---|---|---|
| sql* | string | Read-only SQLite SELECT or WITH (CTE) query supporting JOIN, GROUP BY, HAVING, and window functions (ROW_NUMBER() OVER (...), SUM, AVG). |
| tables* | object | Map of 1 to 10 SQL table names (e.g. 'orders', 'customers') to CSV/TSV or JSON row-array payloads. |
| maxRows | integer | Maximum result rows returned in `rows` (1–5000, default 1000). |
| exportXlsx | boolean | When true, also exports the query result set as a styled OpenXML .xlsx workbook in `xlsxBase64`. |
| xlsxSheetName | string | Optional worksheet tab name when `exportXlsx` is true (default 'Query Results'). |
| markdownPreviewRows | integer | Maximum rows rendered in `markdownPreview` (1–100, default 20). |
| coerceCurrencyNumbers | boolean | Automatically strip $, €, £, ¥ symbols, thousands commas, and accounting parentheses (e.g. '$1,250.50' -> 1250.5) when an entire column is numeric. |
| xlsxSummaryRowFormulas | object | Optional summary row formulas keyed by output column name when `exportXlsx` is true (e.g. { total_revenue: 'SUM' }). |
{
"type": "object",
"required": [
"tables",
"sql"
],
"properties": {
"sql": {
"type": "string",
"maxLength": 32768,
"minLength": 1,
"description": "Read-only SQLite SELECT or WITH (CTE) query supporting JOIN, GROUP BY, HAVING, and window functions (ROW_NUMBER() OVER (...), SUM, AVG)."
},
"tables": {
"type": "object",
"description": "Map of 1 to 10 SQL table names (e.g. 'orders', 'customers') to CSV/TSV or JSON row-array payloads.",
"additionalProperties": {
"type": "string",
"maxLength": 3800000,
"minLength": 1,
"description": "Raw RFC 4180 CSV/TSV string (auto-detecting ',', ';', or '\\t') or serialized JSON row-array string."
}
},
"maxRows": {
"type": "integer",
"default": 1000,
"maximum": 5000,
"minimum": 1,
"description": "Maximum result rows returned in `rows` (1–5000, default 1000)."
},
"exportXlsx": {
"type": "boolean",
"default": false,
"description": "When true, also exports the query result set as a styled OpenXML .xlsx workbook in `xlsxBase64`."
},
"xlsxSheetName": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Optional worksheet tab name when `exportXlsx` is true (default 'Query Results')."
},
"markdownPreviewRows": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum rows rendered in `markdownPreview` (1–100, default 20)."
},
"coerceCurrencyNumbers": {
"type": "boolean",
"default": true,
"description": "Automatically strip $, €, £, ¥ symbols, thousands commas, and accounting parentheses (e.g. '$1,250.50' -> 1250.5) when an entire column is numeric."
},
"xlsxSummaryRowFormulas": {
"type": "object",
"description": "Optional summary row formulas keyed by output column name when `exportXlsx` is true (e.g. { total_revenue: 'SUM' }).",
"additionalProperties": {
"enum": [
"SUM",
"AVERAGE",
"MIN",
"MAX",
"COUNT",
"COUNTA"
],
"type": "string",
"description": "Spreadsheet summary aggregation function (SUM, AVERAGE, MIN, MAX, COUNT, COUNTA)."
}
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 30, 2026.