{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "com.apikeg/sheet-sql",
  "title": "Sheet SQL & Multi-Tab XLSX Engine API",
  "description": "Run real SQLite JOINs and window functions over messy CSV/JSON tables and export styled multi-tab .xlsx workbooks in milliseconds. Eliminates spinning up Python/pandas/openpyxl sandboxes, avoids LLM arithmetic hallucinations on large CSVs, strips '$1,250.50' currency strings automatically, and emits genuine frozen-header Excel formulas.",
  "version": "1.0.0",
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://sheet-sql.apikeg.com/mcp"
    }
  ],
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": true
  },
  "authentication": {
    "required": false,
    "schemes": [
      "x402",
      "bearer",
      "none"
    ],
    "notes": "Zero-signup x402 is primary: initialize, tools/list, resources/*, and prompts/* are free, and paid tools settle inline via HTTP 402 (x402 v2 USDC). Alternatively, pass Authorization: Bearer ak_live_... with an active $5/$20/$50 monthly subscription from https://apikeg.com/account."
  },
  "payment": {
    "protocol": "x402",
    "version": 2,
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "manifestUrl": "https://sheet-sql.apikeg.com/.well-known/x402.json",
    "freeDiscovery": true
  },
  "documentation": {
    "landingPage": "https://sheet-sql.apikeg.com/",
    "llmsTxt": "https://sheet-sql.apikeg.com/llms.txt",
    "llmsFullTxt": "https://sheet-sql.apikeg.com/llms-full.txt",
    "openApi": "https://sheet-sql.apikeg.com/openapi.json",
    "apiCatalog": "https://sheet-sql.apikeg.com/.well-known/api-catalog"
  },
  "tools": [
    {
      "name": "query_tabular_data",
      "title": "Query CSV & JSON Tables with SQLite",
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.002",
        "maxPriceUsd": "0.01",
        "unitDescription": "$0.002 base + $0.001 per 1,000 total input rows (capped at $0.01)"
      },
      "restEndpoint": "https://sheet-sql.apikeg.com/v1/query-tabular-data",
      "docUrl": "https://sheet-sql.apikeg.com/tools/query-tabular-data"
    },
    {
      "name": "build_xlsx_workbook",
      "title": "Build Styled Multi-Sheet XLSX Workbook",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.003",
        "unitDescription": "per multi-sheet .xlsx workbook generation"
      },
      "restEndpoint": "https://sheet-sql.apikeg.com/v1/build-xlsx-workbook",
      "docUrl": "https://sheet-sql.apikeg.com/tools/build-xlsx-workbook"
    }
  ]
}