io.github.zhugejun/chartone
Render themed charts as hosted URLs. Embed in markdown, emails, and Slack. Hosted MCP, zero setup.
ماذا يمكنك أن تفعل مع io.github.zhugejun/chartone؟
render_chart— render a chart from explicit type, data, theme.suggest_chart— give it data + intent ("show quarterly trends"), it picks the chart type/theme and renders.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@chartone/mcpclaude mcp add chartone -e 'CHARTONE_API_KEY=<your chartone_api_key>' -- npx -y @chartone/mcp@0.1.7
{
"mcpServers": {
"chartone": {
"command": "npx",
"args": [
"-y",
"@chartone/mcp@0.1.7"
],
"env": {
"CHARTONE_API_KEY": "<your chartone_api_key>"
}
}
}
}
متغيرات البيئة
CHARTONE_API_KEYسري Optional API key for higher quota and no watermark. Anonymous mode works without a key — charts return watermarked with a 7-day URL.
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
@chartone/mcp
Branded chart rendering for AI agents. Hosted MCP, zero setup.
ChartOne MCP gives any AI agent the ability to produce themed charts and return them as both an inline image and a persistent hosted URL — perfect for emails, Slack messages, PDFs, and dashboards.
Install
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"chartone": {
"command": "npx",
"args": ["-y", "@chartone/mcp"],
"env": {
"CHARTONE_API_KEY": "sk-..."
}
}
}
}
Restart Claude Desktop. Anonymous mode (no key) returns watermarked charts.
Cursor / Zed / Windsurf
Same config shape, in each client's MCP settings file. See docs.chartone.dev/mcp for current paths.
Hosted endpoint (beta)
For cloud agents that can't run local stdio servers:
POST https://api.chartone.dev/mcp
Authorization: Bearer sk-... (optional, anonymous returns watermark)
Content-Type: application/json
Body: { "method": "tools/list" } or { "method": "tools/call", "params": {...} }
Tools
render_chart— render a chart from explicit type, data, theme.suggest_chart— give it data + intent ("show quarterly trends"), it picks the chart type/theme and renders.
Both return an inline image plus a persistent hosted URL.
Get an API key
Sign up at chartone.dev. Free tier includes a generous render quota; paid tiers remove the watermark and extend URL lifetime.
الأسئلة الشائعة
ما هو io.github.zhugejun/chartone؟
Render themed charts as hosted URLs. Embed in markdown, emails, and Slack. Hosted MCP, zero setup.
كيف أثبّت io.github.zhugejun/chartone؟
يعمل على جهازك. في Claude Code: claude mcp add chartone -e 'CHARTONE_API_KEY=<your chartone_api_key>' -- npx -y @chartone/mcp@0.1.7. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.zhugejun/chartone إلى مفتاح API؟
نعم. يتطلب CHARTONE_API_KEY، وتضبطها في إعداداته.
هل io.github.zhugejun/chartone مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.zhugejun/chartone؟
ينشره zhugejun. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.