{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "com.apikeg/doc-redline",
  "title": "Document Redline & Table Diff Edge API",
  "description": "Deterministic Myers redlines, numeric/date edit alerts, Word .docx Track Changes, and composite-key table diffs in milliseconds. Prevents middle-of-context LLM skimming misses on buried numeric/date edits, cuts 40-page document review payloads by 90-98% in tokens, and emits real OpenXML <w:ins>/<w:del> .docx archives without brittle Python/LibreOffice dependencies.",
  "version": "1.0.0",
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://doc-redline.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://doc-redline.apikeg.com/.well-known/x402.json",
    "freeDiscovery": true
  },
  "documentation": {
    "landingPage": "https://doc-redline.apikeg.com/",
    "llmsTxt": "https://doc-redline.apikeg.com/llms.txt",
    "llmsFullTxt": "https://doc-redline.apikeg.com/llms-full.txt",
    "openApi": "https://doc-redline.apikeg.com/openapi.json",
    "apiCatalog": "https://doc-redline.apikeg.com/.well-known/api-catalog"
  },
  "tools": [
    {
      "name": "diff_documents",
      "title": "Redline & Audit Two Document Versions",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.002",
        "unitDescription": "per document redline comparison"
      },
      "restEndpoint": "https://doc-redline.apikeg.com/v1/diff-documents",
      "docUrl": "https://doc-redline.apikeg.com/tools/diff-documents"
    },
    {
      "name": "diff_tables",
      "title": "Compare Two Structured CSV or JSON Tables by Primary Key",
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.002",
        "unitDescription": "per structured table or catalog diff"
      },
      "restEndpoint": "https://doc-redline.apikeg.com/v1/diff-tables",
      "docUrl": "https://doc-redline.apikeg.com/tools/diff-tables"
    }
  ]
}