Quickchart-MCP-Server
quickchart-server MCP サーバー
QuickChart.io を使用してチャートを生成するためのモデルコンテキストプロトコルサーバー
これはTypeScriptベースのMCPサーバーで、チャート生成機能を提供します。MCPツールを通じて様々な種類のチャートを作成できます。
概要
このサーバーは、QuickChart.ioのURLベースのチャート生成サービスと統合されており、Chart.jsの設定を使用してチャート画像を作成します。ユーザーはデータとスタイルパラメータを提供することで、様々なタイプのチャートを生成できます。サーバーはこれらのデータをチャートのURLまたはダウンロード可能な画像に変換します。
Related MCP server: quickchart-mcp-server
特徴
ツール
generate_chart- QuickChart.io を使用してチャートの URL を生成します複数のチャート タイプをサポート: 棒グラフ、折れ線グラフ、円グラフ、ドーナツ グラフ、レーダー グラフ、極座標グラフ、散布図、バブル グラフ、ラジアル ゲージ グラフ、速度計
ラベル、データセット、色、追加オプションでカスタマイズ可能
生成されたチャートのURLを返します
download_chart- チャート画像をローカルファイルにダウンロードするチャートの設定と出力パスをパラメータとして受け取ります
チャート画像を指定された場所に保存します
サポートされているグラフの種類
棒グラフ: カテゴリ間で値を比較します
折れ線グラフ: 時間の経過に伴う傾向を示す
円グラフ: 比例データを表示する
ドーナツグラフ: 中心が空洞になっている円グラフに似ています
レーダーチャート: 多変量データを表示する
極座標エリアチャート: 固定角度のセグメントで比例データを表示します。
散布図: データポイントの分布を示す
バブルチャート: 3次元のデータ視覚化
ラジアルゲージ: 範囲内の単一の値を表示する
スピードメーター: スピードメーター形式の値表示
使用法
チャート設定
サーバーはChart.jsの設定形式を使用します。基本的な例を以下に示します。
{
"type": "bar",
"data": {
"labels": ["January", "February", "March"],
"datasets": [{
"label": "Sales",
"data": [65, 59, 80],
"backgroundColor": "rgb(75, 192, 192)"
}]
},
"options": {
"title": {
"display": true,
"text": "Monthly Sales"
}
}
}URL生成
サーバーは設定を QuickChart URL に変換します。
https://quickchart.io/chart?c={...encoded configuration...}発達
依存関係をインストールします:
npm installサーバーを構築します。
npm run buildインストール
インストール
npm install @gongrzhe/quickchart-mcp-serverSmithery経由でインストール
Smithery経由で Claude Desktop 用の QuickChart Server を自動的にインストールするには:
npx -y @smithery/cli install @gongrzhe/quickchart-mcp-server --client claudeClaude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"quickchart-server": {
"command": "node",
"args": ["/path/to/quickchart-server/build/index.js"]
}
}
}または
{
"mcpServers": {
"quickchart-server": {
"command": "npx",
"args": [
"-y",
"@gongrzhe/quickchart-mcp-server"
]
}
}
}ドキュメント参照
📜 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
Available Tools
2 toolsdownload_chartC
Download a chart image to a local file
Inputs: config (required), outputPath.
generate_chartC
Generate a chart using QuickChart
Inputs: type (required), datasets (required), labels, title, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: 'download_chart' focuses on saving a chart image to a file, while 'generate_chart' focuses on creating the chart itself. There is no overlap or ambiguity between these operations.
Both tool names follow a consistent verb_noun pattern ('download_chart' and 'generate_chart'), using snake_case and clear action verbs. This makes them predictable and easy to understand.
With only two tools, the server feels under-scoped for a chart generation domain. It lacks essential operations like updating, deleting, or listing charts, which limits its utility and completeness.
The tool set is severely incomplete for chart generation. It covers creation and downloading but misses critical operations such as updating chart data, deleting charts, or retrieving existing charts, leaving significant gaps in the workflow.
Related MCP Connectors
Chartbrew connects your data to dashboards. Explore data and create chart previews through MCP.
An MCP server giving access to Grafana dashboards, data and more.
Educational MCP server with 17 math/stats tools, visualizations, and persistent workspace
An MCP server that automatically collects feedback on your MCP server.
Related MCP Servers
- TypeScriptMIT
- AlicenseAqualityDmaintenanceThis Model Context Protocol (MCP) server provides powerful visualization tools using QuickChart.io APIs. With this MCP, AI assistants can create charts, diagrams, barcodes, QR codes, word clouds, tables, and more.1281 npm2MIT
- AlicenseAqualityDmaintenanceA MCP server for data visualization. It exposes tools to render charts (line, bar, pie, scatter, heatmap, etc.) from data and returns plots as either image/text/mermaid diagram.24MIT
- AlicenseCqualityDmaintenanceA server based on Model Context Protocol (MCP), providing a standardized interface for interacting with Quick Chart and supporting chart generation and management.12Apache 2.0