Skip to content
apikeg avatar

API Keg — Sheet SQL & Multi-Tab XLSX Engine

com.apikeg/sheet-sql

Run read-only SQL over CSV and JSON datasets and export styled multi-tab Excel workbooks.

CCM score
67 of 100
tools
2
transport
HTTP
last updated
Nov 30, 2026
Open website

Own this MCP server? Claim it

What it does

  • Runs JOINs, GROUP BY, CTEs, and window functions with query_tabular_data across 1–10 named CSV, TSV, or JSON datasets, normalizing currency strings like "$1,250.50"
  • Builds genuine .xlsx files with build_xlsx_workbook from 1–20 JSON datasets, adding bold shaded headers, frozen top rows, auto-sized columns, and live SUM, AVERAGE, MIN, MAX, and COUNT formulas
  • Hosted as a Streamable HTTP server with pay-per-request x402 billing in USDC or a monthly Bearer API key, and a free dry-run preflight option
  • Designed for analysts and agents that need to query tabular data or hand off formatted spreadsheets without a local spreadsheet app

Install

$ npx -y add-mcp https://sheet-sql.apikeg.com/mcp --name sheet-sql -y

Adds the server to every agent config it finds in this project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http sheet-sql https://sheet-sql.apikeg.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 2 tools

Verified live against the running server on Dec 1, 2026.

query_tabular_dataLoads 1–10 named CSV/TSV or JSON row-array datasets, normalizes currency strings (e.g. '$1,250.50' -> 1250.5), executes read-only SQL (JOIN, GROUP BY, CTEs, window functions), and returns typed rows, Markdown preview, inferred schemas, and optional .xlsx export. Pricing: $0.00...8 params

Loads 1–10 named CSV/TSV or JSON row-array datasets, normalizes currency strings (e.g. '$1,250.50' -> 1250.5), executes read-only SQL (JOIN, GROUP BY, CTEs, window functions), and returns typed rows, Markdown preview, inferred schemas, and optional .xlsx export. Pricing: $0.00...

Parameters* required
coerceCurrencyNumbersboolean
Automatically strip $, €, £, ¥ symbols, thousands commas, and accounting parentheses (e.g. '$1,250.50' -> 1250.5) when an entire column is numeric.default: true
exportXlsxboolean
When true, also exports the query result set as a styled OpenXML .xlsx workbook in `xlsxBase64`.default: false
markdownPreviewRowsinteger
Maximum rows rendered in `markdownPreview` (1–100, default 20).default: 20
maxRowsinteger
Maximum result rows returned in `rows` (1–5000, default 1000).default: 1000
sql*string
Read-only SQL 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.
xlsxSheetNamestring
Optional worksheet tab name when `exportXlsx` is true (default 'Query Results').
xlsxSummaryRowFormulasobject
Optional summary row formulas keyed by output column name when `exportXlsx` is true (e.g. { total_revenue: 'SUM' }).
build_xlsx_workbookCompiles 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....2 params

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....

Parameters* required
fileNamestring
Output .xlsx filename metadata (automatically suffixed with .xlsx if omitted).default: workbook.xlsx
sheets*array
1 to 20 worksheets to compile into the multi-tab .xlsx archive.

Details

Website
sheet-sql.apikeg.com/llms.txt
Categories
Databases, Data & Analytics
Transport
HTTP
Registry
MCP registry, active
Resources
3
Prompts
2
Tools verified
Dec 1, 2026

More from apikeg

All 12

Similar to API Keg — Sheet SQL & Multi-Tab XLSX Engine

More Databases