# Divctor Simple SVG Charts API. One HTTP request. Zero dependencies. ## Quick Start Example Generate a bar chart: GET https://api.divct.workers.dev/chart?type=bar&data=30,50,40&labels=A,B,C&apikey=YOUR_KEY Response: SVG image (application/svg+xml) ## Authentication - API Key: Pass as `apikey` parameter or `Authorization: Bearer YOUR_KEY` ## Common Use Cases 1. Server-side PDFs: Generate reports and invoices without heavy rendering libraries. 2. Static Sites: Add dynamic charts to Jekyll, Hugo, or WordPress via tags. 3. Documentation: Visualize metrics in GitHub READMEs and technical wikis. ## Rate Limits - Free plan: 2,500 points/month - Beta plan: 7,000 points/day - 1 point = 1 data point ## MCP Server AI assistants with MCP support can draw charts, flowcharts and QR codes: https://divctor-mcp.divct.workers.dev/mcp (Streamable HTTP). Tools: generate_chart, generate_graph, generate_qr, list_chart_types. No API key needed; anonymous use is free with no points deducted and generated charts carry the Divctor watermark. Limit: 30 requests/minute per IP. Callers can optionally pass their own Divctor API key as the api_key argument of generate_chart or generate_graph to use their own quota under their plan's rules. - [MCP docs](https://docs.divct.workers.dev/docs/mcp) ## Docs - [Chart API](https://docs.divct.workers.dev/docs/chart-api) - [Authentication](https://docs.divct.workers.dev/docs/authentication) - [Graph API](https://docs.divct.workers.dev/docs/graph-api) - [Errors](https://docs.divct.workers.dev/docs/errors) ## Links - [Home](https://www.divct.workers.dev) - [QR Generator](https://qr.divct.workers.dev)