{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "name": "com.apikeg/context-crush",
  "title": "Context Crush — Deterministic LLM Context Compactor",
  "description": "Cut WebVTT/SRT transcripts, .eml reply chains, Slack threads, and Jira ADF JSON by 65-90% tokens in <15ms with zero LLM summarization loss. Replaces fragile MIME/quoted-printable decoders, rolling live-caption overlap logic, O(N^2) email quote peelers, and recursive Jira ADF AST renderers—saving $0.02-$0.15 in downstream frontier-LLM input tokens for a $0.001-$0.005 edge call.",
  "version": "1.0.0",
  "transports": [
    {
      "type": "streamable-http",
      "url": "https://context-crush.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://context-crush.apikeg.com/.well-known/x402.json",
    "freeDiscovery": true
  },
  "documentation": {
    "landingPage": "https://context-crush.apikeg.com/",
    "llmsTxt": "https://context-crush.apikeg.com/llms.txt",
    "llmsFullTxt": "https://context-crush.apikeg.com/llms-full.txt",
    "openApi": "https://context-crush.apikeg.com/openapi.json",
    "apiCatalog": "https://context-crush.apikeg.com/.well-known/api-catalog"
  },
  "tools": [
    {
      "name": "compact_transcript",
      "title": "Compact Meeting Transcript (WebVTT / SRT / Text)",
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.001",
        "maxPriceUsd": "0.005",
        "unitDescription": "($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB)"
      },
      "restEndpoint": "https://context-crush.apikeg.com/v1/compact-transcript",
      "docUrl": "https://context-crush.apikeg.com/tools/compact-transcript"
    },
    {
      "name": "compact_email_thread",
      "title": "De-duplicate Email Thread & RFC 5322 .eml",
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.001",
        "maxPriceUsd": "0.005",
        "unitDescription": "($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB)"
      },
      "restEndpoint": "https://context-crush.apikeg.com/v1/compact-email-thread",
      "docUrl": "https://context-crush.apikeg.com/tools/compact-email-thread"
    },
    {
      "name": "compact_workspace_export",
      "title": "Compact Slack Export or Jira v3 ADF JSON",
      "pricing": {
        "scheme": "upto",
        "priceUsd": "0.001",
        "maxPriceUsd": "0.005",
        "unitDescription": "($0.001 base + $0.0005 per 50KB of input, capped at $0.005 for payloads up to 2MB)"
      },
      "restEndpoint": "https://context-crush.apikeg.com/v1/compact-workspace-export",
      "docUrl": "https://context-crush.apikeg.com/tools/compact-workspace-export"
    }
  ]
}