Pie Chart Generator
Render pie, donut, and bar charts as SVG URLs or parse messy text and tables into chart slices.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 parse_messy_data_to_chart 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"pie-chart-generator": {
"url": "https://www.pie-chart-generator.com/api/mcp"
}
}
}遠端端點
https://www.pie-chart-generator.com/api/mcpstreamable-http它能做什麼
工具清單
工具(2)
🟢render_chart(title, chart_type, data)
Calculate exact slice percentages and angles in degrees from category values, generate an executive slide takeaway, and return a live embeddable SVG chart image URL plus an interactive editor link on pie-chart-generator.com (where the user can customize colors or export PNG, SVG, PDF, or an editable 16:9 PowerPoint .pptx slide).
輸入結構描述
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Chart title, e.g. \"Q3 Revenue by Segment\""
},
"chart_type": {
"type": "string",
"enum": [
"pie",
"doughnut",
"bar"
],
"default": "pie",
"description": "Chart type to render"
},
"data": {
"type": "array",
"description": "Categories and numeric values (2 to 16 items)",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"value": {
"type": "number"
},
"color": {
"type": "string",
"description": "Optional hex color, e.g. #E85D44"
}
},
"required": [
"label",
"value"
]
}
}
},
"required": [
"data"
]
}🟢parse_messy_data_to_chart(raw_text, title, chart_type)
Extract clean categories and numbers from messy text, Slack/email notes ($142.5k, $1.4M), Excel/Markdown tables (auto-stripping headers and Total rows), or tally raw categorical survey responses, returning exact percentages, degrees, and live chart URLs.
輸入結構描述
{
"type": "object",
"properties": {
"raw_text": {
"type": "string",
"description": "Raw pasted spreadsheet text, paragraph with numbers, or newline-separated survey responses"
},
"title": {
"type": "string",
"description": "Optional chart title override"
},
"chart_type": {
"type": "string",
"enum": [
"pie",
"doughnut",
"bar"
],
"default": "pie"
}
},
"required": [
"raw_text"
]
}社群
證據