Kitforge Chart API

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

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
60%
命名の品質
90%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~861トークン数(ツール定義)
~3.0 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.67%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

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

リモートエンドポイント

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

できること

ツール一覧

ツール(2)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢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.

入力スキーマ

{
  "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.

入力スキーマ

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

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 2 件