{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "schemaVersion": "1.0",
  "name": "Executive SVG Chart & KPI Card Compiler Edge API",
  "humanReadableId": "apikeg/chart-viz",
  "agentVersion": "1.0.0",
  "description": "Compile board-ready SVG charts (waterfall, funnel, gantt, bar, line) and KPI sparkline cards with zero overlapping labels in <10ms. Eliminates clipped axes, overlapping x-axis text, broken floating-point tick steps, heavyweight headless-browser Chart.js/Playwright containers, and thousands of wasted LLM tokens generating raw SVG coordinates.",
  "provider": {
    "name": "API Keg",
    "url": "https://apikeg.com"
  },
  "capabilities": {
    "mcpVersion": "2025-06-18",
    "x402Version": 2,
    "streaming": false,
    "supportedMessageParts": [
      "json",
      "text"
    ]
  },
  "supportedInterfaces": [
    {
      "url": "https://chart-viz.apikeg.com/mcp",
      "protocolBinding": "MCP-STREAMABLE-HTTP",
      "protocolVersion": "2025-06-18"
    },
    {
      "url": "https://chart-viz.apikeg.com/openapi.json",
      "protocolBinding": "OPENAPI-REST",
      "protocolVersion": "3.1.0"
    },
    {
      "url": "https://chart-viz.apikeg.com/.well-known/api-catalog",
      "protocolBinding": "RFC9727-LINKSET",
      "protocolVersion": "1.0"
    }
  ],
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json",
    "text/markdown",
    "text/html"
  ],
  "skills": [
    {
      "id": "render_chart",
      "name": "Render Publication-Grade Executive SVG Chart",
      "description": "Compiles structured business data into a crisp standalone SVG + base64 data URI across bar, stacked_bar, horizontal_bar, line, area, waterfall, funnel, and gantt chart types, returning a verified zero-overlap layoutReport. Why call instead of DIY: Replaces fragile headless Chromium/Canvas chart pipelines and LLM-hallucinated SVG paths with deterministic Heckbert scales and SAT text collision resolution at $0.002/chart in <10ms. Pricing: $0.002 USD per rendered executive SVG chart (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "data-visualization",
        "business-intelligence",
        "reporting",
        "developer-tools"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.002",
        "unitDescription": "per rendered executive SVG chart"
      },
      "documentationUrl": "https://chart-viz.apikeg.com/tools/render-chart"
    },
    {
      "id": "render_kpi_card",
      "name": "Render Executive KPI Snapshot Card",
      "description": "Renders 1-6 executive KPI summary tiles with formatted headline values ($1.2M, 45.3%), semantic trend pills (+14.2% MoM), and inline SVG sparklines ready for Slack, Notion, Email, PDFs, or slide decks. Why call instead of DIY: Instant board-grade visual metric snapshot with proportional typography and zero-overlap verification at $0.001/card. Pricing: $0.001 USD per executive KPI snapshot card (1-6 tiles) (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.",
      "tags": [
        "data-visualization",
        "business-intelligence",
        "reporting",
        "developer-tools"
      ],
      "pricing": {
        "scheme": "exact",
        "priceUsd": "0.001",
        "unitDescription": "per executive KPI snapshot card (1-6 tiles)"
      },
      "documentationUrl": "https://chart-viz.apikeg.com/tools/render-kpi-card"
    }
  ]
}