Kitforge Chart API

Chart images (bar, line, pie, doughnut, sparkline) as SVG with a permanent public URL.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
60%
Calidad de los nombres
90%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~861Tokens (definiciones de herramientas)
~3.0 KBTamaño de respuesta típico
Impacto moderado en la atención (0.67% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "chart-image": {
      "url": "https://kitforge-chart-api.kitforgelabs.workers.dev/mcp"
    }
  }
}

Puntos de conexión remotos

https://kitforge-chart-api.kitforgelabs.workers.dev/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (2)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢make_chart(type, title, labels, data, series, ...)

Render a clean, accessible chart (bar, line, pie, doughnut or sparkline) as an SVG image and return a permanent public image URL plus the SVG markup. Use it when the user wants a chart in an email, PDF, report, README, doc or web page (SVG only: Slack/Discord/Teams/Telegram image embeds need PNG, which is not offered yet): put the URL in an <img src> or markdown ![chart](url) — the URL needs no key and always shows this exact chart. One series: {"type":"bar","title":"Revenue","labels":["Jan","Feb","Mar"],"data":[1200,1850,1600],"prefix":"$"}. Several series: "series":[{"name":"Web","data":[3,5,4]},{"name":"Mobile","data":[2,3,3]}]. Limits: 8 series, 60 bars / 200 line points per series, pie/doughnut slices beyond 7 fold into "Other". Costs 1 credit per new chart (the same chart again is free). Works without a key for 10 trial charts per day; then the user needs a free key. If the result is error "no_credits", give the user recharge_url.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "bar",
        "line",
        "pie",
        "doughnut",
        "sparkline"
      ],
      "description": "Chart type. Default bar. pie/doughnut/sparkline take one series."
    },
    "title": {
      "type": "string",
      "description": "Title shown on top and used as the accessible name (max 100 chars)."
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Category / x-axis labels, one per value (pie: slice names)."
    },
    "data": {
      "type": "array",
      "items": {
        "type": [
          "number",
          "null"
        ]
      },
      "description": "Numbers; null = no value (a gap in a line)."
    },
    "series": {
      "type": "array",
      "description": "Several named series instead of data (bar, line). Each gets its own colour and a legend entry.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "data": {
            "type": "array",
            "items": {
              "type": [
                "number",
                "null"
              ]
            },
            "description": "Numbers; null = no value (a gap in a line)."
          }
        },
        "required": [
          "data"
        ],
        "additionalProperties": false
      }
    },
    "stacked": {
      "type": "boolean",
      "description": "Stack bar series instead of grouping them."
    },
    "values": {
      "type": "boolean",
      "description": "Print values on bars/points (pie: in the legend)."
    },
    "prefix": {
      "type": "string",
      "description": "Value prefix, e.g. \"$\"."
    },
    "suffix": {
      "type": "string",
      "description": "Value suffix, e.g. \"%\" or \"k\"."
    },
    "theme": {
      "type": "string",
      "enum": [
        "light",
        "dark"
      ],
      "description": "Default light."
    },
    "width": {
      "type": "integer",
      "minimum": 120,
      "maximum": 1600,
      "description": "Pixels. Default 600 (pie 480, sparkline 160)."
    },
    "height": {
      "type": "integer",
      "minimum": 32,
      "maximum": 1000,
      "description": "Pixels. Default 360 (pie 320, sparkline 40)."
    },
    "colors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional hex colours per series/slice, e.g. [\"2a4fdf\",\"f47230\"]. Default: Kitforge palette."
    },
    "transparent": {
      "type": "boolean",
      "description": "No background (for placing on coloured backgrounds)."
    },
    "include_svg": {
      "type": "boolean",
      "description": "Include the SVG markup in the result. Default true; set false when only the URL is needed."
    }
  },
  "additionalProperties": false
}
🟢check_credits

Show how many credits the Kitforge API key has left (shared by the Chart and Tech Stack APIs), plus recharge_url. Free.

Esquema de entrada

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada2 herramientas