Skip to main content

AI Chart Toolkit (ai-chart-toolkit)

Universal visual diagram and blueprint chart generator engineered for AI agents, local LLMs, and cloud APIs.

Generates high-resolution 16:9 images (1672 × 941) with blueprint grid styling, anti-aliased geometry, and dynamic typography.

Free for everyone to use, modify, and build upon.


Supported Chart Types

  1. Dynamic Flowcharts: Multi-stage pipelines, semantic block categories (input, ai_model, tool, data_store, output), and connector arrows.
  2. Hierarchy Architecture Trees: Recursive multi-tier system tree maps with parent-child links.
  3. Precision Donut Charts: Radial proportional distribution with large center KPI metrics (e.g., "$12.4k", "94%").
  4. Solid Pie Charts: Proportional slices and automated legend percentage cards.
  5. Concentric Activity Rings: Multi-tier telemetry progress rings (0–100%) with rounded caps.
  6. Precision Radial Gauges: 240-degree dial gauge with threshold zones, status needle, and unit readout.

Installation

Install directly via PyPI:

pip install ai-chart-toolkit

Or clone from GitHub:

git clone https://github.com/Prathvi321/Ai-Chart-Toolkit.git
cd Ai-Chart-Toolkit
pip install -e .

4 Ways to Use This Tool

1. Terminal / CLI for Autonomous Agents

ai-chart '{"chart_type": "gauge", "title": "GPU Temperature", "value": 67.5, "unit": "°C"}'

2. Native MCP Tool (Model Context Protocol)

Run the built-in MCP server for Claude Desktop, Cursor, or Antigravity:

ai-chart-mcp

Configuration in claude_desktop_config.json:

{
  "mcpServers": {
    "ai-chart": {
      "command": "ai-chart-mcp"
    }
  }
}

3. Local REST API Server

ai-chart-api

Send requests:

curl -X POST http://localhost:8000/render \
  -H "Content-Type: application/json" \
  -d '{"chart_type": "donut", "title": "Memory", "center_text": "16 GB", "data": [{"label": "Used", "value": 70}, {"label": "Free", "value": 30}]}'

4. Direct Python Import

from ai_chart_toolkit import execute_chart_tool

res = execute_chart_tool("rings", {
    "title": "Node Health",
    "metrics": [
        {"label": "CPU", "pct": 74},
        {"label": "RAM", "pct": 58}
    ]
})
print("Saved to:", res["output_path"])

Agent Skill File (SKILL.md)

This repository includes a standard SKILL.md compliant with Antigravity, Claude Code, and OpenAI Codex agent specifications. Agents automatically detect this file and understand when and how to generate diagrams.

Metadata

Release files for ai-chart-toolkit 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-chart-toolkit 1.0.1
File Size Uploaded Provenance Actions
ai_chart_toolkit-1.0.1.tar.gz 6.2 MB Without provenance Details for ai_chart_toolkit-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-chart-toolkit 1.0.1
File Interpreter ABI Platform Actions
ai_chart_toolkit-1.0.1-py3-none-any.whl Python 3 none any Details for ai_chart_toolkit-1.0.1-py3-none-any.whl

Total release size: 6.6 MB

Release files / ai_chart_toolkit-1.0.1.tar.gz

Download URL ai_chart_toolkit-1.0.1.tar.gz
Size 6.2 MB
Tags Source
SHA-256 checksum
How to use checksums
1f0cd31dd8e7425e20c1cac52ca94c516b3dfe8351b883fbba199bc93f3c710f
BLAKE2b-256 checksum
How to use checksums
820a4161e3d5bfba148bcc48477cb370d8237f8a078c045ea0b111af2bc7ef9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / ai_chart_toolkit-1.0.1-py3-none-any.whl

Download URL ai_chart_toolkit-1.0.1-py3-none-any.whl
Size 453.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2128d1273e1ed4b2bb05ea57f07ff47f64d18e22953fbf61d38420972399735
BLAKE2b-256 checksum
How to use checksums
82d1351e520f7fa2225aa23096fc9b7320b668159057015444838b6d5d59c315
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Security for ai-chart-toolkit 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page